That's all you have to do. Now let's check what changes have come.
Now lets program nodeMCU with a basic example program Blink. Go to File > Examples > Basic > Blink
Now Go to Tools > Boards: and select NodeMCU
After selecting the board go to Port and select the right communication port. Hit the Upload button.
The upload may take a few seconds and after that, you will find a screen like this stating that uploading is done. During the upload the led near pin D0 might blink several times but after the uploading is complete the led will keep glowing for 1 sec and staying off for 1 second.
NodeMCU is an open-source IoT platform. It includes firmware that runs on the ESP8266 Wi-Fi system on a chip(SoC) from Espressif Systems and hardware which is based on the ESP-12 module. The term "NodeMCU" by default refers to the firmware rather than the development kits. The firmware uses the Lua scripting language. It is based on the eLua project and built on the Espressif Non-OS SDK for ESP8266.
In simple words, NodeMCU is a WiFi-enabled microcontroller. It has a micro USB connector so it could be connected to any computer using data cable. The only thing that you must remember that it is a 3.3V logic level device. It means you will get a 3.3V digital high signal and giving more than 3.3V signal is not safe for the controller, however, the input voltage can vary from 5 to 12V.
NodeMCU Pinout contains 9 Digital pins, 1 Analog Pins, 1 Reset Pins & 4 Power Pins. Although some pins are very difficult to use sometimes. Let's have a look at the pinout.
D0 - D8 are Digital Pins
A0 is the only analog pin
The Micro USB port makes it very easy to connect with PC. Node MCU can be programmed using Arduino IDE but when we program it with Arduino IDE the original Lua firmware gets overwritten or in other words lost.
a
In our next blog, we will discuss the programming process of the NodeMCU.
Pumps are devices that use energy to raise, transport, or compress fluids. Pumps are divided into two main categories, Positive Displacement Pumps and Dynamic Pumps. They also have many types.
Positive Displacement Pump: Pumps in which displacement is accomplished mechanically are called positive displacement pumps. There are many types of Displacement Pumps. a. Diaphragm pumps b. Gear pumps c. Peristaltic pumps d. Cam pumps e. Piston pumps
Dynamic Pump: Kinetic pumps impart kinetic energy to the fluid using a rapidly rotating impeller. There are many types of Dynamic Pumps. a. Centrifugal pumps b. Vertical Pumps
All these types of pumps have their specific pumping fluid nature (i.e. viscosity, density), fluid pressure, and flow rate. Hence their application is also different.
Depending upon the installation locations pumps are of two types, pumps that are installed on the surface and pumps that are submerged under fluid.
Surface Pumps: Surface water pumps A surface water pump helps in pumping out water from a water body, like a well, or a river, and transports it to different destinations.
Submersible Pumps: A submersible pump, also known as an electrical submersible pump, is a water pump that is completely submerged in the water and can be used for a variety of applications. The electric motor used in the process is hermetically sealed and also close-coupled to the pump. One of the major advantages of a submersible pump is that it does not require priming because it has already been submerged in the liquid.
Solar Pumping Systems are nowadays very common. SPV modules are used to run pumps to get water. Depending on These systems come in two types. one with Submersible pumps and one with surface pumps.
Most of the time pumps run with AC power. On the other hand, SPV modules provide us with DC. To integrate them together one VFD-based pump controller is used. Sometimes these controller comes with AC power input terminals, and they can be run using AC Power at night also. They also can be equipped with a float switch so that the pump can be turned on and off depending on the water level of the reserver, tank or borewell.
Variable Frequency Drive: A variable-frequency drive (VFD) is a type of motor drive used in electro-mechanical drive systems to control AC motor speed and torque by varying motor input frequency and, depending on the topology, to control associated voltage or current variation.
There are mainly two types of applications for solar pumping systems.
Solar Pumping for Irrigation where is taken from a borewell by a submersible pump or from a river, lake or pond-like waterbody by a surface pump and used for irrigation.
Solar Pumping System for Drinking Water Project. Where a submersible pump is used to pump groundwater and store it in a tank. Then after filtering the water, it can be used locally. Or using a surface pump it can be pumped to water distribution networks.
Protective Relays: In electrical engineering, a protective relay is a relay device designed to trip a circuit breaker when a fault is detected. The first protective relays were electromagnetic devices, relying on coils operating on moving parts to provide detection of abnormal operating conditions such as over-current, overvoltage, reverse power flow, over-frequency, and under-frequency. Microprocessor-based digital protection relays now emulate the original devices, as well as providing types of protection and supervision impractical with electromechanical relays. Electromechanical relays provide only a rudimentary indication of the location and origin of a fault. In many cases, a single microprocessor relay provides functions that would take two or more electromechanical devices. By combining several functions in one case, numerical relays also save capital cost and maintenance cost over electromechanical relays.
Types according to construction
1. Electromechanical Relay: Electromechanical relays can be classified into several different types as follows: a. Attracted Armature b. Moving Coil c. Induction d. Motor Operated e. Mechanical f. Thermal
2. Induction disc overcurrent Relay: Magnetic system in induction disc overcurrent relays is designed to detect over-currents in a power system and operate with a pre-determined time delay when certain overcurrent limits have been reached. In order to operate, the magnetic system in the relays produces a torque that acts on a metal disc to make contact. "Induction" disk meters work by inducing currents in a disk that is free to rotate; the rotary motion of the disk operates a contact. Induction relays require alternating current; if two or more coils are used, they must be at the same frequency otherwise no net operating force is produced. These electromagnetic relays use the induction principle discovered by Galileo Ferraris in the late 19th century.
3. Static Relay: The application of electronic amplifiers to protective relays was described as early as 1928, using vacuum tube amplifiers, and continued up to 1956. Devices using electron tubes were studied but never applied as commercial products, because of the limitations of vacuum tube amplifiers. A relatively large standby current is required to maintain the tube filament temperature; inconvenient high voltages are required for the circuits, and vacuum tube amplifiers had difficulty with incorrect operation due to noise disturbances. Static relays have no or few moving parts and became practical with the introduction of the transistor. Measuring elements of static relays have been successfully and economically built up from diodes, Zener diodes, avalanche diodes, unijunction transistors, p-n-p, and n-p-n bipolar transistors, field-effect transistors, or their combinations. Static relays offer the advantage of higher sensitivity than purely electromechanical relays because the power to operate output contacts is derived from a separate supply, not from the signal circuits. Static relays eliminated or reduced contact bounce, and could provide fast operation, long life, and low maintenance.
4. Digital Relay: Digital protective relays were in their infancy during the late 1960s. An experimental digital protection system was tested in the lab and in the field in the early 1970s. Unlike the relays mentioned above, digital protective relays have two main parts: hardware and software. The world's first commercially available digital protective relay was introduced to the power industry in 1984 by Schweitzer Engineering Laboratories (SEL) based in Pullman, Washington. In spite of the developments of complex algorithms for implementing protection functions, the microprocessor-based-relays marketed in the 1980s did not incorporate them. A microprocessor-based digital protection relay can replace the functions of many discrete electromechanical instruments. These relays convert voltage and currents to digital form and process the resulting measurements using a microprocessor. The digital relay can emulate functions of many discrete electromechanical relays in one device, simplifying protection design and maintenance. Each digital relay can run self-test routines to confirm its readiness and alarm if a fault is detected. Digital relays can also provide functions such as communications (SCADA) interface, monitoring of contact inputs, metering, waveform analysis, and other useful features. Digital relays can, for example, store multiple sets of protection parameters, which allows the behavior of the relay to be changed during the maintenance of attached equipment. Digital relays also can provide protection strategies impossible to implement with electromechanical relays. This is particularly so in long-distance high voltage or multi-terminal circuits or in lines that are series or shunt compensated. They also offer benefits in self-testing and communication to supervisory control systems.
5. Numerical Relay: The distinction between digital and numerical protection relay rests on points of fine technical detail, and is rarely found in areas other than Protection. Numerical relays are the product of the advances in technology from digital relays. Generally, there are several different types of numerical protection relays. Each type, however, shares a similar architecture, thus enabling designers to build an entire system solution that is based on a relatively small number of flexible components. They use high-speed processors executing appropriate algorithms. Most numerical relays are also multifunctional and have multiple setting groups each often with tens or hundreds of settings.
MCCB: Molded Case Circuit Breaker is a type of electrical protection device which is used when the load current exceeds the limit of a miniature circuit breaker. The MCCB provides protection against overload, short circuit faults and is also used for switching circuits. It can be used for higher current rating and fault levels even in domestic applications. The wide current ratings and high breaking capacity in MCCB find their use in industrial applications. MCCB can be used for the protection of capacitor bank, generator protection, and main electric feeder distribution. It offers adequate protection whenever an application requires discrimination, adjustable overload setting, or earth fault protection.
MCB: Miniature Circuit Breaker automatically switches OFF electrical circuit during any abnormal condition in the electrical network such as overload & short circuit conditions. However, the fuse may sense these conditions but it has to be replaced through MCB can be reset. The MCB is an electromechanical device that guards the electric wires &electrical load against overcurrent so as to avoid any kind of fire or electrical hazards. Handling MCB is quite safer and it quickly restores the supply. When it comes to house applications, MCB is the most preferred choice for overload and short circuit protection. MCB can be reset very fast & doesn’t have any maintenance cost. MCB works on a bi-metal respective principle which provides protection against overload current & solenoid short circuit current.
Types of MCB: It is important to know about the types of MCB trip curves to decide what type to use for different appliances for the correct electrical system. This is the selection chart or the criteria to make a call on one of the MCBs. But before that, it is vital to understand what a trip curve means. Trip curves are essentially nothing but the maximum current that a particular MCB can withstand. Once the ideal current loading is breached, the circuit automatically cuts off.
There are about six different types of MCB, which are A, B, C, D, K, and Z. Firstly, a. Type A, trips off the circuit when the current exceeds 2-3 times the actual current rating. Since this type is highly sensitive to short circuits, it is better suited for semiconductor devices. b. Type B, which trips off when the current flow is 3-5 times the actual flow and finds a use for cable protection. c. The best-suited type of MCB for domestic appliances, where the current load is medium, type C. Type C MCB trips off when the flow of current is 5-10 times more than normal. d. Type D MCB has a high resistance as they can withstand up to 10-20 times the current rate. If you are looking for circuit breakers for devices with a high starting current load like a motor, then type D is the ideal choice. e. The type K MCB withstands up to 8-12 times the initial charge and thus can be used for bulky load devices.
RCCB: Residual Current Circuit Breaker is basically an electrical wiring device that disconnects the circuit whenever there is leakage of current flow through the Human body or the current is not balanced between the phase conductors. It is the safest device to detect and trip against electrical leakage currents, thus ensuring protection against electric shock caused by direct contacts. RCCB is generally used in series with an MCB which protects them from over current and short circuit current. Both phase and neutral wires are connected through an RCCB device. These are an extremely effective form of shock protection & widely used for protection from a leakage current of 30,100 & 300mA. It is essential lifesaving equipment used to protect the human body from electrical and is mandatory in many states for domestic installation.
ELCB: Earth Leakage Circuit Breaker has the same function as RCCB but is a voltage sensor devise. However, this is an old technology & is not in common use. RCCB being a current sensitive device has a better advantage over ELCB.
Contractor: Contractors are electrically controlled switches (relays) used for switching an electrical power circuit. A contactor is typically controlled by a circuit that has a much lower power level than the switched circuit, such as a 24-volt coil electromagnet controlling a 220-volt motor switch.
A pyranometer is a type of actinometer used for measuring solar irradiance on a planar surface and it is designed to measure the solar radiation flux density (W/m2) from the hemisphere above within a wavelength range of 400 nm to 1000 nm(range may vary upon application).
Types of Pyranometer: Pyranometers can be recognized and grouped into two different technologies: Thermopile Technology and Silicon Semiconductor Technology.
Thermopile Pyranometers: It has a thermopile detector (a device that converts thermal energy into electrical energy) with strongly light-absorbing black paint that equally consumes all sun radiation. This creates a temperature difference between the black surface of the sensors and the body of the instrument and results in a small voltage at the sensor that can be measured and translated into W/m2. Thermopile pyranometers follow the ISO 9060 standard, also adopted by the World Meteorological Organization (WMO). This standard discriminates between three classes. The latest version of ISO 9060, from 2018 uses the following classification: Class A for the best performing, followed by Class B and Class C, while the older ISO 9060 standard from 1990 used ambiguous terms such as "secondary standard", "first-class", and "second-class".
Semiconductor Pyranometers: A semiconductor or silicon pyranometer uses a photodiode (a device that converts light into current) to create an electrical signal from the incoming solar radiation. It can detect the portion of the solar spectrum between 400 nm and 1100 nm.
The device measures radiation from the sun and the sky on a horizontal surface. When exposed to radiation, the silicon cell produces a voltage, and the current output is proportional to the radiation energy received.
Now, this signal is sent to a device that converts this signal to a human-readable format. This device can be a data logger or a display unit.