RGBW LED Controller v3.1

The new RGBW LED Controller is here! The video above shows some of the things it can do, but here is a list of improvements:

IRLB8721PBF MOSFET’s – More power!

Double sided and thicker board traces

More output headers

Cleaner board layout – All power and LED connections on one side – rounded corners

Improved serial capture method with feedback

Support for solid color commands (magenta, cyan, gold, RGB white, orange, light blue, light green, violet, pink, and RGB warm white)

More control from button inputs – long and short press commands

EEPROM memory of LED levels when powered off/on

IR control mode! – Full control of all channels and a memory recall function Get the remote here: http://www.adafruit.com/products/389

Wireless control via XBee! Get an Adafruit XBee adaptor here: http://www.adafruit.com/products/126

Backward compatible! The new software set will work on version 3.0, 2.2, and 1.9!

In stock and shipping from our store now!

New firmware and cad files available at https://github.com/jersagfast/RGBW-31.

The manual is here: RGBW LED Controller v31

RGBW31

JOS – Updated!!!

I did it, I finally found some down time to update JOS to work with current libraries from Adafruit. Below is a link to the new code on Github. A few notes to look at are listed below.

First, this is code for the Touch Shield, but it can easily be changed to the breakout board, and don’t forget to uncomment the ‘#define USE_ADAFRUIT_SHIELD_PINOUT’ line in Adafruit_TFTLCD.h file.

Also, this sketch has pin 3 setup as the backlight on the shield. This way you have PWM control over the backlight. You can accomplish this by cutting the VCC trace and soldering the PIN3 jumper on the back of the shield. You can read more on how to do that here.

This sketch has EEPROM settings, if you have not used them before, the values will be zero and need to be set. There are notes about this in the sketch on lines 92 & 93.

If you don’t know what JOS is, you can check it out here. (What’s a JOS anyway?)

Happy sketching! The code is here: https://github.com/jersagfast/JOS—TFT-Menu-System

RGBW LED Controller

Control your blinky!

Hi everyone, I am happy to announce that I have completed my RGBW LED controller kit and it is now for sale! This kit is a LED controller that features an embedded ATmega328 with an Arduino bootloader for easy programming, 4 channel LED control with dimming, 5 or 12 volt output, IR receiver, XBee header, RS-232 or TTL serial I/O, 2 push buttons, 12 pin extensions for all unused pins (6 analog and 6 digital), and power and channel LED indicators. You can control 5 or 12 volt LED’s via serial with adjustments to the level of any channel with ramping to the desired level, rate of ramping, color cycle start and stop, rate of color cycle, length of stay on each color during cycle. Fans and motors can also be driven with ease. You can buy one for only $35 with the Paypal link below! Be sure and also visit the complete assembly tutorial! Power supplies, RGB and white LED stripsFTDI Friend or FTDI Cable and XBee’s and XBee adapters are available at Adafruit!

Version 2.2 is shipping! Please go to the assembly page for details.

Using PWM outputs with an Arduino and a LED

Hi everyone, been a while since my last post, but I have been a busy new daddy. 🙂 I wanted to demonstrate what PWM output was and how to use it nicely in a sketch. I’m really big on ramping lights on and off (my entire house is set up that way) and would like to share how do accomplish that. I also wanted to use a video to show PWM outputs on a scope to help me explain the process.


Slide from video above

Pulse Width Modulation (PWM, but also sometimes referred to as Pulse-Duration Modulation -PDM) is the manipulating (modulating) of the width of a fixed pulse. The pulses are sent at the same voltage and frequency, so just the width of the pulse is changed. In the screen shot above the fixed voltage is 3.2V and the Frequency is 490Hz.

You can grab the serial controlled Arduino code here, or the shorter fading sketch here.

Tic Tac Touch

OK, so I haven’t posted in a while because I have been working on some bigger projects, but yesterday, I took a two hour break and made a 2 player tic tac toe game. I did this with an Arduino and a 2.8″ touchshield from Adafruit.com. It’s pretty basic tic tac toe, and has score tracking, game logic (you can’t go twice in a row, and telling you if you win), and the ability to consume a chunk of time playing tic tac toe with my son. Below is the code, feel free to hack modify etc. If you play against a smart person (or yourself), you will have lots of Mosfet eye games! 🙂

Download the code here. (Arduino 22 .pde file)