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

self-balancing-robot-gets-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”

Building A Ball-Balancing Robot

robotBallBalance

If you want a different kind of feedback systems challenge, ditch the Segway-style robots and build one that can balance on a ball. UFactory is a startup in Shenzhen, and this impressive little guy is a way of showing their skills applied to the classic inverted pendulum. At nearly 18 inches tall and weighing just over six pounds, the robot boasts a number of features beyond an accelerometer and gyroscope: it has both a WiFi module and a camera, and can be controlled via a homemade remote control or a Kinect.

The build uses plastic omni-directional wheels attached to 3 brushed dc motors, which attach to the base of the robot with custom-made aluminum brackets. The UFactory gang constructed the robot’s body out of three acrylic discs, which hold the electronics directly above the wheels. The brain seems to be an STM32 microcontroller that connects up to the motors and to the sensors.

You won’t find the code on their Instructable yet, but according to the comments they have plans to make the entire project open source. If you’re desperate for more details, the UFactory team seems willing to provide source code and other information via email. Make sure you see the video after the break, particularly the end where they demonstrate interference and carrying loads. This isn’t the first ball pendulum we’ve seen; take a trip down memory lane with the BallP ball balancing robot from 2010.

Continue reading “Building A Ball-Balancing Robot”