Hi all,
I've been playing around with controlling RGB LEDs with my new Netduino Plus. I set up a server on the Netduino that listens for requests on Port 80. Then I built a web page with a color picker control that sends commands to the Netduino. The web page runs on a separate web server on my laptop. The Netduino parses the commands into individual R,G, and B values for the LED. I am using a common anode RGB LED from Radio Shack, connected to three PWM inputs on the Netduino. Here's a demo:
I am trying to get a better algorithm for the color generation. Right now I am using SetDutyCycle, but I think the SetPulse method would provide even better color generation. If anyone wants to look at the C# project and maybe help me with the color generation code, just let me know and I will post it.
RGB LED color control via web page with Netduino Plus
Started by monewwq1, Jul 16 2011 10:27 PM
3 replies to this topic
#1
Posted 16 July 2011 - 10:27 PM
#2
Posted 17 July 2011 - 09:15 AM
Nice project
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#3
Posted 18 July 2011 - 05:28 PM
Where is the C# code? I am working on some RGB LED strips to create a sculpture. I use both SetDutyCycle and SetPulse to get a variety of colors and saturation.
#4
Posted 10 August 2011 - 09:01 PM
indeed where is your code. Then i can try it on my new bought netduino. I've got it today by mail and my first projects are working fine.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users