Arduino Measures Remaining Battery Power With Zero Components, No I/O Pin

[Trent M. Wyatt]’s CPUVolt library provides a fast way to measure voltage using no external components, and no I/O pin. It only applies to certain microcontrollers, but he provides example …read more Continue reading Arduino Measures Remaining Battery Power With Zero Components, No I/O Pin

Fail of The Week: Epic 312 Weeks Of Fixing A Broken Project

If a hacker guardian angel exists, then we’re sure he or she was definitely AWOL for six long years from [Aaron Eiche]’s life as he worked on perfecting and making …read more Continue reading Fail of The Week: Epic 312 Weeks Of Fixing A Broken Project

Animate Arcane Protocols With Interrupt-Backed Bitbanging

Diagram of the LTC protocol, showing the difference between 1 bits and 0 bits - both transmitted using one up and one down pulse, but with '1' bit pulses being half as short.

We often take our “SoftwareSerial” libraries for granted, and don’t investigate what goes on under the hood — until they fail us, at least. Would you like to learn how …read more Continue reading Animate Arcane Protocols With Interrupt-Backed Bitbanging

AVR Microcontroller Doubles Up as a Switching Regulator

[SM6VFZ] designed, built and tested a switched-mode DC-DC boost regulator using the core independent peripherals (CIP) of an ATtiny214 micro-controller as a proof of concept, and it looks pretty promising!

A Buck, Boost, or Buck-Boost switching regulator topology usually consists of a diode, a switching element (MOSFET) and an energy …read more

Continue reading AVR Microcontroller Doubles Up as a Switching Regulator