CAR TRAVIGATOR BLINKING
Beginner Guide

CAR TRAVIGATOR BLINKING

inventory_2 REQUIRED KIT: STEMAIDE Coder-Kit
schedule 10-20 MINS

Objective

This project teaches how to program an LED to turn on and off within a time interval (Blink) without a human being having to turn on and off the switch.

Components (Things You will need)

Building the circuit

Things Needed:

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

Mounting the component on the breadboard

Step 1: Take the breadboard, the Red LED and insert it into the vertical connectors on the 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 one end of red male-to-male jumper wire to the positive pin of the Red LED on the breadboard and the other end to hole number 6 on the Arduino UNO.

 

Step 3: Connect one end of the blue male-to-male jumper to the negative pin of the white LED on the breadboard and the other end to GND on the Arduino UNO. ANd connect the resistor to the negative pin of the led on the breadboard.

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

 

PROGRAMMING

Step 1: Open your Arduino IDE. 

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. 

Step 5: Select the Arduino board and port.

Step 6: Upload your code. 

CONCLUSION

To sum up, the one LED blink project demonstrates a foundational concept in electronics and programming. Through this simple yet illuminating endeavor, learners grasp the essentials of hardware interfacing, coding logic, and timing control. This project lays the groundwork for more advanced explorations while showcasing the transformative power of just a single LED, sparking curiosity and creativity in the world of DIY electronics.