Posts with «arduino» label

Hackaday Prize Entry: E.R.N.I.E. Teaches Robotics and Programming

[Sebastian Goscik]’s entry in the 2017 Hackaday Prize is a line following robot. Well, not really; the end result is a line following robot, but the actual project is about a simple, cheap robot chassis to be used in schools, clubs, and other educational, STEAM education events. Along with the chassis design comes a lesson plan allowing teachers to have a head start when presenting the kit to their students.

The lesson plan is for a line-following robot, but in design is a second lesson – traffic lights which connect to a main base through a bus and work in sync. The idea of these lessons is to be fairly simple and straightforward for both the teachers and the students in order to get them more interested in STEM subjects.

What [Sebastian] noticed about other robot kits was that they were expensive or complicated or lacked tutorials. Some either came pre-assembled or took a long time to assemble. [Sebastian] simplified things – The only things required after the initial assembly of the chassis are: Zip-ties, electrical tape and a few screws. The PCB can’t be disassembled, but the assembled PCB can be reused.

The hardware [Sebastian] came up with consists of some 3mm material that can be laser cut (acrylic or wood) and a sensor board that has 5 IR LEDs and corresponding IR sensors. The chassis can be put together using nothing more than a Phillips screwdriver, and the sensor PCBs are well documented so that soldering them is as easy as possible. An Arduino is used as the brains of the unit.

[Sebastian] has come up with a great project and the idea of a platform like this with a couple of lesson plans included is a great one. He’s released the hardware under an Open Hardware license as well so others can share and add-on. Of course, there are other line following robots, like this miniature one created with analog circuitry, and there are other open source robots for teaching, like this one. But [Sebastian]’s focus on the lesson plans is a really unique way of approaching the problem – one that will hopefully be very successful.


Filed under: robots hacks, The Hackaday Prize

Motorgan is an electromagnetic organ

What do you get when you combine three small motors with a guitar pickup and a touch keypad? That would be the Motorgan by Moscow-based media artist Dmitry Morozov (aka ::vtol::). The result is a unique Arduino Mega-controlled instrument that looks and sounds like he somehow combined a V8 engine with a pipe organ.

The electromagnetic/electromechanical organ uses two differently sized PC cooling fans, as well as a gear motor to produce various sounds. A separate keypad is used for each motor, and each of the 24 keys can be tuned with a potentiometer, which reportedly allows one to “make any kind of music.”

The speed of each motor is controlled by voltage changes via touch keyboard with 24 keys. Keyboard is split into three parts (registers) for each motor, so it’s possible to play chords/polyphonic lines by taking one note from each register. Electromagnetic fields produced by motors are picked up with a single coil guitar pickup.

As you might suspect, it’s not exactly an easy instrument to play, but the results are certainly stunning, or perhaps you might even say “shocking.” Be sure to check out ::vtol::’s latest project in the video below!

Arduino Blog 22 Aug 20:22

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.

Project Aslan is a 3D-printed robotic sign language translator

With the lack of people capable of turning written or spoken words into sign language in Belgium, University of Antwerp masters students Guy Fierens, Stijn Huys, and Jasper Slaets have decided to do something about it. They built a robot known as Aslan, or Antwerp’s Sign Language Actuating Node, that can translate text into finger-spelled letters and numbers.

Project Aslan–now in the form of a single robotic arm and hand–is made from 25 3D-printed parts and uses an Arduino Due, 16 servos, and three motor controllers. Because of its 3D-printed nature and the availability of other components used, the low-cost design will be able to be produced locally.

The robot works by receiving information from a local network, and checking for updated sign languages from all over the world. Users connected to the network can send messages, which then activate the hand, elbow, and finger joints to process the messages.

Although it is one arm now, work will continue with future masters students, focusing on expanding to a two-arm design, implementing a face, and even integrating a webcam into the system. For more info, you can visit the project’s website here as well as its write-up on 3D Hubs.

Latskap Semi-Automatic Liquor Cabinet

A well-stocked liquor cabinet is a necessity for the classy gentleman or gentlelady who likes to entertain. Having the proper spirits and mixers on hand to make anything from a martini to a sidecar is always a solid way to ensure guests have a good time at your cocktail party. In the past, a beautifully crafted cherry or walnut liquor cabinet was enough to impress visitors with your affluence. These days, if you don’t want to look like a pauper, you have to take it a step further.

[Elias Bakken] and his uncle [Mike Moulton] have decided to take liquor cabinets into the 21st century with a semi-automatic liquor cabinet called Latskap. The project is still in progress, and in the prototyping stage, but their build log on Hackaday.io is showing a lot of potential. It shouldn’t be long before they have a fully functional prototype finished.

Latskap has a few primary functions: the first is that it automatically opens when someone approaches it. Then the thirsty guest can use the touchscreen to choose the drink they’d like from the menu. The bottles inside the cabinet are resting on NeoPixels, and the system lights up the liquor and mixer bottles needed for that drink. Finally, a scale at the front of the cabinet weighs the glass as ingredients are poured, and tells the parched patron when they’ve poured the correct amount for their drink.

We’ve seen liquor dispensers in the past that are designed to mix a cocktail all on their own, but the Latskap takes an interesting new approach. The main benefit of this design is that the number of bottles is limited only by how much room is available. There are no complex pumping systems necessary. We’re definitely looking forward to seeing the finished product!


Filed under: Beer Hacks
Hack a Day 18 Aug 16:30

Secret Serial Port for Arduino/ESP32

If you use the Arduino IDE to program the ESP32, you might be interested in [Andreas Spiess’] latest video (see below). In it, he shows an example of using all three ESP32 UARTs from an Arduino program. He calls the third port “secret” although that’s really a misnomer. However, it does require a quick patch to the Arduino library to make it work.

Just gaining access to the additional UARTs isn’t hard. You simply use one of the additional serial port objects available. However, enabling UART 1 causes the ESP32 to crash! The reason is that by default, UART 1 uses the same pins as the ESP32 flash memory.

Luckily, the chip has a matrix switch that can put nearly any logical I/O pin on any physical I/O pin. [Andreas] shows how to modify the code, so that UART 1 maps to unused pins, which makes everything work. it is a simple change, replacing two parameters to a call that — among other things — maps the I/O pins. You could use the technique to relocate the UARTs to other places if you choose.

If you want to learn more about the ESP32, we covered a good set of tutorials for you to check out. Or if you just want a quick overview, you can start here.


Filed under: Arduino Hacks, ARM
Hack a Day 17 Aug 16:30

The GuitarBot will strum you a song

While many Makers have musical skill, others attempt to compensate for their lack of it by producing automatic instruments that play themselves. One such attempt started in 2015 as a collaborative project between three University of Delaware professors as part of an initiative known as “Artgineering.” This was meant to “create a public spectacle… to demonstrate that engineering and art can work together harmoniously.”

Although many would consider engineering to be an art in itself, if you’d like to create your own robotic band, this Instructables write-up for the GuitarBot is a great place to start.

The guitar-playing robot is comprised of three major components: the brains, a strummer, and a chord mechanism. An Arduino Mega, a specially-ordered PCB and several shields are used for control, and a series of solenoids press down frets as needed. Finally, strumming is handled by a pick that is pulled by a DC motor and belt assembly, all of which is held up by an aluminum frame.

Levitate liquids and other tiny objects with this DIY device

If you’ve ever wished you could levitate tiny drops of liquid, small solids, or insects in mid-air, new research has you covered. That’s because Asier Marzo, Adrian Barnes, and Bruce W. Drinkwater have developed a 3D-printed, Arduino Nano-controlled acoustic levitator.

Their device uses two arrays of 36 sonic transducers in a concave pattern, which face each other in order to suspend objects like Styrofoam, water, coffee and paper in between. Several items can even be trapped at the same time, and liquid is inserted into the “levitation zone” via a syringe.

The principle is similar to the vibration you feel when next to a large speaker, but in this case, the homemade levitator employs ultrasonic waves to push particles without causing any damage to humans.

Acoustic levitation has been explored in hundreds of studies for applications in pharmaceuticals, biology or biomaterials. It holds the promise of supporting innovative and ground-breaking processes. However, historically levitators have been restricted to a small number of research labs because they needed to be custom-made, carefully tuned and required high-voltage. Now, not only scientists but also students can build their own levitator at home or school to experiment and try new applications of acoustic levitation.

If you’d like to make your own, be sure to check out Marzo’s Instructables post or the team’s full paper on the experiment here.

GuitarBot Brings Together Art and Engineering

Not only does the GuitarBot project show off some great design, but the care given to the documentation and directions is wonderful to see. The GuitarBot is an initiative by three University of Delaware professors, [Dustyn Roberts], [Troy Richards], and [Ashley Pigford] to introduce their students to ‘Artgineering’, a beautiful portmanteau of ‘art’ and ‘engineering’.

The GuitarBot It is designed and documented in a way that the three major elements are compartmentalized: the strummer, the brains, and the chord mechanism are all independent modules wrapped up in a single device. Anyone is, of course, free to build the whole thing, but a lot of work has been done to ease the collaboration of smaller, team-based groups that can work on and bring together individual elements.

Some aspects of the GuitarBot are still works in progress, such as the solenoid-activated chord assembly. But everything else is ready to go with Bills of Materials and build directions. An early video of a strumming test proof of concept used on a ukelele is embedded below.

GuitarBot would fit right in to a band where only the instruments operate unplugged. Speaking of robot bands, don’t forget the LEGO-enabled Toa Mata, or the fully robotic group Compressorhead.


Filed under: musical hacks, robots hacks

Maker creates his own coilgun using an Arduino Nano

If you suppose that electromagnetically-propelled projectiles are strictly the purview of well-funded government research labs, think again! Using two sets of coils wrapped around custom 3D-printed base structures and an Arduino Nano for control, YouTuber “Gyro” created his own coilgun capable of propelling steel fast enough to dent a piece of wood.

When fired, a photodiode at the end of each electromagnet coil sends a signal to the Arduino. This, in turn, shuts off the coil, allowing it freely escape the barrel.

As noted in his Instructables write-up, the gun is constructed without large capacitors, which can be expensive and dangerous. Instead, two LiPo battery packs are combined to produce around 22 volts, though this and the number of coils used, could be increased to produce a more powerful device!