IR-controlled RGB-LED with full funktion embedded programs like smooth, flash, fade, on, off, andbelieve it is better than the commercial once!

The project shows how to calculate the resistors for the red, blue and green LED, depended on the illumination (See at RGB-ResistorcalculationSuperflex.pptx.pdf)

You will find a full functional Software for Arduino. You can control the RGB-LED via infrared remote control.

Important is to copy libraries to arduino user libraries directory and IR_Remote_x01 to arduino user directory. Then you can compile the software.

Also important for first start you have to save initialvalues in eeprom. Remove dashes// in software first.

In front of function ValuesSave(); at the Setup Function.

Now Initialvalues will be saved in EEprom for first start you power on the hardware Arduino. Power on and it will be done.

After that, program the controller again but now without calling the funktion ValuesSave() in start up! 

Put here the dashes again // Now You can control the LED.

With boolean variable Invertout2rgbLED() you can choose between common anode or cathode.

May be you have to change the IR-controllercommands use here the scetches from libraries to watch your IR-commands!

Many fun by experimenting.

Login to post a comment...

Michael Johannes Franz 3 years, 3 months ago

Michael Johannes Franz
Seems you are not aware of Arduino IDE? Please have a look on the pictures I added. Dose your Arduino window looks like this? Is your directory structure like shown? Have also a look at: more I can not help you.

BearGear 3 years, 3 months ago

hey i tried it and it doesn´t work i get a very big list of errors its always "... was not declared in scope " for example strobespeed or fadespeed or rgbXcolor. i think something is missing.

Michael Johannes Franz 3 years, 3 months ago

Michael Johannes Franz
Have you installed or copied files from in your user/Arduino/libraries direktory? When I update it from 1.0 to 2.0 the scetch does not fit on my Arduino or nano :-( so please do not update IR librarie!

BearGear 3 years, 3 months ago

Hi, nice projekt. I need your help because when i want to upload the scetch to the Arduino it always fails at 'results' was not declared in this scope can you pls help me?