Simple; yes. Done before; yes. Entertaining to do myself; YES! Now… I just need that Photon to arrive!
This is my first post, so Hello World! I’ll probably come up with better stuff than this… but I’ve never used a Spark Particle product before! Very excited to see what I can randomly make.
I’m building my own driver using the photon as the brain (turn on color, turn off color, adjust intensity - all via the PWM outputs). I’m switching 3 ZTX689B transistors for the different colors. I put in 3 diodes to be super safe with my photon. The other chip on the breadboard is just to go from 12V to 5V (Polulu D24V10F5) for the photon. Pretty simple driver circuit!
I am always concerned about burning the LEDs out so I want to incorporate current feedback measurement.
The fixtures I have built are for marine aquariums and are about 100 watts of real power not equivalent. So they take a bit of care not to overheat or over current them.
But like I said I am always looking for easier ways to do it
So here’s the circuit I’m using. Great transistors that go into saturation at 10mA (instead of TIP31s @ >300mA… yah diodes gone). I’ve run this with all the lines full on and it pulls ~0.4A per line generating ~40C on the transistors and 60C on the lamp (LED radiant heat). Fortunately my Photons are “processing” so I should have this up and running this week.
Now I need to clean up the cell phone “app” (website).
Thank you so much Kevin! silly question but did you basically have within one html the code for both the colour picker and the on and off buttons? this is all very new to me as you can tell.
thank you!
Yah. The LL.html was the color picker for my lamp. Then each additional light I have has its own ##.html. Then the root html has the on, off, and color (which loads the appropriate ##.html). And these websites are hosted on a BBB in my living room. I would have written an App for all this, but I’m not a CS and I’m on a Windows Phone… This was the easiest method I came up with.