News

#define ledPin 7 #define Sensor A0. We set the pins to take input from the Sensor and the output from the Arduino to drive the LED and Buzzer via Arduino's pin 7. { pinMode(sensor, INPUT); ...
Working of LDR controlled LED using Arduino. As per the circuit diagram, we have made a voltage divider circuit using LDR and 100k resistor. The voltage divider output is feed to the analog pin of the ...
The increased number of input and output pins — 54 digital I/O pins and 16 analog inputs — offers unprecedented flexibility in connecting various sensors and actuators, making the Arduino Mega 2560 a ...
Now let us assemble all the components and make a switching circuit. A touch sensor is a touch-sensitive module which has 3 input/output pins. Power up this module by connecting the Vcc pin and ground ...
Circuit Description. The Circuit diagram of smart whistle counter is shown in figure-1, It is based on Arduino Mega 2560 board. LM393 based sound sensor module is used for detection of sound of ...
Arduino Motion Sensor – Circuit and Working The circuit diagram of the automation device using a motion sensor is shown in Fig. 2. It consists of an Arduino Nano board (MOD1), a PIR sensor (S1), a ...