Home > Projects > Codename RGB

Codename RGB

Summary of Codename RGB


This project enables remote control of a 12V RGB LED strip via PC using an Arduino MKR1000. It involves building a voltage booster with N-Channel MOSFETs to handle the 3.3V to 12V conversion, configuring the Arduino with FirmataWiFi for internet connectivity, and utilizing the Codename RGB Windows app to manage the strip over WiFi.

Parts used in the Remote RGB LED Strip Control:

  • Arduino MKR1000
  • Power MOSFET N-Channel
  • RGB Led Strip (12v dc)
  • 12v dc Power Supply
  • Power Jack (Generic)
  • Breadboard (generic)
  • Soldering iron (generic)

Remotely control your RGB LED strip from your pc.

Codename RGB

Things used in this project

Hardware components

Arduino MKR1000
Arduino MKR1000
× 1
Power MOSFET N-Channel
Power MOSFET N-Channel
Might be something similar.
× 3
RGB Led Strip
Make sure its 12v dc (if Its not 12v you will have to have a power supply with the same voltage as your strip.) and also that its pins are in the following order: VCC, B, R, G. If it isn’t in that order you’ll have to modify the Fritzing document to make the JP Led connections match your order.
× 1
12v dc Power Supply
2.1 mm recommended.
× 1
Power Jack (Generic)
Your power supply’s connector must fit in it. If you are using it with a PCB, a PCB mounted one is recommended. If you are using it with a breadboard it is easier to use one with screws for the cables.
× 1
Breadboard (generic)
Breadboard (generic)
This may be a breadboard or PCB.
× 1

Software apps and online services

Arduino IDE
Arduino IDE
Visual Studio 2015
Microsoft Visual Studio 2015

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
If you are using a PCB.

Story

This is a render of how your final product might look like:

Codename RGB schematics

Seventh Step

In this last step now you need to connect the Arduino to our Voltage Booster. We are going to use the jumper wires we connected in the second step to the MOSFETS. Connect them this way (you may vary this but the Arduino pin must support PWM and you must change the VS app config):

  • R Mosfet ~4 Arduino pin
  • G Mosfet ~3 Arduino pin
  • B Mosfet ~2 Arduino pin

Now to finish the connections connect a jumper wire to the ground (-) rail and then connect that one to the Arduino’s ground pin.

Set Up The Arduino

First Step

Set up your computer and your Arduino IDE according to your Arduinio

Note: be sure to add your compatible WiFi libraries.

Second Step

In the Arduino IDE click on File->Examples->Firmata->StandardFirmataWiFi

Photo of the hardware used in the Codename RGB project, showing the WiFi module

Schematics

RGB Controller Schematic

It is used to control the RGB LED Strip. This is necessary because most RGB LED strips consume 12v and the Arduino MKR1000 outputs 3.3v.

*PCB or Fritzing versions are also available.

RGB Controller PCB [Etchable (SVG)]

It is used to control the RGB LED Strip. This is necessary because most RGB LED strips consume 12v and the Arduino MKR1000 outputs 3.3v.

*Schematic or Fritzing versions are also available.

RGB Controller Fritzing

It is used to control the RGB LED Strip. This is necessary because most RGB LED strips consume 12v and the Arduino MKR1000 outputs 3.3v.

*Schematic or PCB versions are also available.

RGB Controller Fritzing

It is used to control the RGB LED Strip. This is necessary because most RGB LED strips consume 12v and the Arduino MKR1000 outputs 3.3v.

*Schematic and PCB versions are also available.

RGB Controller Schematic

It is used to control the RGB LED Strip. This is necessary because most RGB LED strips consume 12v and the Arduino MKR1000 outputs 3.3v.

*Fritzing and PCB versions are also available.

RGB Controller Etchable PCB (Etchable PDF)

It is used to control the RGB LED Strip. This is necessary because most RGB LED strips consume 12v and the Arduino MKR1000 outputs 3.3v.

*Schematic and Fritzing versions are also available.

Code

Condename RGB App

This app lets you control your Arduino through the Internet.

Control your RGB LED strip through WiFi with an Arduino / Genuino with internet capabilities. — Read More

 

Quick Solutions to Questions related to Remote RGB LED Strip Control:

  • Why is a voltage booster necessary for this project?
    A voltage booster is required because most RGB LED strips consume 12v while the Arduino MKR1000 only outputs 3.3v.
  • What are the recommended pin connections for the MOSFETs on the Arduino?
    The Red Mosfet connects to Arduino pin 4, the Green Mosfet to pin 3, and the Blue Mosfet to pin 2.
  • Which software is used to build and run the remote control application?
    The Codename RGB Software is built using Microsoft Visual Studio 2015 and runs as a Windows 10 Universal App.
  • How do you configure the Arduino to connect to your WiFi network?
    You must edit the wifiConfig.h tab in StandardFirmataWiFi to set the SSID, static IP, and security password options.
  • What happens if my RGB strip pins are not in the VCC, B, R, G order?
    If the pin order differs, you must modify the Fritzing document or code to make the JP Led connections match your specific strip.
  • Can I build the voltage booster on something other than a breadboard?
    Yes, you can also build the voltage booster on a perfboard or by printing a PCB.
  • Where can I find the source code for the Codename RGB app?
    The source code is available in the GitHub repo under the user Gerli/Codename-RGB.
  • What type of power supply connector is recommended for this setup?
    A 2.1 mm connector is recommended for the 12v dc power supply.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top