Hacklet 103 – Piezo Projects

The piezoelectric effect is simple in its rules: Apply mechanical stress to a material and you generate an electric charge. The inverse is also true: Apply a voltage to a material, and it changes shape. This doesn’t work for everything, though. Only certain materials like crystals, some ceramics, and bone have piezoelectric properties. The piezoelectric effect is used quite a bit in electronics, so it’s no surprise that plenty of hacker projects explore this physical phenomena. This week’s Hacklet is all about some of the best projects utilizing the piezoelectric effect on Hackaday.io!

strumWe start with [miro2424] and StrumPad. Strumpad lets you play a MIDI instrument by strumming, just like a guitar. A music keyboard acts as the guitar fretboard here – keys can be pressed to choose notes, but no sound is generated. When the strumpad is strummed, six copper strips act as capacitive sensors. Touching the strips determines which notes will be played. A piezo disc hiding below the circuit board detects how hard the notes have been strummed or tapped. The ATmega328 running the strumpad then passes the velocity and note-on MIDI messages on to a synth.

stmNext up is [Dan Berard] with Scanning Tunneling Microscope. Inspired by a project from [John Alexander], [Dan] created his own Scanning Tunneling Microscope (STM). The key to an instrument like this is precise movement. [Dan] achieves that by using a normal piezo disk. These disks are used as speakers and buzzers in everything from smoke detectors to greeting cards, so they’re common and cheap. [Dan] cut his piezo disk electrode into quadrants. Carefully controlling the voltage applied to the quadrants allows [Dan] to move his STM tip in X, Y, and Z. Incredibly, this microscope is able to create images at the atomic scale.

touchboard[Thatcher Chamberlin] is next with Low-Cost Touchscreen Anywhere. [Thatcher] used a trio of Piezo disks to make any flat surface touch sensitive. The three sensors are placed at 3 corners of a rectangle. Touches with the rectangle will create vibrations in the surface that are transmitted to the piezo sensors. By measuring the vibration time of arrival, it should be possible to determine where the surface was touched. This kind of measurement requires a decent processor, so [Thatcher] is using the ARM Cortex-M0 in NXP’s LPC1114FN28. Initial tests were promising, but we haven’t heard much from [Thatcher] on this project. If you see him online, tell him to hurry up! We’re hoping to turn our parking lot into a giant electronic chess board!

contFinally, we have [Jose Ignacio Romero] with Low Power Continuity Tester. [Jose] used a Piezo element in a slightly more mundane way – as a buzzer. Who needs a whole multimeter when you’re just trying to check continuity on a few circuits? This continuity tester uses a PIC12LF1571 processor to find open and short circuits. The 5 10 bit ADC in the PIC is plenty of resolution for this sort of tester. In fact, [Jose] even included a diode test, which emits a short beep if the leads are placed across a working diode. The PIC processor uses so little power that this tester should run for around 800 hours on a CR2032 watch battery.

 

If you want to see more piezo projects check out our brand new piezo projects list! If I missed your project, don’t get buzzed! Drop me a message on Hackaday.io, and I’ll add it to the list. That’s it for this week’s Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Hackaday Store Sale Ends Sunday!

Since the Hackaday Store Spring sale launched, hundreds of items have been flying out the door (sadly only metaphorically, not by drone delivery), and the warehouse robot uprising has been somewhat quelled.

But, all good things must come to an end. Sunday night, the big discounts will disappear and regular prices will return. Until then you can get up to 30% off a range of electronics toys, hardware tools, DIY kits, and Sparkfun items.

bulbdial-sale
tv-b-gone-sale
sparkfunkit-sale

Have your eye on [Technolomaniac]’s Hackaday branded Arduino-compatible Spartan-6 FPGA Development Board, [Paul Stoffregen]’s super Teensy 3.2 microcontroller, or [Travis Goodspeed]’s USB fuzz-test tool Facedancer21? Get them now at a discounted price. Shipping is free on orders over $35 to the US, $50 to Canada, and $75 to the rest of the world. There’s no excuse not to start your next Hackaday.io project now.

teensy-sale
fpgashield-sale
huzzah-sale

Need more Hackaday swag? The CRT Android and Robot Head tee are 30% off, as is our women’s fit Hackaday.io t-shirt. The Hackaday edition Trinket Pro, TV-B-Gone, and Huzzah ESP8266 dev board are all 10% off.

image05

Stocks are getting low on some items. Bus Pirates and Bulbdial Kits have been particularly popular. We’ve only got a few XuLA2-LX9 FPGA Boards, JTAGulators, Whistled and DSOtouch left. [Adam Fabio]’s Analog Gauge Stepper, [Macetech]’s RGB Shades, and [BleepLabs]’s Nebulophone have already sold out during this sale. Check out the Spring sale today and get yourself a deal before they’re gone.

Sale ends 11:59 PM PST on Sunday, 10 April (or while supplies last). Sale items are at clearance prices and are final sale. No returns accepted. We will only allow exchanges for the same item or store credit if the item is faulty.

Tetris Everywhere: Character LCD Edition

Cheap character LCD displays are more versatile than we give them credit for. Most of the cheapies have a 5×8 character display, which looks blocky but legible when you have an appropriate font. Where it gets fun is that most of the LCD displays also let you upload custom characters.

Taking this to the extreme, [numeric] abused the user-defined characters to write a tiny game of Tetris that would run in the 10×16 frame that you get when you combine four characters together. It’s tiny, it’s monochrome, and doesn’t play the Troika theme (which may be a good thing), but it’s playable. Check out the video below.

Continue reading “Tetris Everywhere: Character LCD Edition”

The Continuing Adventures Of A Project That Will Be Stolen

Imagine if the Snap-on tool truck wasn’t filled with hand tools. Imagine if that Snap-on truck was a mobile electronics surplus shop. That’s the idea behind the Travelling Hacker Box. It’s a box, shipped from hacker to hacker, filled with weird and esoteric components, enough parts to build a 3D printer, and enough capacitors to stop an elephant’s heart.

If this is the first time you’ve heard about the Travelling Hacker Box, here’s the quick FAQ to get you up to speed. Has this been done before? Yes, yes it has. The Great Internet Migratory Box of Electronics Junk was a ‘thing’ done by Evil Mad Scientist back in the ‘aughts. Hackaday (or rather the old commander in chief Eliot) received one of these boxes, and sent it off to [Bre Pettis]. Keep in mind, this was in 2008. Is there more than one Travelling Hacker Box actively travelling? No. Because I don’t want to organize a second. Either way, the Travelling Hacker Box has two goals: distance travelled and number of people visited. With just one box, we can maximize both objectives. What are the current travel plans? That’s the next paragraph.

US-Trips
The travels of the Travelling Hacker Box Mk. 2

As of right now, the second version of the Travelling Hacker Box – the first box was stolen by some waste of oxygen in Georgia – has travelled at least 21,838 miles around the United States, visiting 11 prolific hackaday.io contributors in Wyoming, New York, Alaska, Hawaii, New Hampshire, Florida, Wisconsin, Maine, and California. The goal for the first dozen or so trips across the United States was to put miles on the box. 25,000 miles would be equivalent to a trip around the world using only US Postal Service flat rate boxes. Thanks to [Lloyd T Cannon]’s reinforcement of a medium flat rate box with canvas, foam, Kevlar, and custard, this iteration of the Travelling Hacker Box has held up spectacularly.

The goal for the next two months is to make a trip around the United States to maximize the number of US hackers who contributed to the box. This trip will start in Pasadena, CA, go up the west coast to Seattle, loop around the Canadian border to New England, go down the Eastern seaboard, across to Texas, over the desert, and land back at Home Base in Pasadena. From there, the Travelling Hacker Box is off to England, the EU, Asia, India, maybe Africa, and Australia.

While there are already a few people scheduled for this last trip around the US, more are needed. If you’re interested, check out the project on hackaday.io, request to join the project, send a message on the team chat, and generally bug me on the hackaday.io chat. There are plenty of spaces to fill in this last trip around the US and the current inventory is quite a haul. Not bad for a project that will eventually be stolen.

Today’s Hackaday Belgrade Conference

The time has arrived, the greatest hardware conference on earth has landed in Belgrade, Serbia. All of the talks are live streaming now! The lineup of speakers is incredible and you can bask in every minute of it.

Don’t settle for a one-way media experience. Take part in the conversation with the live chat. Click the “request to join this project” button in the upper right of the Hackaday Belgrade Project page.

There’s always one more thing, right? Hack the badge! Try your hand at writing code for the badge using the software emulator, then submit it to the competition. We’ll be starting the Badge demo party at 23:45 (UTC+1). Want someone to try your code out on a badge ahead of time? Just jump on the chat (mentioned above) and ask!

Want to feel the pulse of the hardware community in Europe… this is it.

A Comparison Of Early Graphics Cards

We have to admit, we expected to be bored through [The 8-Bit Guy]’s presentation, only to stay riveted through his comparison of early graphic card technology.

Some presentations get a bit technical, which isn’t bad, but what is so interesting about this one is the clear explanation of what the market was like, and what it was like for the user during this time. For example, one bit we found really interesting was the mention of later games not supporting some of the neat color hacks for CGA because they couldn’t emulate it fully on the VGA cards they were developing on. Likewise, It was interesting to see why a standard like RGBI even existed in the first place with his comparison of text in composite, and much clearer text in RGBI.

We learned a lot, and some mysteries about the bizarre color choices in old games make a lot more sense now. Video after the break.

Continue reading “A Comparison Of Early Graphics Cards”

An Open Source Two Stroke Diesel

With a welder and a bunch of scrap, you can build just about anything that moves. Want a dune buggy? That’s just some tube and a pipe bender. Need a water pump? You might need a grinder. A small tractor? Just find some big knobby tires in a junkyard. Of course, the one thing left out of all these builds is a small motor, preferably one that can run on everything from kerosene to used cooking oil. This is the problem [Shane] is tackling for his entry to the 2016 Hackaday Prize. It’s an Open Source Two-Stroke Diesel Engine that’s easy for anyone to build and has minimal moving parts.

[Shane]’s engine is based on the Junkers Jumo 205 motor, a highly successful aircraft engine first produced in the early 1930s and continued production through World War II. This is a weird engine, with two opposed pistons in one cylinder that come very close to slamming together. It’s a great design for aircraft engines due to it’s lightweight construction. And the simplicity of the system lends itself easily to wartime field maintenance.

The Jumo 205 was a monstrous 12-piston, 6-cylinder engine, but for [Shane]’s first attempt, he’s scaling the design down to a 50cc motor with the intent of scaling the design up to 125cc and 250cc. So far, [Shane] has about 30 hours of simple CAD work behind him and a ton of high-level FEA work ahead of him. Then [Shane] will actually need to build a prototype.

This is actually [Shane]’s second entry to the Hackaday Prize with this idea. Last year, he threw his hat into the ring with the same idea, but building a working diesel power plant is a lot of work. Too much for one man-year, certainly, so we can’t wait to see the progress [Shane] makes this year.

The HackadayPrize2016 is Sponsored by: