|
Named after muhammad al-khorezmi tashkent university of information technologies fergana branchBog'liq m12RGB diodes: Basically, RGB diodes are three monochrome crystals combined in one part. The name RGB corresponds to the colors emitted by each of the crystals: red, green, blue.
These three colors are formed from a mixture of primary and any color, such technologies have long been used in television and photography.
In this picture you can see the principle of color mixing for all colors.
Crystals in RGB LEDs can be connected according to the scheme:
- with a common anode;
- with a common cathode;
-not connected.
In the first two options, you will know that the LED has 4 pins:
Pic. 2.2.2 RGB diode lamps.
RGB-LED-lines allow you to create interesting lighting effects in interior design as lighting for interior furniture for the effect of expanding your TV screen. There is no difference in working with them from ordinary LEDs [55].
Pic 2.2.3 RGB diods connecting scheme
LCD screen: LCD modules are widely used in many embedded projects due to their low cost, availability, and ease of use for programmers. Most of us have seen these displays in our daily lives, either on a PCO or a calculator. The appearance and buttons have already been created visually above, now we will get a little more technical.
Pic. 2.2.4. LCD screen display.
LCD displays are the most common, with monochrome displays capable of displaying two lines of 16 characters each (16 × 2) and displays capable of displaying four lines of 20 characters each (20 × 4). Here we see the basics of connecting a 16×2 lcd display to an Arduino. After that, we connect the button to the Arduino to display the sensor data. Simple sketches are given in sequence, we consider each sketch [29].
Pic. 2.2.5. The diagram of connecting the LCD screen to the platform.
Wi-Fi: The Wi-Fi sensor is also known as ESP-01. ESP-01 is a WiFi module board based on the popular ESP8266EX chipset. On board there is a 2 MB Flash-memory chip, an ESP8266EX chip, a quartz resonator, two indicator LEDs and a miniature antenna from the track on the top layer of the printed circuit board in the form of a snake. Flash memory is required to store the program. Every time the power is turned on, the program is automatically loaded into the ESP8266EX chip. You will need a UART-USB adapter to update the module. The ESP-01 module is widely available for use in IoT (Internet of Things) devices.
Pic. 2.2.6. ESP-01 module.
Consider AT-Commands mode. To do this, connect the module to a computer via a USB-UART adapter[60]. Specifying module output
VCC is +3.3V
GND - Ground
RX, TX - UART pins
GPIO0, GPIO2 - digital communication
Pic. 2.2.7. Connection diagram.
|
| |