Balancing Robots From Off-The-Shelf Parts

In this day and age, we are truly blessed as far as the electronics hobby is concerned. Advanced modules such as gyros and motor controllers are readily available, not just as individual parts, but as pre-soldered modules that can be wired together with a minimum of fuss and at low cost. This simple balancing robot is a great example of what can be done with such parts (Google Translate link).

The robot has an ESP32 running the show, which provides both the processing power required, as well as the WiFi interface used to control the ‘bot from a smartphone. This is achieved using an app from JJRobots, an open-source robotics teaching resource. Stepper motors are controlled by DRV8825 modules sourced from amazon, and an MPU6050 gyro rounds out the major components. Naturally, source code is available on GitHub for your reading pleasure.

It’s remarkable that in this day and age, it’s possible to build such a project with little to no soldering required at all. With a credit card and a healthy supply of patch leads, it’s possible to whip up complex digital projects quite quickly. We’ve seen a similar approach before, too. Video after the break.

[Thanks to Baldpower for the tip!]
Continue reading “Balancing Robots From Off-The-Shelf Parts”

Junk Bin Self Balancing Bot With ESP8266

As we all know, sometimes the projects we plan simply never materialize. You have an idea, maybe even buy some of the parts you need, and then…nothing. Maybe you changed your mind, or maybe the idea was never that good to begin with. In any event, time marches on, the parts pile up, and the ideas come and go. Such is the life of the hacker.

[Andrius Mikonis] writes in to tell us how his graveyard of abandoned projects ended up providing exactly what he needed to embark on a project he’s been fascinated with for years: the two-wheel self balancing robot. He started with a motor and wheel set that was originally intended to be part of a rover, added an accelerometer, and tied the whole thing together with an ESP-01 he had lying around. The final result certainly looks the part, and goes to show that projects don’t always need to be 1000 hour labors of love to accomplish their goals.

The construction of this little bot is simple in the extreme. A piece of plywood makes up the primary structure, with the wheels glued to the bottom and the electronics taking up residence in the top. It’s powered by two lithium battery cells that were salvaged out of an old laptop, with a DC-DC buck converter to provide a stable 3.3 VDC for the ESP-01 and MPU6050 accelerometer. To control the motors themselves, [Andrius] is using a cheap L293 controller that he found on eBay.

For interactive control, [Andrius] is making use of the ESP’s Wi-Fi to provide a web-based interface. This lets you control the bot from essentially any device that has a browser, rather than having to use a dedicated hardware transmitter.

Self-balancing robots of various levels of complexity are a relatively common project in the hacker world. There’s just something magical about the way they scoot around, seeming to defy gravity.

A Robot That Can Still Keep Its Balance After A Night In The Pub

One of the star attractions at the recent bring-a-hack prior to our London unconference was [Dan]’s two-wheeled self-balancing robot. As the assorted masses of the Hackaday readership consumed much fine ale and oohed and ahhed over each others work, there it stood on a pub table, defying all attempts to topple it.

In a way a successful self-balancer can look surprisingly unexciting because it achieves the seemingly unimpressive task of just standing there and not doing much except trundling about, but to take such a superficial view belies the significant feat of engineering that gives the self-balancer its party trick. And it’s no mean achievement to create one from fairly basic hardware, so how has he done it?

The 3D-printed frame holds a pair of stepper motors to do the hard work, while a piece of stripboard acts as carrier for boards containing the MPU6050 accelerometer and DRV8825 stepper motor drivers. Meanwhile the brains of the whole show started as an Espruino Pico but has since been moved to an ESP32.

There is a linked GitHub repository with all the code, and if our description of seeing it in a London pub isn’t good enough for you then you can see it in action in the video below.

Continue reading “A Robot That Can Still Keep Its Balance After A Night In The Pub”

I am Science Fiction Incarnate; I am Handle

This is the first official look at Boston Dynamics’ new robot design, called Handle, and it’s a doozy. They are a trusted source of cutting-edge real-world robotics, which is good. If this came from an unknown source we’d be scrambling to debunk it as fake. This robot shows incredible utility, the likes of which has been relegated to the computer graphics of the movie and video game industries.

Impressive ability to keep 'hands' stationary in 3D space
Impressive ability to keep ‘hands’ stationary in 3D space

At the beginning of the month, we saw a demonstration of the robot but it was simply cellphone footage of a conference hall video. This is a crystal clear 60fps video from Boston Dynamics themselves with a few juicy details to go along with it. Chief among them (for us anyway) is that this prototype has a battery range of about 15 miles between charges. The efficiency is due in large part to the wheeled nature of the beast. It balances on two wheels, but the design attaches those wheels to two fully articulated legs rather than directly to the frame of the body.

The result is a quadruped that is distinctly not human in appearance but can perform well in similar environments and with similar tasks. Handle is capable of offsetting its body weight, allowing the front limbs to pick up heavy objects while maintaining balance. The combination of both electric and hydraulic actuators let it perform feats like jumping over four-foot high objects. The independence of each wheel is shown off with ramps to simulate uneven terrain.

Bravo BD. We can’t wait to see Handle wheeling down the street placing smile-adorned boxes on each stoop as it revolutionizes home delivery. Oh, and kudos on the 80’s-style freeze frame at the end of the video below.

Continue reading “I am Science Fiction Incarnate; I am Handle”

Self-Balancing Robot Uses Android and Lego NXT

LEGO NXT + Android = Self Balancing Robot

Self-balancing robots are pretty cool, but sometimes a bit too complex to make. [HippoDevices] shows us that it’s really not that hard, and you can even do it with Lego NXT and an Android device!

First step is to build your two-wheeled robot – go nuts! As long as the Lego NXT motors are strong enough you’ll be able to make most different shaped robots easy to balance. You’re going to need an Android ADK board to provide communication between the Lego motors and your Android device. [HippoDevices] is using their own design, called the Hippo-ADK which is on Kickstarter currently.

This allows your Android device to read the status and control the Lego Motors — from there it’s just a matter of programming it to balance according to the device’s gyroscope.

Continue reading “Self-Balancing Robot Uses Android and Lego NXT”

Self-Balancing Robots Wobble, But They Don’t Fall Down

[Trandi] can check ‘build a self-balancing robot’ off of his to-do list. Over a couple of weekends, he built said robot, and, in his own words, managed not to over-design it. It even kept the attention of his 2-year-old son for several minutes, and that’s always a plus.

He was originally going to re-purpose one of his son’s RC cars, but didn’t want to risk breaking it. Instead, he designed a triangular 3-D printed chassis to hold a motor and some cogs to fit both the motor shaft and some re-used Meccano wheels. [Trandi]’s design employs an MPU 6050 6-DOF IMU for the balancing act and is built on an Arduino Nano clone.

[Trandi] is controlling the motor with an L293D, which has built-in flyback diodes to minimize spikes. He found that the Nano clone was not powerful enough to handle everything, so he added an L7805CV voltage regulator. After the break, watch [Trandi]’s cute bot tool around on various types of terrain, with and without a payload.

Don’t have an IMU lying around? You don’t really need one to build a self-balancing bot, as this IR-based lilliputian bot will demonstrate.

Continue reading “Self-Balancing Robots Wobble, But They Don’t Fall Down”

Self-Balancing Robot Keeps Getting More Features


It’s a lot of fun to see a self-balancing robot project. Rarely do they go much further than being able to keep themselves upright while being piloted remotely and annoyingly shoved by their creator as proof of their ability to remain standing on two wheels. This little anthropomorphic guy is the exception to the rule. It’s the product of [Samuel Matos] who says he didn’t have a specific purpose in mind, but just kept adding features as they came to him.

Starting with a couple of carbon fiber plates [Samuel] cut the design by hand, using stand-offs to mount the NEMA 17 stepper motors and to connect the two halves of the chassis. It looks like he used some leftover material to make a nice little stand which is nice when coding at his desk as seen above. There’s also a carbon-fiber mask which makes up the face atop an articulated neck. It has two ultrasonic range-finding sensors as eyes, and the Raspberry Pi camera module as the nose. The RPi board powerful enough to run OpenCV which has kept [Samuel] busy. He set up a course in his living room containing tags directing where the little guy should go. It can also follow a tennis ball as it rolls around the room. What we found most impressive in the clip after the break is its ability to locate the next tag after making a turn.

Continue reading “Self-Balancing Robot Keeps Getting More Features”