Normally fingers provide the force needed to set a guitar’s strings vibrating, but with some simple electronics we can make a self-strumming guitar that plays itself without any moving parts at all. It is better than magic- its physics! Click on for a full explanation of how it works and a video of the ghost guitar rocking itself out (it really does make some creepy and spooky sounds)…
But what about capacitive power transmission?
How come I’ve never seen a product that uses plates rather than coils? Is capacitive power transfer possible? Practical? Let’s break out a roll of tinfoil and find out!
Last time, we made one-shot pulses using the AVR’s built in hardware timer module. Today we are going to dive deep into the datasheets to see how this technique is able to coax the normally free-running timer into generating a single pulse. Along the way, we will learn about the low level rules that govern the operation of the timer, and use a trick or two to get around those rules. Read on!…
It is possible to generate one-shot pulses on an AVR that…
- Are as narrow as a single clock cycle (63 nanoseconds!)
- Are precise to a single clock cycle
- Will run to correct completion no matter what else the processor is doing 1
- Do not require you to turn off interrupts at all (!)
- Do not require any assembly code
These pulses are generated in pure hardware. They require a couple of instructions of interruptible code to fire. Once fired, they are completely autonomous and depend only on the system clock to run to completion.
Sound cool? Read on!
No time for commentary here, just pretty pictures of the insides and outputs of some cheap USB wall adapters.
It can be nice to know how much battery power you have. It becomes critically important with LiPo batteries since you can permanently damage them by running the voltage down too low. Typically battery voltage detection requires adding a circuit with extra parts and their associated power requirements. Wouldn’t it be great to be able to do this using nothing but software? Read on for a no parts, no pins, no power solution…