Connecting the other components
Užbaigimo reikalavimai
Connecting the other components
Now we connect the LDR photoresistor and the LED to the Arduino Uno board according to the following scheme:
|
LDR photoresistor |
Arduino Uno |
|
Terminal 1 |
+ 5v |
|
Terminal 2 |
A0 |
|
Terminal 2 |
GND (through 4.7kΩ resistor) |
|
5mm white LED. |
Arduino Uno |
|
Long terminal |
Pin 3 |
|
Short terminal |
GND (through 4.7kΩ resistor) |
Wiring scheme:
