[Ken] needed to supply 3.3 volts of regulated power. He started by using a linear voltage regulator but after a few calculations he discovered that 72% of what he put in was lost to heat. The solution to this is a switched-mode power supply. Rather than burn off energy through a voltage divider, an SMPS turns the power on and off very quickly to achieve the desired voltage.
A car charger-type USB regulator was chosen as [Ken's] donor device. He figured that making adjustments to the resistors inside would affect the output voltage and he was right. He adjusted the potential divider and ended up with a steady 3.295V.
We asked him to share the schematic that he put together from studying the board and he came through. See that and get the link to the DC-DC converter datasheet after the break. Continue reading “Make switched-mode power supplies do your bidding”
[Ladyada] has been hard at work reverse engineering the charging method used by Apple products. This saga takes us through the years as new devices were released and subsequently broke Minty Boost’s charging capabilities. It seems the data lines were gradually adopted as a means for iPhones and iPods to identify the charger that had been connected. By adding voltage dividers to the D+ and D- lines you can instruct the handheld to pull 1 Amp (with data voltages of 2.8v and 2.0v) for wall chargers or 0.5 Amps (2.0v on both data lines) for portable chargers. In the video above [Ladyada] removes the surface mount resistors from a commercial charger in order to measure the voltage divider and discover the secret.
[Kevin Fodor] shares his method of reading multiple inputs on one pin of a microcontroller. The analog to digital convert function of the microcontroller is used to read a potentiometer but with some careful calculations a resistor network can be built into the circuit that provides a unique voltage value for each button pushed. The only real drawback is that the system cannot read multiple button presses at the same time. Theoretically up to ten momentary push buttons can be used but [Kevin] estimates that only four plus the potentiometer will work reliably.