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 – RGB LED

In this project we will simulate a RGB LED with 3 sliders that represent 1 color for each slider. The codes in the sketches remaining the same as the normal sketches but there are just a few things that will be added to the setup in order to communicate though the serial port. Don’t use the old simulator instructions with a capital letter for analogRead and Write. Follow the code below.

Select IO

Select the used inputs and outputs on the simulator. In this case we use 3 PWM pins for the RGB LED (a PWM signal gives a value between 0-1023 or 0-5 volts) and analog pins A0, A1 and A2 for each color slider. Connect the Arduino with the COM port in the simulator and watch the simulation. The serial port on a Mac is different than on a Windows device. A Windows device will name it COM and a Mac will have something like dev/tty.usb…

Arduino code