Dimming random devices with the Crownstone
Just before we started moving to the new office, we tortured some random devices. Instead of just switching them on and off, we wanted to see what happened if they are dimmed. The Crownstone dims via PWM, which is basically switching on and off very fast. In our case it was switched at 625 Hz.
Unfortunately, we already threw away a lot of old devices as preperation for the move, but we still had a couple of devices to test on:
- Switching power supply
- PC speakers
We made a short video of the session.
To our surprise, none of the devices were permanently damaged. This is hopeful for us, as it means less chance that a user destroys their equipment by accidentally dimming a device that shouldn’t be dimmed (something that should not be possible, but you never know).
The monitor seemed to have the most trouble with PWM; it started to make a high pitched noise, and at when going from off to 3%, random green pixels appeared on the screen. This green noise stayed untill we rebooted both the Raspberry Pi and the monitor.
Another interesting thing was the current consumption of the monitor. In normal operation, the monitor consumes current in short bursts, 100 times per second. You can see this in the image below, where a graph of voltage (blue) and current (yellow) is shown over 0.02 seconds (1 period of AC power).
For a duty cycle of 50%, you start to see very different behaviour, you see more peaks of current consumption. It’s likely that the power supply in the monitor draws current each time PWM is in the on state, which happens about 12 times as often as for the 50 Hz AC. Since the monitor still needs the same amount of power, the current peaks at higher levels (because power = voltage * current summed over time, see Pavg at wikipedia).
At 3% duty cycle, the peaks are even shorter.
If you also performed similar experiments, or if you have better explanations, feel free to leave it in the comments!
blog comments powered by Disqus