Posts with «arduino» label

CasioKeyBot plays electronic keyboard with automated fingers

Electronic keyboards have been around for many years, taking human input and translating it into a variety of sounds. In a strange twist on this technology, Igor Angst has decided to substitute a robot in to push the synthesizer’s keys, using a laser-cut finger setup controlled by an Arduino Uno.

The MIDI sequence/notes to be played are provided by a computer running ALSA (Advanced Linux Sound Architecture), and interpreted by a C program that translates it into USB serial signals that the Uno can use. It then actuates its wooden fingers, playing a pleasing tune along with apparently keyboard-provided accompaniment in the video below.

I really like the crappy sound of those ‘80s toy keyboards. Unfortunately, I am a lousy live keyboarder and I only have so many hands. So I thought about adding MIDI capability to my good old Casio SA-21. The simplest way to do this is obviously building a robotized hand with 8 servo motors controlled by an Arduino microcontroller, which in turn receives its commands through the serial-over-USB interface sent by a tiny C application that connects to the ALSA sequencer world of my Linux live music setup.

Laser cutter files are available on the project’s write-up and code can be found on GitHub.

Twinky, the Arduino robot assistant

In the middle of a project, you may find that what you’re making is similar to something that’s been done before. Such was the case with Adrian Lindermann when he started constructing his “Twinky” robot and found the Jibo social bot had a similar design. 

Like any good hacker, he pressed ahead with his build, creating a small yellow companion that can respond to voice commands via a SpeakUp click module, along with pressure on its face/touchscreen.

Control is provided by an Arduino Mega, and Twinky can interact with other devices using a Bluetooth module. The robot’s head can even turn in order to point the display in the needed direction, and it’s able to play sound through an audio amplifier and speaker. 

IT CAN SPEAK! PLAY MUSIC, SET TIMERS, ALARMS, TURN ON/OFF THE LIGHTS OR OTHER APPLIANCES. IT HAS A CALCULATOR AND A WEATHER STATION! DATE & TIME, BLUETOOTH 4.0, EVERYTHING WITH VOICE COMMANDS!!! And also with a touchscreen, it has one little motor so it can turn around when one of the two microphones hear you talk or make a noise.

For more on this wonderful little robot, check out the project’s write-up and and build files here.

SENSEation Shows The Importance of Good Physical Design

Sensor network projects often focus primarily on electronic design elements, such as architecture and wireless transmission methods for sensors and gateways. Equally important, however, are physical and practical design elements such as installation, usability, and maintainability. The SENSEation project by [Mario Frei] is a sensor network intended for use indoors in a variety of buildings, and it showcases the deep importance of physical design elements in order to create hardware that is easy to install, easy to maintain, and effective. The project logs have an excellent overview of past versions and an analysis of what worked well, and where they fell short.

One example is the power supply for the sensor nodes. Past designs used wall adapters to provide constant and reliable power, but there are practical considerations around doing so. Not only do power adapters mean each sensor requires some amount of cable management, but one never really knows what one will find when installing a node somewhere in a building; a power outlet may not be nearby, or it may not have any unoccupied sockets. [Mario] found that installations could take up to 45 minutes per node as a result of these issues. The solution was to move to battery power for the sensor nodes. With careful power management, a node can operate for almost a year before needing a recharge, and removing any cable management or power adapter meant that installation time dropped to an average of only seven minutes.

That’s just one example of the practical issues discovered in the deployment of a sensor network in a real-world situation, and the positive impact of some thoughtful design changes in response. The GitHub repository for SENSEation has all the details needed to reproduce the modular design, so check it out.

Measure noise levels in your home with the Hello Light

After realizing that asking his kids to keep the noise down was meaningless without some sort of standard, maker Jeremy S. Cook decided to construct the “Hello Light.”

This cylindrical device measures sound with an electret microphone and an Arduino Nano, then commands a set of RGBW lights to progressively light up depending on the noise level.  

In the end, the Hello Light eventually ended up as more of a game to see who could trigger the flashing volume limit warning—not particularly effective for its intended purpose. It does, however, make a fun interactive decoration, and also features a random lighting mode, and a slowly blinking white light setting.

Code for the project is available on GitHub, and the build process can be seen in the clip below.

A New Tilt on RC Car Controllers

If you are a lover of all-things remote-conteolled, it’s likely that you know a thing or two about controllers. You’ll have one or two of the things, both the familiar two-joystick type and the pistol-grip variety. But had you ever considered that there m ight be another means to do it? [Andrei] over at ELECTRONOOBS has posted a guide to a tilt-controlled RC car. It is a good example of how simple parts can be linked together to make something novel and entertaining, and a great starter project for an aspiring hacker.

An Arduino Nano reads from an accelerometer over an I2C bus, and sends commands over a wireless link, courtesy of a pair of HC-12 wireless modules.  Another Nano mounted to the car decodes the commands, and uses a pair of H-bridges, which we’ve covered in detail, to control the motors.

The tutorial is well done, and includes details on the hardware and all the code you need to get rolling.  Check out the build and demo video after the break.

We’d love to see this idea turned up to 11 by using a more capable base vehicle, and finer controls on the steering– A Honda Civic perhaps?

[Thanks to Baldpower for the tip!]

Hack a Day 03 Oct 06:00

An Unmanned Ground Vehicle, Compatable With An Arduino

Building your own robot is something everyone should do, and [Ahmed] has already built a few robots designed to be driven around indoors. An indoor robot is easy, though: you have flat surfaces to roll around on, and the worst-case scenario you have a staircase to worry about. An outdoor robot is something else entirely, which makes this project so spectacular. It’s the M1 Rover, an unmanned ground vehicle, built around the Arduino platform.

The design goal of the M1 Rover isn’t just to be a remote-controlled car that can be driven around indoors. This robot is meant for rough terrain, and is a robot that can be programmed, can also be driven around by a computer, a video game controller, or custom joysticks.

To this end, the M1 rover is designed around high-quality laser cut plywood, powered by a few DC motors controlled through a dual H-bridge, and loaded up with sensors, including a front-mounted ultrasonic sensor. All the electronics are tucked away in the chassis, and the software is just fantastic. In fact, with the addition of a smartphone skillfully mounted to the top of the chassis, this little robot can became an autonomous rover, complete with a webcam. It’s one of the better robotic rover projects we’ve seen, and amazing addition to this year’s Hackaday Prize.

MobiLimb is a robotic finger that plugs into your smartphone

You’re constantly poking and prodding your smartphone throughout the day, but have you ever wondered what would happen if this little computer could poke back? Well now that’s actually possible, with the MobiLimb accessory by Marc Teyssier and a team stretching across two universities in France.

The device uses an Arduino to interface with the phone or other smart device via its micro USB port, and powers a servo-actuated robotic manipulator with five degrees of freedom. The servos give the artificial finger enough power to pull the phone itself across the ground, and for other interactions like acting as a physical avatar, propping the phone up as a stand, or even taking input as a joystick apparatus.

MobiLimb is a new shape-changing component with a compact form factor that can be deployed on mobile devices. It is a small 5 DoF serial robotic manipulator that can be easily added to (or removed from) existing mobile devices (smartphone, tablet). In the spirit of human augmentation, which aims at overcoming human body limitations by using robotic devices, our approach aims at overcoming mobile device limitations (static, passive, motionless) by using a robotic limb.

This approach preserves the form factor of mobile devices and the efficiency of their I/O capabilities while introducing new ones:

  • The users can manipulate and deform the robotic device (input)
  • They can see and feel it (visual and haptic feedback), including when its shape is dynamically modified by the mobile device.
  • As a robotic manipulator, it can support additional modular elements (LED, shells, proximity sensors).

More info is available in Teyssier’s write-up, and you can see it in action in the video below.

Talking Baymax inflatable robot greets kids at the pediatrician’s office

At Jason Poel Smith’s local pediatrician’s office, they have a variety of movie posters and displays to help make the environment more welcoming to kids. The most popular of them all is a huge inflatable Baymax robot character from the Disney movie Big Hero 6. 

While a beautiful display, Smith decided that what would make it even better is if it could talk, and went to work adding this functionality with an Arduino Uno, an MP3 shield, and a very large button. 

Now when kids arrive, they can hit the button to hear Baymax welcome them to the office as their “personal healthcare companion” via a pair of powered speakers. 

Arduino code and more info is available here, if you’d like to build something similar!

Arduino Blog 02 Oct 13:56

Augment RC vehicle control with an IMU-based transmitter

When piloting a vehicle remotely, it’s only natural to tilt your controller one way or the other to “help” guide it in the right direction. While usually this has no effect whatsoever, YouTuber Electronoobs decided to take this concept and run with it, creating a remote control transmitter that responds to an onboard MPU-6050 inertial measurement unit.

The transmitter’s Arduino Nano takes movement data, and sends the corresponding signals to a custom receiver board on the RC car via a pair of HC-12 wireless modules. A second Arduino mounted in the car then commands the vehicle’s DC motors with the help of an H-bridge. 

This is a radio controller that has 2 analog channels and the data is out from a MPU-6050 gyro module. So, we could control a toy car for example just by rotating the controller. I usually use the nRF24 module, but in this project I also want to show you how to use the HC-12 module. You will learn how to get the IMU data, how to use the HC-12 radio connection and how to control 2 DC motors using PWM signals and an H-bridge.

It’s quite a versatile build, and it can even be set up to output PWM signals if you need to interface with more advanced electronics.

Arduino Blog 02 Oct 13:43

Winners of the Arduino/Distrelec Automation & Robotics Contest announced!

Earlier this year, Distrelec launched an Automation & Robotics Contest that invited our community to help advance Industry 4.0 leveraging the Arduino ecosystem. Submissions were required to use Arduino hardware—ranging from WiFi (MKR1000 and Yún Rev2) to GSM/narrowband (MKR FOX 1200, MKR WAN 1300, and MKR GSM 1400) to feature-rich boards like the popular Mega and Due—along with Arduino Create to set up, control, and connect their devices.

Fast forward five months and the winning entries have now been selected, with the top project receiving a Keithley DMM6500 Bench Top Multimeter and a trip to Maker Faire Rome to showcase their work. Other prizes included a Weller WT1010 Set (2nd place) and Grove Starter Kits for Arduino (3rd-10th).

So without further ado, let’s take a look at the winners!

1st Place: Arduino Data Glasses for My Multimeter

2nd Place: Industrial Line Follower for Supplying Materials

Runner-Up: Accessibility Controls for Droids

Runner-Up: Skating Robot  

Runner-Up: Autonomous Home Assistant Robot

Runner-Up: Object Avoiding FSM Robot Arm

Runner-Up: Automatic Monorail Control

Runner-Up: Smart Crops: Implementing IoT in Conventional Agriculture

Runner-Up: Building a Sensor Network for an 18th Century Gristmill

Runner-Up: Robot Arm Controlled Through Ethernet

Congratulations to everyone! Be sure to also check out the contest page to browse through several other projects, such as an IoT platform for vehicles, a universal CNC machine, a gesture-controlled robotic arm, and more!