Posts with «leonardo» label

Antique organ speaks clues at an escape room

When tasked with converting an antique pump organ—sort of a miniature version of a full-sized pipe organ—into part of an escape room puzzle, hacker Alec Smecher decided to turn it into a vocal MIDI device.

To accomplish this, he embedded switches in each of the keys, then wired them into an Arduino Leonardo embedded in the 100-year-old organ to act as input to a desktop computer. Information is translated into browser commands using the Web MIDI API, which controls the Pink Trombone application in order to imitate a human vocal tract.

A common stop on an organ is called “Vox Humana”, or “Human Voice” in Latin. This is supposed to somehow sound like a choir or soloist, generally by adding a tremolo effect. It’s not effective — all pump organ stops sound like pump organ stops. I wanted to modify this stop so that engaging it would sound like a human voice — and not at all like a musical instrument.

The results–shown in the first video below–sound almost but not quite human, certainly adding to the tension and mystery of the escape room. Be sure to read more about Smecher’s project here.

Arduino Blog 17 Oct 20:25

Create a gesture control unit for your PC using Skywriter and Arduino

While keyboards are great, and custom shortcuts can make things even better, why not do away with buttons and knobs altogether, controlling your computer instead via simple gestures? Maker Ben James has done just this, creating a unique interface using a Skywriter device to pick up finger movements, along with an Arduino Leonardo to emulate a keyboard on his laptop.

Since the Skywriter can detect a number of gestures, James assigned various swipes, taps and circular motions to keyboard commands. As you can see in the video here, the results are pretty neat. 

More info on this project can be found on his blog post, and its code is available on GitHub.

Over-engineered, Arduino-powered closet lights

If you’re faced with a closet that doesn’t have any lights inside, you simply could go and find puck lights at most retail stores. But, if you’re Dillon Nichols, you buy a set of lights, and enhance them with a wired power supply and automatic Arduino control.

To accomplish this, Nichols decoded the infrared remote control signal to his puck lights using an Arduino Leonardo, then set up things up to sense the door’s opening via a physical switch and signal the lights accordingly. Now when he opens the closet, lights automatically shine down and fade out when it’s closed.

He also added a timer, so that they turn off after 10 minutes automatically if he forgets to shut the door. Looking for an over-engineered, non-permanent solution for yourself? You can check out his detailed write-up here and find the code for his build on GitHub.

Hack an old typewriter with Arduino for digital input

Mechanical typewriters are, for the most part, a thing of the past. Though the tactile feedback of these machines is interesting, as is the ability to directly mark on a piece of paper, they lack the important ability to input instructions into a modern computer. Konstantin Schauwecker, not satisfied with this analog-only output, decided to retrofit a German Olympia Monica typewriter as a unique digital user input device.

To accomplish this, he created a PCB with phototransistors that sense when the linkages for each key are pushed down. The result is a keyboard that functions perfectly well as a manual typewriter, and pushes this data to a computer using an Arduino Leonardo.

I modified a vintage type writer to function as a USB keyboard using an Arduino and 50 phototransistors. The typewriter is a German Olympia Monica that I bought at a local flea market. For this project I created a simple PCB that carries the phototransistors and several multiplexers and decoders. The PCB is connected to the Arduino through a ribbon cable. I used an Arduino Leonardo, which can function as a USB input device.

Check out Schauwecker’s write-up for more info on this clever build.

An experimental game with a conductive rubber band controller

RubberArms is an experimental rubber band game, created by Robin Baumgarten at the Global Game Jam 2017 in Yverdon-les-Bains, Switzerland.

The controller uses a conductive rubber cord from Adafruit that changes resistance as it’s stretched. This resistance is measured by an Arduino Micro/Leonardo (or a Teensy 3.2), which acts as a USB joystick sending signals to Unity3D. (The game is coded in Unity3D using Spring Joints and Line Renderers.)

At this point, the game is a simple prototype where you control the distance of two characters whose arms stretch whenever you stretch the rubber band, throwing little ‘Bleps’ around. You can read more about RubberArms on Baumgarten’s page, as well as his earlier project “Line Wobbler” here.

Get your DDR on with an Arduino dance pad

Alex of the YouTube channel “Super Make Something” is a huge fan of Dance Dance Revolution (DDR), and still has to play the game whenever he steps foot into an arcade. However, with the number of arcades slowly declining, the Maker has decided to bring that experience into his living room with a USB DDR dance pad.

And yes, you could always buy a metal dance pad but rather than spend $300, why not build your own? That is exactly what Alex has done using some easy-to-find materials: a 35″ x 35” slab of plywood for the base, four 1” x 35” pieces of wood for the border, five 11” x 11” pieces of MDF for the stationary panels, four 9″ x 9” pieces of cardboard for the riser panels, 12 metal button contacts out of aluminum, four 11” x 11” MDF button pads, acrylic sheets for the dance surface, and plenty of paint and graphics for the finishing touch.

The dance pad itself is based on pull-up resistors and an Arduino Leonardo, which is housed inside a 3D-printed enclosure. The Arduino includes an ATmega32U4 chip that can be programmed to act as a USB input device. The working principle here is that the MCU sends out a keystroke every time a button panel is stepped on. Alex provides a more in-depth breakdown of how it works in the video below! Meanwhile, the Arduino code can be downloaded here.

Quickie USB Keyboard Device

There are a ton of applications that we use that can benefit from keyboard shortcuts, and we use ’em religiously. Indeed, there are some tasks that we do so often that they warrant their own physical button. And the only thing cooler than custom keyboards are custom keyboards that you’ve made yourself.

Which brings us to [Dan]’s four-button Cherry MX USB keypad. It’s not really all that much more than four keyswitch footprints and an AVR ATmega32u4, but that plus some software is all you really need. He programs the Arduino bootloader into the chip, and then he’s using the Arduino Leonardo keyboard libraries. Bam! Check out the video below.

We see this design much more as a demo or collection of building-blocks than necessarily a one-size-fits-all solution. You might need five buttons, or want a different layout, or… It’s all open-source, so go nuts. And you’re not limited to key-clicks either — mouse buttons or even multiple scripted actions are within easy reach.

Building a special-function USB keypad or gaming device used to be hard work. But today between hardware and software design availability, it’s child’s play. Whether you need a footboard, a single-handed chording keyboard, or even just to update an old typewriter, the ability to control the input device that we use for eight hours per day is liberating. Experiment!

Filed under: Arduino Hacks, peripherals hacks

Presenting the Internet of Trash Cans !

This was gonna happen – sooner or later. [matthewhallberg] built a “Smart” trash can that is connected to the Internet and can be controlled by its own Android App. We’re not sure if the world needs it, but he wanted one and so built it. He started it out on a serious note, but quickly realized the fun part of this build – check out his funny Infomercial style video after the break.

The build itself is uncomplicated and can be replicated with ease. A servo motor helps flip the lid open and close. This is triggered by an ultrasonic ping sensor, which responds when someone waves a hand in front of the trash can. A second ping sensor helps inform the user when it is full and needs to be emptied. A Leonardo with the Idunio Yun shield helps connect the trash can to the internet. An mp3 shield connected to a set of powered computer speakers adds voice capability to the trash can, allowing it to play back pre-recorded sound clips. Finally, a Bluetooth module lets him connect it to an Android phone and the companion app controls the trash can remotely.

For the IoT side of things, [matthewhallberg] uses a Temboo account to send an email to the user when the trash can is full. The Arduino sketch, a header file to configure the Temboo account, and the Android application can all be downloaded from his blog. If this project inspires you, try building this awesome Robotic trash can which catches anything that you throw near it  or read the barcodes off the trash being thrown out and update the grocery list.

Filed under: Arduino Hacks, home hacks, internet hacks

A rec&play loop station for little musicians

The Interaction Awards  published the shortlisted projects for 2016 and up to five finalists in each category will be announced during the event on Friday evening, March 4, 2016. In the Expressing category, showcasing projects enabling self expression and/or creativity there is a project called Step representing an innovative and engaging way of approaching music production for children between 6 and 100 years old.

Step runs on an Arduino and has been created by Federico Lameri, Sandro Pianetti at the Master of Advanced Studies in Interaction Design in Lugano under the supervision of Massimo Banzi and Giorgio Olivero of Todo.

To prototype the user experience we’ve used an Arduino Leonardo connected to a processing sketch that handle the recording and playback features. Using a Mux Shield 2 we managed connecting 25 IR sensors, 16 LEDs, 1 knob and a button to a single Arduino board. We needed a quick and effective way to test the experience and by using Arduino we managed to design and build the whole product in three weeks.

Most of the music toys on the market are trying to fake the sounds and the experience of real instruments. Step has a different approach as it’s designed to give children the opportunity to create real loops and beats using whatever sounds they like from objects of everyday life.

Players can record any sounds and match them with  coloured tags, and then  create melodies, loops and and beats by placing tags on the track and by adjusting the tempo!

Check the video below to see it in action:

Industruino makes industrial automation easy, now AtHeart

Industruino’s mission is to offer industrial automation components that have the simplicity of Arduino at its core. It’s created by Loic & Ainura, two product designers originally from Belgium and now based in Shenzhen, with a mission to help people make their own products, by creating an accessible platform.

Today they are officially joining the Arduino AtHeart program with Industruino Proto, a Leonardo compatible industrial controller housed in a DIN-rail enclosure, with screw connector terminals to robustly connect to sensors and actuators.

Industruino allows makers and professionals to take a breadboarded solution and make it into an enclosed finished looking product, ready for permanent installation. Watch Loics’ introduction:

With Industruino everyone can combine the strengths of Arduino with the specific requirements of industry:

We are now at the dawn of a new industrial revolution, one in which the key elements will be automation, robotics and interconnected devices. In this revolution the Arduino platform is growing to be a real contender.

We are very excited to become part of the At Heart family! It is our way to show that we are very much interlinked with the Arduino community. We are looking forward to further develop the use of Arduino in industrial applications whilst contributing back to the Arduino platform.

When you open the enclosure you will find a prototyping area to add your own components, and re-routable jumper connections, letting you connect any point to either the microcontroller’s pins or the external screw connectors. The onboard graphic LCD and membrane button panel facilitate quick UI development to visualise and input your application’s data.

Explore other tech info on Industruino website and make it yours on their store!