[vc_row][vc_column width=”1/1″][vc_tour][vc_tab title=”Sensors description” tab_id=”1393409555-1-65″][vc_column_text]A potentiometer is a manually adjustable electrical resistor that uses three terminals. In many electrical devices, potentiometers are what establish the levels of output. For example, in a loudspeaker, a potentiometer is used to adjust the volume. In a television set, computer monitor or light dimmer, it can be used to control the brightness of the screen or light bulb.
Potentiometers, sometimes called pots, are relatively simple devices. One terminal of the potentiometer is connected to a power source, and another is hooked up to a ground — a point with no voltage or resistance and which serves as a neutral reference point. The third terminal slides across a strip of resistive material. This resistive strip generally has a low resistance at one end, and its resistance gradually increases to a maximum resistance at the other end. The third terminal serves as the connection between the power source and ground, and it usually is operated by the user through the use of a knob or lever.
[/vc_column_text][/vc_tab][vc_tab title=”Preparation” tab_id=”1393409555-2-2″][vc_column_text]one Arduino UNO ,one Potentiometer module, one D port usb wire[/vc_column_text][/vc_tab][vc_tab title=”Circuit connection as shown below” tab_id=”1393409715665-2-5″][vc_column_text][/vc_column_text][/vc_tab][vc_tab title=”Note” tab_id=”1393409796265-3-10″][vc_column_text]The pins above the potentiometer module above are D1, D2, VCC, GND, D2 is the NC, not connected, VCC is connected to Arduino 5V, GND connected to Arduinoon GND, D1 connected to Arduino A0.[/vc_column_text][/vc_tab][vc_tab title=”Arduino code” tab_id=”1393409857158-4-10″][vc_column_text]
sensorPin = A0;
sensorValue = analogRead(sensorPin);
[/vc_column_text][/vc_tab][vc_tab title=”Summary” tab_id=”1393409892566-5-4″][vc_column_text]LED lamp regulation 13 feet through the knob potentiometer flashing speed, so as to control the brightness of the LED lamp. Potentiometer is quite common in everyday life,used LCD1602 screen people must know the role in the 1602 module potentiometer is regulating module display contrast.[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row][vc_row][vc_column width=”1/1″][/vc_column][/vc_row]