Posts with «arduino hacks» label

Tiny Robot Shakes Head At You In Dissaproval

If you don’t have enough things staring at you and shaking their head in frustration, [Sheerforce] has a neat project for you. It’s a small Arduino-powered robot that uses an ultrasonic distance finder to keep pointing towards the closest thing it can find. Generally, that would be you.

When it finds something, it tries to track it by constantly rotating the distance finder slightly and retesting the distance, giving the impression of constantly shaking its head at you in disappointment. This ensures that you will either unplug it or smash it with a hammer after a very short time, but you should read [Sheerforce]’s code first: it’s a great example of documenting this for experimenters who want to build something that offers more affirmations of your life choices.


Filed under: Arduino Hacks
Hack a Day 16 Aug 00:01

Arduino Radar Watches You Breathe

We’ve all likely watched an episode of “Star Trek” and admired the level of integration on the sick bay diagnostic bed. With its suite of wireless sensors and flat panel display, even the 1960s imagining of the future blows away the decidedly wired experience of a modern day ICU stay. But we may be getting closer to [Dr. McCoy]’s experience with this radar-based respiration detector.

[Øyvind]’s build, which takes the origin of the term “breadboard” to heart, is based on a not-inexpensive Xethru module, which appears to be purpose-built for detecting respiration. The extra-thick PC board seems to house the waveguides internally, which is a neat trick but might limit how the module can be deployed. The module requires both a USB interface and level shifter to interface the 2.8V levels of the module to the 5V Arduino Uno. In the video below, [Øyvind]’s prototype simply lights an RGB LED in response to the chest movement it detects, but there’s plenty of potential for development here. We’ve seen a laser-based baby breathing monitor before; perhaps this systems could be used to the same end without the risk of blinding your tyke. Or perhaps better diagnostics for sleep apnea patients than an intrusive night in a sleep study lab.

Clocking in at $750USD for the sensor board and USB interface, this build is not exactly for the faint of heart or the light of wallet. But as an off-the-shelf solution to a specific need that also has a fair bit of hacking potential, it may be just the thing for someone. Of course if radar is your thing, you might rather go big and build something that can see through walls.


Filed under: Arduino Hacks, Medical hacks

Arduino Powered Rubber Band Sentry Turret Is Not a Lie

You know that guy in the next cube is sneaking in when you are away and swiping packs of astronaut ice cream out of your desk. Thanks to [Kevin Thomas], if you have an Arduino and a 3D printer, you can build a rubber band sentry gun to protect your geeky comestibles. You’ll also need some metric hardware, an Arduino Uno, and a handful of servo motors.

The video shows [Kevin] manually aiming the gun, but the software can operate the gun autonomously, if you add some sensors to the hardware.  The build details are a bit sparse, but there is a bill of material and that, combined with the 3D printing files and the videos, should allow you to figure it out.

We couldn’t help but wish for a first person view (FPV) camera and control via a cell phone, so you could snipe at those ice cream thieves while hiding in the broom closet. On the other hand, if you got the gun working, adding the remote wouldn’t be hard at all. You probably have a WiFi FPV camera on your quadcopter that finally came out of that tree and there’s lots of ways to do the controls via Bluetooth or WiFi.

Not that you don’t have options. But here at Hackaday HQ, we have lots of rubber bands and not so many green pigs. If you’d rather shoot paintballs, be careful you don’t accidentally repaint the insides of your cube.


Filed under: 3d Printer hacks, Arduino Hacks, weapons hacks

It’s Time to Roll Your Own Smartwatch

Giant wristwatches are so hot right now. This is a good thing, because it means they’re available at many price points. Aim just low enough on the scale and you can have a pre-constructed chassis for building your own smartwatch. That’s exactly what [benhur] did, combining a GY-87 10-DOF module, an I²C OLED display, and an Arduino Pro Mini.

The watch uses one button to cycle through its different modes. Date and time are up first, naturally. The next screen shows the current temperature, altitude, and barometric pressure. Compass mode is after that, and then a readout showing your step count and kilocalories burned.

In previous iterations, the watch communicated over Bluetooth to Windows Phone, but it drew too much power. With each new hardware rev, [benhur] made significant strides in battery life, going from one hour to fourteen to a full twenty-fours.

Take the full tour of [benhur]’s smartwatch after the break. He’s open to ideas for the next generation, so share your insight with him in the comments. We’d like to see some kind of feedback system that tells us when we’ve been pounding away at the Model M for too long. 

[via Embedded Lab]


Filed under: Arduino Hacks, wearable hacks

Arduino Based Remote Shutter For Beme

The well-dressed hacker [Sean Hodgins] has put together a neat little project: a battery powered remote shutter. He built it for use with Beme, the latest Snapchat clone that all of the cool kids are now using.

This service is designed to get away from the selfie culture by starting to record when you hold your phone against your chest, so you are looking at the thing being recorded, not your phone. [Sean] wanted a bit more control than that, so he built a remote control that starts the recording by moving the servo arm over the proximity sensor.

He built this neat little device from an Arduino Pro Mini, a battery, a small servo, a couple of power control boards and a cheap RF link from SeedStudio, all glued onto an iPhone case. It’s a bit rough around the edges (the servo makes some noise that is picked up on the recording, for one thing), but it is a great example of how to lash together a quick prototype to test a project out.



Filed under: Arduino Hacks, digital cameras hacks

“Arduino Borealis” Combines LEDs and Paint

[Stef Cohen] decided to combine three different artistic mediums for her latest project. Those are painting, electronics, and software. The end goal was to recreate the aurora borealis, also known as the northern lights, in a painting.

The first step was to make the painting. [Stef] began with a shadow box. A shadow box is sort of like a picture frame that is extra deep. A snowy scene was painted directly onto the front side of the glass plate of the shadow box using acrylic paint. [Stef] painted the white, snowy ground along with some pine trees. The sky was left unpainted, in order to allow light to shine through from inside of the shadow box. A sheet of vellum paper was fixed to the inside of the glass pane. This serves to diffuse the light from the LEDs that would eventually be placed inside the box.

Next it was time to install the electronics. [Stef] used an off-the-shelf RGB LED matrix from Adafruit. The matrix is configured with 16 rows of 32 LEDs each. This was controlled with an Arduino Uno. The LED matrix was mounted inside the shadow box, behind the vellum paper. The Arduino code was easily written using Adafruit’s RGB Matrix Panel library.

To get the aurora effect just right, [Stef] used a clever trick. She took real world photographs of the aurora and pixelated them using Photoshop. She could then sample the color of each pixel to ensure that each LED was the appropriate color. Various functions from the Adafruit library were used to digitally paint the aurora into the LED matrix. Some subtle animations were also included to give it an extra kick.


Filed under: Arduino Hacks, led hacks

Robot on Rails for Time Lapse Photography

What do you get when you cross a photographer with an Arduino hacker? If the cross in question is [nukevoid], you wind up with a clever camera rail that can smoothly move with both shift and rotation capability. The impressive build uses an Arduino Pro Mini board and two stepper motors. One stepper moves the device on rails using some Delrin pulleys as wheels that roll on an extruded aluminum track. The other stepper rotates the camera platform.

The rotating platform is very cool. It’s a plastic disk with a GT2 motion belt affixed to the edge. The stepper motor has a matching pulley and can rotate the platform easily. The GT2 belt only goes around half of the disk, and presumably the software knows when to stop on either edge based on step counts. There’s even a support to steady the camera’s lens when in operation.

Some AA batteries provide power (so probably not going to run all day long without a battery change). Judging by the video, the whole set up is cat-resistant (although nothing is totally cat-proof). Photographers are an innovative bunch, and we’ve seen Android-powered rails before as well as spinning turntables.


Filed under: Arduino Hacks, robots hacks

Pinball Table Gets New Lease of Life With Arduino

Forget all of this video game nonsense: pinball is the real king of gaming. After all, it involves large pieces of metal flying around at high speed. [retronics] agrees: he has resurrected an old Briarwood Aspen pinball table using an Arduino.

When he bought the table, he found that the electronics had been fried: many of the discrete components on the board had been burnt out. So, rather than replace the individual parts, he gutted the table and replaced the logic board with an Arduino Mega that drives the flippers, display and chimes that make pinball the delightful experience it is. Fortunately, this home pinball table is well documented, so he was able to figure out how to rewire the remaining parts fairly easily, and how to recreate the scoring system in software.

His total cost for the refurb was about $300 and the junker was just $50 to start with. Now for $350 you can probably find a working pinball table. But that’s not really the point here: he did it for the experience of working with electromechanical components like flippers and tilt switches. We would expect nothing less from the dude who previously built an Android oscilloscope from spare parts.


Filed under: Arduino Hacks
Hack a Day 28 Jul 03:01

It Keeps on Going and… Arduino Edition

How long can you keep an Arduino circuit running on three AA batteries? With careful design, [educ8s] built a temperature sensor that lasts well over a year on a single charge of three 2250 mAH rechargeable cells (or, at least, should last that long).

Like most long-life designs, this temperature sensor spends most of its time sleeping. The design uses a DS18B20 temperature sensor and a Nokia 5110 LCD display. It also uses a photoresistor to shut off the LCD display in the dark for further power savings.

During sleep, the device only draws 260 microamps with the display on and 70 microamps with the display off. Every two minutes, the processor wakes up and reads the temperature, drawing about 12 milliamps for a very short time.

Along with the code, [educ8s] has a spreadsheet that computes the battery life based on the different measured parameters and the battery vendor’s claimed self discharge rate.

Of course, with a bigger battery pack, you could get even more service from a charge. If you need a refresher on battery selection, we covered that not long ago. Or you can check out a ridiculously complete battery comparison site if you want to improve your battery selection.


Filed under: Arduino Hacks

Arduino (PCI) Express

It is almost impossible these days to find a PC with old ISA card slots. Full size PCI card slots are in danger of going the same way. Many PCs today feature PCI Express connectors. PCI Express offers a lot of advantages including a small size, lower pin count, and a point-to-point serial bus topology that allows multiple simultaneous transfers between different pairs of end points. You’ll find PC Express connectors in things other than PCs too, including a lot of larger embedded systems.

If you ever wanted to prototype something on PCI Express, you’d usually turn to an FPGA. However, [moonpunchorg] posted a workable design for an Arduino on a mini PCI Express board. The design files use KiCAD so it should be fairly easy to replicate or change. Naturally, there are pins on the edges to access I/O ports and power. You do need to use ISP to program the Arduino bootloader on the chip.

The board appears to a host computer as a SparkFun as a Pro Micro 3.3V board, and from there you could easily add function to a computer with a PCI Express slot using nothing more than the Arduino IDE. The board is known to work with the VIA VAB-600 Springboard and VIA VAB-820 boards, although it is likely to work with other PCI Express hosts, too.


Filed under: Arduino Hacks
Hack a Day 24 Jul 12:00