Piezo Buzzer

Assembling the Piezo Buzzer   Long Leg is positive and connect to pin number 3. Short Leg is negative and connect to GND. www.mcp.ac.th/blockly void setup() { pinMode(3, OUTPUT); } void loop() { tone(3,100); delay(1000); noTone(3); delay(1000); } Super Mario Use digital pin number 3. Happy Birthday Use digital pin number 9 Jingle Bells Use…

Ultrasonic Sensor with Servo Motor

Assembling the Ultrasonic and Servo Motor   Step 1:  Attach the ultrasonic sensor to your breadboard. Step 2:  Connect the 5 volts of Servo motor to the VCC of Ultrasonic sensor Step 3:  Connect the VCC of ultrasonic to 5 volts of the Arduino Uno Step 4:  Connect the GND of Servo motor to the…