Blynk With Joy

Last time, I talked about how my storage situation and my cheap nature led me to build an RC joystick controller with a cell phone app and an ESP8266. The key to making this easy was to use the GUI builder called Blynk to make a user interface for an Android or Apple phone. Blynk can communicate with the ESP8266 and makes the project relatively simple.

ESP8266 and Arduino IDE

The ESP8266 Blynk code is straightforward. You do need to set up the Arduino IDE to build for the ESP8266. That can vary by board, but here’s the instructions for the board I was using (from Adafruit; see below).

adaesp

Depending on the type of ESP8266 device you are using, you may need a 3.3 V serial cable or some other means of getting the firmware into the device. For the Adafruit device I had, it has a 5 V-tolerant serial connection so a standard USB to serial dongle plugs right in. There’s also two switches on my device. To get into bootload mode, you have to push the one button down, hold it, and then press the reset button. Once you release the reset button you can release the other button. The red LED half-glows and the device is then waiting for a download.
Continue reading “Blynk With Joy”

Game Controller Cuts The Rug

There’s an iconic scene from the movie Big where [Tom Hanks] and [Robert Loggia] play an enormous piano by dancing around on the floor-mounted keys. That was the first thing we thought of when we saw [jegatheesan.soundarapandian’s] PC joystick rug. His drum playing (see the video below) wasn’t as melodious as [Hanks] and [Loggia] but then again they probably had a musical director.

At the heart of the project is, of course, an Arduino. An HC-05 provides a Bluetooth connection back to the PC. We thought perhaps an Arduino with USB input capability like the Leonardo might be in use, but instead, [jegatheesan] has a custom Visual Basic program on the PC that uses SendKeys to do the dirty work.

The switches are more interesting made with old CDs, foil, and sponges. The sponge holds the CDs apart until you step on them and the foil makes the CDs conductive. He uses a lot of Fevicol in the project–as far as we can tell, that’s just an Indian brand of PVA glue, so Elmer’s or any other white glue should do just as well.

Continue reading “Game Controller Cuts The Rug”

Quick Arduino Hack Lets Tach-less Car Display Shift Points

A tachometer used to be an accessory added to the dash of only the sportiest of cars, but now they’re pretty much standard equipment on everything from sleek coupes to the family truckster. If your daily driver was born without a tach, fear not – a simple Arduino tachometer is well within your reach.

The tach-less vehicle in question is [deepsyx]’s Opel Astra, which from the video below seems to have the pep and manual transmission that would make a tach especially useful. Eschewing the traditional analog meter display or even a digital readout, [deepsyx] opted to indicate shift points with four LEDs mounted to a scrap of old credit card. The first LED lights at 4000 RPM, with subsequent LEDs coming on at each 500 RPM increase beyond that. At 5800 RPM, all the LEDs blink as a redline warning.  [Deepsyx] even provides a serial output of the smoothed RPM value, so logging of RPM data is a possible future enhancement.

The project is sensing engine speed using the coil trigger signal – a signal sent from the Engine Control Unit (ECU) which tells one of the ignition coilpacks to fire. The high voltage signal from the coilpack passes on to the spark plug, which ignites the air-fuel mixture in that cylinder. This is a good way to determine engine RPM without mechanical modifications to the car. Just make sure you modify the code for the correct number of cylinders in your vehicle.

Simple, cheap, effective – even if it is more of a shift point indicator than true tachometer, it gets the job done. But if you’re looking for a more traditional display and have a more recent vintage car, this sweeping LED tachometer might suit you more.

Continue reading “Quick Arduino Hack Lets Tach-less Car Display Shift Points”

Sandwich Robot Keeps You Fed So You Can Keep Hacking

Food. A necessary — often delicious — interruption of whatever project you’re currently hacking away at. Ordering takeout gets expensive and it’s generally unhealthy to subsist solely on pizza. With the Sandwich-O-Matic, a simple voice command fulfills this biological need with minimal disturbance of your build time.

Built for a thirty-six hour hackathon, the Sandwich-O-Matic is controlled by a Photon and an Arduino. The backend is running node, hosted on AWS, and Google Cloud was used for voice to text recognition. This thing is a fully automated and voice controlled sandwich building station. A DC motor services the toaster, while the rest of the device is actuated by servos. Simply tap the ‘begin recording’ button on the site, tell it your ingredient choices, and off it goes.

Continue reading “Sandwich Robot Keeps You Fed So You Can Keep Hacking”

A Dual-purpose Arduino Servo Tester

RC flying is one of those multi-disciplinary hobbies that really lets you expand your skill set. You don’t really need to know much to get started, but to get good you need to be part aeronautical engineer, part test pilot and part mechanic. But if you’re going to really go far you’ll also need to get good at electronics, which was part of the reason behind this Arduino servo tester.

[Peter Pokojny] decided to take the plunge into electronics to help him with the hobby, and he dove into the deep end. He built a servo tester and demonstrator based on an Arduino, and went the extra mile to give it a good UI and a bunch of functionality. The test program can cycle the servo under test through its full range of motion using any of a number of profiles — triangle, sine or square. The speed of the test cycle is selectable, and there’s even a mode to command the servo to a particular position manually. We’ll bet the build was quite a lesson for [Peter], and he ended up with a useful tool to boot.

Need to go even further back to basics than [Peter]? Then check out this primer on servos and this in-depth guide.

Continue reading “A Dual-purpose Arduino Servo Tester”

A Buck-Boost Converter From The Ground Up

DC to DC conversion has come a long way. What was once took an electromechanical vibrator and transformer has been reduced to a PC board the size of a largish postage stamp that can be had for a couple of bucks on eBay. So why roll your own buck-boost converter for the ground up? Maybe because sometimes the best way to learn is by doing.

Continue reading “A Buck-Boost Converter From The Ground Up”

DIY Talkie Toaster from Red Dwarf

Red Dwarf’s Talkie Toaster Tests Tolerance

In the Red Dwarf TV series, Talkie Toaster wants to know if you want toast, and if not toast, then maybe a muffin or waffle, and it will pester you incessantly until you smash it with a 14lb lump hammer and throw it in a waste disposal. Now [slider2732] has actually gone and made one of the infernal machines!

He’s hidden a PIR sensor in the toaster handle to tell an Arduino Pro Mini when someone is unfortunate enough to be passing by. The Arduino then reads sound files from an SD card reader and plays them through a 3 watt amplifier out to a speaker. For that he uses the TMRpcm library available on github.

[slider2732] cleverly mounted the speaker to the side of the toaster along with some appropriately shaped bits and pieces, and some LEDs to make it appear and work much like the circular panel that lights up on the real Talkie Toaster. We dare you to watch the video after the break, unless you really are looking for toast. As a consolation, the video also walks through making it.

Continue reading “Red Dwarf’s Talkie Toaster Tests Tolerance”