Skip to content

Project 1.1.2: CAR TRAVIGATOR BLINKING

Description This project shows how to make an LED turn on and off repeatedly using an Arduino Uno. It introduces the basic idea of blinking lights with time control.
Use case Blinking LEDs can be used in simple signal systems, such as car indicators, warning lights, and smart lighting systems.

Components (Things You will need)

LED Arduino Uno Arduino USB Cable Breadboard Jumper Wires ! Resistor

Building the circuit

Things Needed:

  • Arduino Uno = 1
  • Arduino USB cable = 1
  • Red LED = 1
  • Red jumper wires = 1
  • Blue jumper wires = 1
  • 220Ω Resistor

Mounting the component on the breadboard

Step 1: Place the LED on the breadboard. The longer leg is the positive pin, while the shorter leg is the negative pin.

LED fixed on breadboard.

NB: Make sure you identify where the positive pin (+) and the negative pin (-) is connected to on the breadboard. The longer pin of the LED is the positive pin and the shorter one, the negative PIN.

WIRING THE CIRCUIT

Things Needed:

  • Red male-male-to-male jumper wires = 1
  • Blue male-to-male jumper wires = 1

Step 2: Connect the positive leg of the LED to pin 6 on the Arduino through a 220Ω resistor.

LED fixed on breadboard

Step 3: Connect the LED's negative leg to GND on the Arduino using a jumper wire.

LED fixed on breadboard.

make sure you connect the arduino usb blue cable to the Arduino board.

PROGRAMMING

Step 1: Open your Arduino IDE. See how to set up here: Getting Started.

Step 2: Type pinMode (6, OUTPUT); in the void Setup() function.

Pinmode decalration.

Step 3: Type the following codes in the void loop function as shown below;

digitalWrite (6, HIGH); delay (1000); digitalWrite (6, LOW); delay (1000); LED fixed on breadboard.

Step 4: Save your code. See the Getting Started section

Step 5: Select the arduino board and port See the Getting Started section:Selecting Arduino Board Type and Uploading your code.

Step 6: Upload your code. See the Getting Started section:Selecting Arduino Board Type and Uploading your code

OBSERVATION

LED fixed on breadboard. LED fixed on breadboard.

CONCLUSION

This project helps learners understand how to control an LED using timing in Arduino programming. It is a simple introduction to blinking lights, signal systems, and basic automation.