My current project - build a new LED light for our kitchen working light. It will be control with a distance sensor, to
allow touch-less control.
I build a prototype with a Cypress PSoC5, because it makes prototyping so much simpler. The final version will be
with a dsPIC, because it is way cheaper and provides enough perihperals and capabilities.
- distance sensor for controllin the light (on, of and light level)
- LED is driven with buck controller, with the MCU controlling the LED current
- PID control for LED current, MCU directly controls the SMPS