Course Introduction
Windows (PC, laptop)
Mac (Apple only)
Lesson #1: Getting Started - Blinking LED
Lesson #2: Button with LED
Lesson #3: Potentiometer with LEDs
Lesson #4: Potentiometer with Servo
Lesson #5: 16x2 LCD display
Lesson #6: Password lock - 16x2 LCD Display with keypad
Lesson #7: DHT11 Temperature Sensor
Lesson #8: Binary Counting
Lesson #9: Scrolling LED
Lesson #10: Parking with 7-segment display
Lesson #11: Christmas Tree with LEDs
Lesson #12: RGB-LED with Potentiometers
Lesson #13: StepperMotor Control
Lesson #14: Steppermotor SpeedControl
Lesson #15: Motor Wheels
Lesson #16: Motion detection with 16x2 LCD Display
Lesson #17: Tone keyboard
Lesson #18: LED Dice
Lesson #19: Traffic light
Lesson #20: Keypad with 4 LEDs

Simulation – Traffic light

In this project we will make a traffic light with 6 LEDs. The opposite lights below should be placed on the left or right, but the intention is actually to show the principle of a traffic light. The steps are shown in the video above. All the instructions in with a capital letter can be written as normal codes with lowercase letters because of our simulator library update.

Select IO

Drag the 6 LEDs in the work space. Select the digital pins 2, 3, 4, 6, 7 and 8 for each LED. It’s possible to change the color by clicking on it. Connect the Arduino to the simulator and start the simulation. Use some drawing tools to make a more realistic simulation or add a image as background (folder button icon).

Arduino code