In this short, I've used a Mercury tilt sensor and an Arduino Uno R4 WiFi to control the LED status. Connections:
LED (cathode): Pin13 of Arduino
LED (anode): Gnd of Arduino
Sensor's signal pin: D2 of Arduino
5V pin of sensor: 5V pin of Arduino
Gnd pin of sensor: Gnd pin of Arduino
Watch video Using UNO R4 with Mercury Sensor online without registration, duration hours minute second in high quality. This video was added by user THE ELECTRONIC GUY 28 June 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,122 once and liked it 161 people.