0% found this document useful (0 votes)
5 views

Arduino_Beginner_Projects

The document outlines three beginner Arduino projects using Tinkercad Code Blocks: a Traffic Light System with three LEDs, a Button-Controlled LED, and a Buzzer Alarm. Each project includes objectives, components, connections, and step-by-step code block instructions for simulation. The projects aim to teach users about controlling LEDs, buttons, and buzzers while learning the basics of Arduino and circuits.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Arduino_Beginner_Projects

The document outlines three beginner Arduino projects using Tinkercad Code Blocks: a Traffic Light System with three LEDs, a Button-Controlled LED, and a Buzzer Alarm. Each project includes objectives, components, connections, and step-by-step code block instructions for simulation. The projects aim to teach users about controlling LEDs, buttons, and buzzers while learning the basics of Arduino and circuits.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Arduino Uno Beginner Projects (Tinkercad Code Blocks)

Project 1: Traffic Light System


Objective:
Simulate a traffic light using three LEDs (Red, Yellow, Green).

Components:
- Arduino Uno
- Red, Yellow, and Green LEDs
- Three 220 Ohm resistors
- Jumper wires

Connections:
- Red LED (+) -> Resistor -> Pin 8
- Yellow LED (+) -> Resistor -> Pin 9
- Green LED (+) -> Resistor -> Pin 10
- All LED (-) legs -> GND

Code Blocks Steps:


1. Set Pins: Use three 'Set Pin' blocks to set Pins 8, 9, and 10 as OUTPUT.
2. Repeat Forever Loop:
- Turn ON Red LED (Pin 8) -> Wait 3 sec -> Turn OFF.
- Turn ON Yellow LED (Pin 9) -> Wait 1 sec -> Turn OFF.
- Turn ON Green LED (Pin 10) -> Wait 3 sec -> Turn OFF.
3. Start Simulation -> The LEDs will behave like a real traffic light!

Project 2: Button-Controlled LED


Objective:
Turn an LED ON when a button is pressed, OFF when released.

Components:
- Arduino Uno
- LED
- 220 Ohm resistor
- Push button
- Jumper wires

Connections:
- LED (+) -> Resistor -> Pin 13
- LED (-) -> GND
- One side of Button -> Pin 2
- Other side of Button -> GND

Code Blocks Steps:


1. Set Pin 13 as OUTPUT (for LED).
2. Set Pin 2 as INPUT (for Button).
3. Repeat Forever Loop:
- If Button (Pin 2) is Pressed -> Turn ON LED (Pin 13).
- Else -> Turn OFF LED.
4. Start Simulation -> Click the button in Tinkercad, and the LED should turn ON/OFF!

Project 3: Buzzer Alarm


Objective:
Make a buzzer beep continuously like an alarm system.

Components:
- Arduino Uno
- Buzzer
- Jumper wires

Connections:
- Buzzer (+) -> Pin 9
- Buzzer (-) -> GND

Code Blocks Steps:


1. Set Pin 9 as OUTPUT (for the buzzer).
2. Repeat Forever Loop:
- Turn ON Buzzer (Pin 9) -> Wait 1 sec.
- Turn OFF Buzzer -> Wait 1 sec.
3. Start Simulation -> The buzzer will beep every second!

What Did We Learn?


- How to use Tinkercad Code Blocks (No coding needed!).
- How to control LEDs, buttons, and buzzers.
- Basics of Arduino and circuits.

You might also like