{"id":876,"slug":"rbg-led-controller-3","title":"RBG LED Controller","excerpt":"My off-the-cuff remark about building an auxiliary bilirubin light manifested itself into a quick project.\nIn order to approximate the specific color of the …","content":"\u003cp\u003eMy off-the-cuff remark about building an auxiliary bilirubin light manifested itself into a quick project.\u003c/p\u003e\n\u003cp\u003eIn order to approximate the specific color of the bilirubin lamp, I figured that I would need to provide a means of setting PWM values for the three inputs. I had hard-coded values in Arduino code in the past, so thought about taking that route initially. I blew the dust off my Duemillova, fired up the Arduino IDE, and promptly decided to modify my Java servo PWM code to do the job.\u003c/p\u003e\n\u003cp\u003eSort of growing attached to the IOIO\u0026hellip;sorry Arduino.\u003c/p\u003e\n\u003cp\u003eSo, the controller was born\u0026hellip;IOIORBG.\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"/uploads/2012/01/Android-RBG-IOIO-570x311.jpg\" alt=\"RBG \u0026hellip; RGB\" title=\"Android-RBG-IOIO\"\n  loading=\"lazy\"\n  decoding=\"async\"\n/\u003e\n\u003c/p\u003e\n\u003ciframe width=\"569\" height=\"386\" src=\"https://www.youtube.com/embed/cQiLr5uGrE4\" frameborder=\"0\" allowfullscreen\u003e\u003c/iframe\u003e\n\u003cp\u003eAs usual, I posted the \u003ca href=\"https://github.com/swantron/IOIORBG\" title=\"github\"\u003ecode on github\u003c/a\u003e\u0026hellip;\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"/uploads/2012/01/LED-RBG-570x348.png\" alt=\"git\" title=\"LED-RBG\"\n  loading=\"lazy\"\n  decoding=\"async\"\n/\u003e\n\u003c/p\u003e\n\u003cp\u003eFor testing purposes, I also dumped the apk on the \u003ca href=\"https://market.android.com/details?id=swantron.project.rbg#?t=W251bGwsMSwxLDIxMiwic3dhbnRyb24ucHJvamVjdC5yYmciXQ..\" title=\"Android Market\"\u003eAndroid Market\u003c/a\u003e\u0026hellip;\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"/uploads/2012/01/IOIO-Android-App-570x447.png\" alt=\"market\" title=\"IOIO-Android-App\"\n  loading=\"lazy\"\n  decoding=\"async\"\n/\u003e\n\u003c/p\u003e\n\u003cp\u003eI have some work to do on my descriptions, but the gist of the setup is:\u003c/p\u003e\n\u003cp\u003eRed - Pin 10\nGnd - Gnd\nBlu - Pin 11\nGrn - Pin 12\u003c/p\u003e\n\u003cp\u003eGive it a try\u0026hellip;I\u0026rsquo;ll see about ramping up the output for the baby\u0026hellip;\u003c/p\u003e\n","date":"2012-01-11T17:10:52Z","permalink":"https://swantron.com/2012/01/11/rbg-led-controller-3/","link":"https://swantron.com/2012/01/11/rbg-led-controller-3/","path":"/2012/01/11/rbg-led-controller-3/","featuredImage":"/uploads/2012/01/Android-RBG-IOIO-570x311.jpg","categories":[],"tags":[]}