Posts with «arduino» label

Turn an Atari 2600 into a MIDI drum machine

While not known for its musical prowess, John Sutley decided to turn an Atari 2600 into a simple four-note drum machine dubbed “SYNDRUM.”

While an interesting exercise in creating a custom cartridge out of repurposed components, pushing buttons to activate four tones and an onscreen VU meter can only keep one’s attention for so long.

To turn this project’s musical entertainment level up to 11, he programmed an Arduino Nano to take MIDI signals and translate them into the equivalent electrical signals that would normally come from a controller. 

The results, as seen in the video below, are spectacular. If you’d like to try something similar yourself, code for the SYNDRUM can be found here.

Faux Walkie-Talkie for Comedy Walking Tour is a Rapid Prototyping Win

Chances are good that a fair number of us have been roped into “one of those” projects before. You know the type: vague specs, limited budget, and of course they need it yesterday. But you know 3D-printers and Raspberduinos and whatnot; surely you can wizard something together quickly. Pretty please?

He might not have been quite that constrained, but when [Sean Hodgins] got tapped to help a friend out with an unusual project, rapid prototyping skills helped him create this GPS-enabled faux-walkie talkie audio player. It’s an unusual device with an unusual purpose: a comedic walking tour of Vancouver “haunted houses” where his friend’s funny ghost stories are prompted by location. The hardware to support this is based around [Sean]’s useful HCC module, an Arduino-compatible development board. With a GPS module for localization and a VS1053 codec, SD card reader, and a small power amp for the audio end, the device can recognize when the user is within 50 meters of a location and play the right audio clip. The housing is a 3D-printed replica of an old toy walkie-talkie, complete with non-functional rubber ducky antenna.

[Sean]’s build looks great and does the job, although we don’t get to hear any of the funny stuff in the video below; guess we’ll have to head up to BC for that. That it only took two weeks start to finish is impressive, but watch out – once they know you’re a wizard, they’ll keep coming back.

Building an Electric Scooter That’s Street Legal, Even in Germany

Sometimes a successful project isn’t only about making sure all the electrons are in the right place at the right time, or building something that won’t collapse under its own weight. A lot of projects involve a fair amount of social engineering to be counted as a success, especially those that might result in arrest and incarceration if built as originally planned. Such projects are often referred to as “the fun ones.”

For the past few months, we’ve been following [Bitluni]’s DIY electric scooter build, which had been following the usual trajectory for these things – take a stock unpowered scooter, replace the rear wheel with a 250 W hub motor, add an ESC, battery, and throttle, and away you go. Things took a very interesting turn, however, when his street testing ran afoul of German law, which limits small electric vehicles to a yawn-inducing 6 kph. Unwilling to bore himself to death thus, [Bitluni] found a workaround: vehicles that are only assisted by an electric motor have a much more reasonable speed limit of 25 kph. So he added an Arduino with a gyro and accelerometer module and wrote a program to only power the wheel after the rider has kicked the scooter along a few times – no throttle needed. The motor stops after a bit, needing another push or two to kick it back on. A brake lever kills the motor, as does laying the scooter on its side. It’s quite a clever design, and while it might not keep the Polizei at bay, you can’t say he didn’t try.

[Bitluni] has quite a range of builds, from software-defined television to bad 3D-scanners to precision wine glass whacking. You should check out his stuff.

Thanks for the tip, [Baldpower].

Racing the Beam and Dropping Some Beats

The heart of the Atari 2600 wasn’t the 6502 (or the 6507 for the pedants), it was the TIA chip. This is the chip responsible for drawing graphics on the display, racing the beam, and extremely limited support for sound generation. We haven’t seen many attempts of using the Atari 2600 for chiptunes, but that doesn’t mean it can’t be done. [John Sutley]’s Syndrum, a take on an Atari 2600 drum machine is nearly a work of art. It’s a custom cartridge for the wood-paneled Atari, and an impressive input device that turns this classic console into a beat machine

Did the Atari 2600 ever come with a drum machine cartridge? Maybe. Probably not. [John] originally built this project to experiment with the TIA chip, but found it was less tonal than a kazoo. That struck ‘Atari synthesizer’ off the list and replaced it with an ‘Atari drum machine’. There are two key parts of the build here, the first being a repurposed Asteroids cartridge that had the PROM replaced with a ZIF socket. This allows [John] to easily burn new code to an EEPROM, stuff it in the socket, and run it on the Atari. All the code was developed with batari Basic, a BASIC-inspired language that spits out .bin files for the Atari.

But running code on the Atari is just one half of this build. To do a drum machine, you somehow need to tell the Atari when to play each sound. Given the lack of expansion capabilities for the Atari, [John] turned to the controller port. The Syndrum uses Arduino Nano to bridge the DE9 controller connector to a MIDI port. Yes, it’s real MIDI, on a machine that could probably never do MIDI natively (although we’d love to see someone try).

Need a video of this mind-blowing hack in action? Here you go:

Communicate using your ear with Orecchio

When conversing face-to-face, there are a wide range of other emotions and inflections conveyed by our facial and body expressions. But what if you can’t express emotion this way, whether due to a physical impairment, or simply because of a covering—like a dust mask—temporarily hides your beautiful smile, and perhaps your hands are otherwise occupied?

As a solution to this dilemma, a team of researchers has been working on Orecchio, a robotic device that attaches to the ear and bends it to convey emotion. Three motors allow the ear to be bent in 22 distinct poses and movements, indicating 16 emotional states. Control is accomplished via an Arduino Due, linked up with a windows computer running a C# program. 

The prototype was implemented using off-the-shelf electronic components, miniature motors, and custom-made robotic arms. The device has a micro gear motor mounted on the bottom of a 3D-printed ear hook loop clip. The motor drives a plastic arm against the side of the helix, able to bend it towards the center of the ear. Rotating the plastic arm back to its rest position allows the helix to restore to its original form. Near the top of the earpiece is another motor that drives a one-joint robotic arm that is attached to the top of the helix, using a round ear clip. Rotating the motor extends the robotic arm from its resting position, to bend the top helix downwards the center of the ear. The motor together with the one-joint robotic arm is mounted on a linear track that can be moved vertically through a rack-and-pinion mechanism, driven by a third motor. Moving the rack upwards stretches the helix.

The prototype is demonstrated in the video below, and more info is available in the project’s research paper.

DualPanto is a non-visual gaming interface for the blind

While there are tools that allow the visually impaired to interact with computers, conveying spacial relationships, such as those needed for gaming, is certainly a challenge. To address this, researchers have come up with DualPanto.

As the name implies, the system uses two pantographs for location IO, and on the end of each is a handle that rotates to indicate direction. One pantograph acts as an output to indicate where the object is located, while the other acts as a player’s input interface. One device is positioned above the other, so the relative position of each in a plane can be gleaned. 

The game’s software runs on a MacBook Pro, and an Arduino Due is used to interface the physical hardware with this setup. 

DualPanto is a haptic device that enables blind users to track moving objects while acting in a virtual world.

The device features two handles. Users interact with DualPanto by actively moving the ‘me’ handle with one hand and passively holding on to the ‘it’ handle with the other. DualPanto applications generally use the me handle to represent the user’s avatar in the virtual world and the it handle to represent some other moving entity, such as the opponent in a soccer game.

Be sure to check it out in the video below, or read the full research paper here.

Create shapes over and over with the Dynablock 3D Printer

3D printing, while revolutionary in many aspects, generally means you’re stuck with what you print. Researchers at the University of Colorado Boulder and the University of Tokyo, however, have created a printing system called Dynablock, which attaches specialized magnetic blocks together that can used over and over.

The system uses an array of 24 x 16 motors to push the blocks into position one layer at a time, giving a possible “print” resolution of 384 blocks per layer. An Arduino Uno, along with shift registers and motor drivers are used to directly control the block placement motors, and user interface is handled by a JavaScript-based application.

Dynamic 3D Printing combines the capabilities of 3D printers and shape displays: Like conventional 3D printing, it can generate arbitrary and graspable three-dimensional shapes, while allowing shapes to be rapidly formed and reformed as in a shape display. To demonstrate the idea, we describe the design and implementation of Dynablock, a working prototype of a dynamic 3D printer. Dynablock can form a three-dimensional shape in seconds by assembling 3,000 9 mm blocks, leveraging a 24 x 16 pin-based shape display as a parallel assembler. Dynamic 3D printing is a step toward achieving our long-term vision in which 3D printing becomes an interactive medium, rather than the means for fabrication that it is today. In this paper, we explore possibilities for this vision by illustrating application scenarios that are difficult to achieve with conventional 3D printing or shape display systems.

More info can be found in the project’s research paper here, or check it out in action in the video below:

Animate a soda bottle structure with TrussFormer and Arduino

While you may not give soda bottles much thought beyond their intended use, researchers in Germany and the U.S. have been working on a way to turn empty bottles into kinetic art. 

The result of this work is a program called “TrussFormer,” which enables one to design a structure made out of soda bottles acting as structural beams. The structure can then be animated using an Arduino Nano to control a series of pneumatic actuators.

TrussFormer not only allows for animation design, but analyzes stresses on the moving assembly, and even generates 3D-printable files to form the proper joints.

TrussFormer is an integrated end-to-end system that allows users to 3D print large-scale kinetic structures, i.e., structures that involve motion and deal with dynamic forces.

TrussFormer builds on TrussFab, from which it inherits the ability to create large-scale static truss structures from 3D printed hubs and PET bottles. TrussFormer adds movement to these structures by placing linear actuators and hinges into them.

TrussFormer incorporates linear actuators into rigid truss structures in a way that they move “organically”, i.e., hinge around multiple points at the same time. These structures are also known as variable geometry trusses. This is illustrated on the on the example of a static tetrahedron that is converted into a moving structure by swapping one edge with a linear actuator. The only required change is to introduce connections at the nodes that enable rotation, i.e. hinges.

As for what you can build with it, be sure to check out the bottle-dinosaur in the video below! 

A linear actuator that won’t break the bank

Extremely good linear actuators can be expensive and heavy, but what if you need something for relatively light applications? In the video below, James Bruton explains how you can make one using parts including a DC motor with a quadrature encoder, 3D-printed mounting, and a lead screw assembly.

His device uses an Arduino Uno for control, using pins 2 and 3 as interrupts to ensure correct rotation—and thus linear travel—sensing. Proper movement is facilitated with a pair of PID loops to regulate both the position and velocity, even under differing load and battery conditions. 

Arduino code and CAD information can be found on GitHub, while an explanation of the project is seen in the video below. 

Arduino Blog 19 Oct 15:32

InfiniTouch: Interact with both sides of your smartphone

Besides, perhaps a longer battery life, what would make your smartphone experience better? If you said a more versatile interaction method than poking one side with your thumb, researchers in Germany may have just the thing.

InfiniTouch morphs two LG Nexus 5 phones into one, with their touchscreens stacked back-to-back. This allows for not only thumb interaction, but also program control with the four fingers that normally only grip the device. It can even tell what finger your using via a convolutional neural network. 

In order to save space, most of the electronics are housed in a separate hardware container, including the phone boards as well as an Arduino MKR1000. 

More info is available in the project’s research paper, and a short demo can be seen in the video below.