Posts with «arduino» label

Become a pinball wizard on this 3D-printed machine

“Tony the Pinball Wizard” has successfully 3D-printed a fully-functional pinball machine.

The retired software engineer provides a detailed writeup, beginning with pinball’s roots in the 1700s to its eventual fall from popularity in the 1990s and 2000s. If you find this interesting, you could likely pick one up on Craigslist, but Tony instead decided to build his own.

This process isn’t for the feint of heart though, as it took him over 200 hours to design the game, and another 1,200 or more hours to 3D print everything. Materials included 8.5 kilometers of filament, of which 85 types were used. The whole thing is powered by a pair of Arduino Mega boards, needed to accommodate the massive number of inputs and outputs required.

The machine was brought to life and displayed inside 3D FilaPrint’s stand at recent industry trade show. You can see Tony’s excellent project in action below and read all about it here.

Dtto is a 3D-printed, self-configurable modular robot

Congratulations to the winner of this year’s Hackaday Prize, Alberto Molina Perez! Inspired by Bruce Lee’s famous water quote, Dtto is a self-reconfigurable robot that can adopt any shape by simply changing the position and connection of its 3D-printed modules.

A coupling mechanism on both ends allows the sections to assemble themselves in various configurations and carry out complex tasks in unison. They can chain together to create a snake-like robot, turn into a wheel, or even form a bridge to get over a gap. Impressively, this is all accomplished autonomously. The goal is that, one day, Dtto’s versatility will enable it to perform rescue missions and explore unknown environments without any human intervention.

As Hackaday notes, each module consists of two boxes, rounded on one side, linked by a bar. One half houses all of the electronics, which includes an Arduino Nano, a Bluetooth chip, an NRF2401+ radio transceiver, two SG92R Tower Pro servos for hinging, and three Tower Pro SG90 micro servos for coupling, while the other leaves space for additional features, such as a camera, microphone and speakers, multiple sensors, actuators, or more batteries.

You can read more about the project on its Hackaday.io page, and be sure to check out its latest demo reel below!

DIY I2C Devices with ATtiny85

[Pawel] has a weather station, and its nerve-center is a Raspberry Pi. He wanted to include a light sensor but the problem is, the Pi doesn’t have a built-in ADC to read the voltage off the light-dependent resistor that he (presumably) had in his junk box. You can, of course, buy I2C ADC chips and modules, but when you’ve already got a microcontroller that has ADC peripherals on board, why bother?

[Pawel] wired up a tremendously simple circuit, downloaded some I2C slave-mode code, and added an LED for good measure. It’s all up on GitHub if you’re interested.

Bright by Day, Dark by Night!

We’re covering this because we rarely see people coding for I2C slave devices. Everyone and their mom uses I2C to connect to sensors, for which the Arduino “Wire” library or “i2c-tools” on the Pi do just fine. But what do you do when you want to make the I2C device? [Pawel]’s project makes use of TinyWireS, a slave-mode SPI and I2C library for AVR ATtiny Arduino projects.

Here, [Pawel] just wanted a light sensor. But if you’re building your own devices, the sky is the limit. What’s the most esoteric I2C sensor that you can imagine? (And is it really the case that we haven’t seen an I2C slave device hack since 2010?)


Filed under: ATtiny Hacks
Hack a Day 07 Nov 09:00

Touchless MIDI: The Secret’s In the Mitten

MIDI is a great tool for virtually any musician. Unless you’re a keyboard player, though, it might be hard to use it live. [Evan] recently came up with a great solution for all of the wistful guitar players out there who have been dreaming of having a MIDI interface as useful as their pianist brethren, though. He created a touchless MIDI controller that interfaces directly with a guitar.

[Evan] set up an Arduino Nano to handle the MIDI interface to the computer. A detector coil from a previous project was installed onto the guitar can recognize how far away the guitarist’s hand is from the body of the guitar, giving the musician control over an effect of their choosing. The guitarist simply needs to be wearing a special mitten for use with the detector coil. [Evan] also added three tactile buttons, meaning that this MIDI usefulness can be extended to three different selectable effects.

Be sure to check out the video below for a demonstration of how the interface works. [Evan] has also made the schematics and Arduino code available if you decide to build your own. This isn’t [Evan]’s first MIDI rodeo, either. He’s also created a MIDI drum interface from a Rock Band drum set, too.


Filed under: musical hacks
Hack a Day 06 Nov 21:00

Harpsi-Gourd Gets You Into Thanksgiving Spirit

Halloween might be over, but for some of us there’s still another pumpkin-centric holiday right around the corner to give us an excuse to build projects out of various gourds. During a challenge at a local event, [Michael] came up with a virtual cornucopia of uses for all of the squashes he had on hand and built a touch-sensitive piano with all of them.

The musical instrument was dubbed the Harpsi-Gourd and makes extensive use of the Arduino touch-sensitive libraries. Beyond that, the project was constructed to be able to fit into a standard sized upright piano. While only 15 pumpkins are currently employed, the instrument can be scaled up to 48 pumpkins. Presumably they would need to be very small for the lid of the piano to still close.

The Harpsi-Gourd is a whimsical re-imagining of the original Makey Makey which can be used to do all kinds of things, including play Mario Bros. There are all kinds of other food-based musical instruments at your disposal as well, though.


Filed under: musical hacks
Hack a Day 06 Nov 18:00

Personal Compass Points to Your Spawn Point

A conventional compass points north (well, to magnetic north, anyway). [Videoschmideo]  wanted to make a compass that pointed somewhere specific. In particular, the compass — a wedding gift — was to point to a park where the newlywed couple got engaged. Like waking up in a fresh new Minecraft world, this is their spawn point and now they can always find their way back from the wilderness.

The device uses an Arduino, a GPS module, a compass, and a servo motor. Being a wedding gift, it also needs to meet certain aesthetic sensibilities. The device is in an attractive wooden box and uses stylish brass gears. The gears allow the servo motor to turn more than 360 degrees (and the software limits the rotation to 360 degrees). You can see a video of the device in operation, below.

The compass module may be hard to find, but you should be able to modify it to work with more readily available boards. Since you may not be able to find the exact gears used, your build will probably be a little different anyway.

The brass and wood are decidedly steampunk looking. It reminded us of this GPS project. If you have too much street cred to buy an off-the-shelf GPS, you could always roll your own.


Filed under: Arduino Hacks, gps hacks
Hack a Day 05 Nov 12:00

These Makers built a gesture-controlled robotic arm

Using a Kinect sensor with MATLAB/Simulink and an Arduino, B.Avinash and J.Karthikeyan made a robotic arm to mimic their every move.

If you need a robotic arm to follow your movements, the Kinect sensor is a great place to start. On the other hand, it’s a long leap programming-wise to go from sensor input to coordinated movement of servo motors. Through a toolchain stretching from the sensor itself, to a computer, and finally to an Arduino Mega controlling the servos directly, Avinash and Karthikeyan did just that.

For their process, the computer takes data from the Kinect sensor, then translates it into servo angles using the MATLAB and Simulink computer programs. Resulting data is then fed into the Arduino via a serial connection, which controls the robot’s movements appropriately with a slight delay.

Be sure to check out the project’s Instructables page to learn more about this awesome build!

A VR “glove” inspired by Ender’s Game

To complement his VR experience, Florian Mauer built a controller that could perhaps best be described as a “hand bracelet.”

As virtual reality applications begin to be implemented, one challenge will be finding an interface device, or combination of them that are unobtrusive, yet allow for versatile input. Mauer decided on a design inspired by the gravity control bracelet from the movie “Ender’s Game.” It can be worn similar to how a pistol is held (illustrated here with a virtual pistol), and reportedly doesn’t get in the way when using a keyboard or mouse–at least before the button was added.

The 3D-printed gadget features an IMU, Arduino Pro Micro, as well as a couple buttons for in-game actions. This helps the Leap Motion controller used here to recognize gestures that would be difficult for its camera to pick up otherwise.

In the 2013 adaptation of Ender’s Game, Harrison Ford’s character slips a metallic device over his hand to control gravity in the training room. This scene inspired me as I’ve been trying to imagine VR controllers that can be used alongside mouse+keyboards. The controller used by Ford seemed convenient to put on, offer a lot of finger freedom, and probably allow for throwing VR objects without falling off.

You can see more information on this promising project on Mauer’s website here.

Listen to the Eerie Music of This Handmade MIDI Pipe Organ

Pipe Organs may be out of vogue, but one makers MIDI-fied version definitely turned heads at the Orlando Maker Faire.

Read more on MAKE

The post Listen to the Eerie Music of This Handmade MIDI Pipe Organ appeared first on Make: DIY Projects and Ideas for Makers.

Turn mini Pringles cans into electronic drums

Ever find yourself drumming on Pringles cans with your fingers? This hack adds a MIDI output to make it sound awesome!

If you’re tired of playing virtual drums on an iPad or other device, and need some tactile feedback, snack-sized Pringles cans not only sort of resemble drums, but provide a nice “bounce” when hit by a finger or thumb. All that’s required, besides washing the lid and canister to remove grease, is the attachment of a piezoelectric sensor to the lid to detect taps. These impulses are then fed to an Arduino Micro, converting everything into a MIDI signal, which can be read by your favorite electronic instrument.

With a bit of luck, you can plug it straight in to a MIDI drum synth and start playing. The four pads transmit kick drum, snare, closed hi-hat and open hi-hat note values according to the General MIDI specification.

You can find more information on this excellent hack on its Instructables page, or check out the video below to see it in action!