We’re still not sure exactly how [connornishijima]’s motion detector works, though many readers offered plausible explanations in the comments the last time we covered it. It works well enough, though, and he’s gone and doubled down on the Arduino way and bundled it up nicely into a library.
In the previous article we covered [connor] demonstrating the motion detector. Something about the way the ADC circuit for the Arduino is wired up makes it work. The least likely theory so far involves life force, or more specifically, the Force… from Star Wars. The most likely theories are arguing between capacitance and electrostatic charge.
Either way, it was reliable enough a phenomenon that he put the promised time in and wrote a library. There’s even documentation on the GitHub. To initialize the library simply tell it which analog pin is hooked up, what the local AC frequency is (so its noise can be filtered out), and a final value that tells the Arduino how long to average values before reporting an event.
It seems to work well and might be fun to play with or wow the younger hackers in your life with your wizarding magics.
It is likely that many of us will at some time have experimented with motion detectors. Our Arduinos, Raspberry Pis, Beaglebones or whatever will have been hooked up to ultrasonic or PIR boards which will have been queried for their view of what is in front of them.
[Connornishijima] has stumbled on a different way to detect motion with an Arduino, he’s polling an ADC pin with a simple length of twisted pair hooked up to it and earth, and reliably generating readings indicating when he (or his cat) is in its vicinity. He’s calling the effect “Capacitive turbulence”, and he’s open to suggestions as to its mechanism. He can only make it work on the Arduino, other boards with ADCs don’t cut it.
Frequent Hackaday featuree [Mitxela] may have also discovered something similar, and we’ve hesitated to write about it because we didn’t understand it, but now it’s becoming unavoidable.
It’s always dangerous in these situations to confidently state your opinion as “It must be…” without experimental investigation of your own. Those of us who initially scoffed at the idea of the Raspberry Pi 2 being light sensitive and later had to eat their words have particular cause to remember this. But this is an interesting effect that bears understanding. We would guess that the Arduino’s fairly high input impedance might make it sensitive to mains hum, if you did the same thing to an audio amplifier with a phono input you might well hear significant hum in the speaker as your hand approached the wire. It would be interesting to try the experiment at an off-grid cabin in the woods, in the absence of mains hum.
If you’d like to give his experiment a try, he’s posted his sketch on Pastebin. And he’s put up the video below the break demonstrating the effect in action, complete with cats.
Continue reading “Arduino Motion Detection With A Bit Of Wire”
It seems like wireless power transfer is all the rage these days. There’s wireless charging mats, special battery packs, heck, even some phones have it built in! And they all use inductive coils to transfer the power — but what if there was another way? Coils of copper wire aren’t always that easy to fit inside of a product…
As an experiment, [Josh Levine] decided to try making a proof of concept for capacitive power transfer.
He first demonstrates inductive power transfer using two coils of copper wire to power up an LED. The charging coil is supplied with 15V peak-to-peak at 1MHz which is a fairly typical value for inductive charging. He then shows us two glass plates with some tinfoil taped to it. Two LEDs bridge the gap alternating polarity — since the power is oscillating, so we need a path for electrons to flow in both directions. There is no connection through the glass, but when it is set on the charging plate, the LEDs light up. The charging plate is supplied with 30V peak-to-peak at 5MHz.
Continue reading “Wireless Power Transfer Using Capacitive Plates”
One of [Brian]’s hobbies is Amateur Ham radio, in which it is usually required to check that the transmitted signals are within specifications. As it isn’t safe to connect the radio’s output directly to measuring equipment due to the high voltages involved, [Brian] made his own dedicated RF signal sampler. It works by using capacitive coupling between the signal you wish to sample and a high impedance output. The latter can then safely be connected to an oscilloscope or spectrum analyzer for monitoring.
In the picture you see above, the air gap between the core signal conductor and the output plays the role of a capacitor. By adjusting its length you can therefore vary the output signal’s voltage range. The sampler is built using a die-cast aluminium enclosure which is 52x38x27mm. As you may have guessed, due to the case geometry the output attenuation will depend on the signal’s frequency. [Brian] tested the unit using a 30MHz signal generator and printed this frequency attenuation graph while also varying the air gap.