5 ms·
Related is this project for running LED's for a long time just brightly enough to acts as markers: https://github.com/tedyapo/tritiled https://github.com/tedyap
by ollybee 9y ago
Related is this project for running LED's for a long time just brightly enough to acts as markers: https://github.com/tedyapo/tritiled https://github.com/tedyapo/tritiled
- aarongough 9y agoSweet! I've been looking for something like this for a long time, thanks for the link!
- hughes 9y agoThat's a super interesting concept. I'm also surprised by the complexity. Why does a low-power LED need a programmable microcontroller, multiple capacitors, a pair of mosfets and an inductor?
- ollybee 9y agoCheck out the hackaday project page for more detail https://hackaday.io/project/11864-tritiled https://hackaday.io/project/11864-tritiled I should make clear this is not my project.
- pjc50 9y agoThe inverter is doing all the work - the circuit is essentially a strange shaped buck controller. What it's doing is building up energy in the inductor and dumping it all at once into the LED. The microcontroller is there as a programmable pulse-width generator. Yes, you can do this with a NE555, at the cost of much more power and more components, and they don't like low duty cycle and are less temperature-stable. Having put the microcontroller on there, you must also put on its required decoupling capacitors. You might be able to remove them in a situation this simple with a bit more testing. MOSFET Q1 is required because the peak current is quite high in the inverter, more than 20ma. It also helps to steer the inductor current into the LED rather than the protection diodes of the PIC. Note the LED is "upside down". MOSFET Q2 and the resistor are a convenience to prevent the circuit being destroyed by inserting the battery the wrong way up. More at https://hackaday.io/project/11864-tritiled/log/62875-v22-release https://hackaday.io/project/11864-tritiled/log/62875-v22-rel...