RC receiver to arduino converter for BB-8

Ask Hackaday: How Do You Convert Negative Voltages To Positive?

I have a good background working with high voltage, which for me means over 10,000 volts, but I have many gaps when it comes to the lower voltage realm in which RC control boards and H-bridges live. When working on my first real robot, a BB-8 droid, I stumbled when designing a board to convert varying polarities from an RC receiver board into positive voltages only for an Arduino.

Today’s question is, how do you convert a negative voltage into a positive one?

In the end I came up with something that works, but I’m sure there’s a more elegant solution, and perhaps an obvious one to those more skilled in this low voltage realm. What follows is my journey to come up with this board. What I have works, but it still nibbles at my brain and I’d love to see the Hackaday community’s skill and experience applied to this simple yet perplexing design challenge.

The Problem

RC toy truck and circuit with no common
RC toy truck and circuit with no common

I have an RC receiver that I’ve taken from a toy truck. When it was in the truck, it controlled two DC motors: one for driving backwards and forwards, and the other for steering left and right. That means the motors are told to rotate either clockwise or counterclockwise as needed. To make a DC motor rotate in one direction you connect the two wires one way, and to make it rotate in the other direction you reverse the two wires, or you reverse the polarity. None of the output wires are common inside the RC receiver, something I discovered the hard way as you’ll see below.

Continue reading “Ask Hackaday: How Do You Convert Negative Voltages To Positive?”

RC Car Piloting With The Blast Shield Down

Many of us have had a radio controlled car at some time in our youth, though it’s probable that none all of us entirely mastered it. There are memories of spectacular crashes, and if we were really unlucky, further boosts to Mr. Tamiya’s bank balance as fresh parts had to be fitted.

[Paul Yan] was watching his young son with a radio controlled toy, and was struck by how the two-joystick control layout is not necessarily as intuitive as it could be. By contrast when faced with a console game with first-person view and a steering wheel the boy had no problem dropping straight into play. This observation led him to investigate bringing a console steering wheel to an RC car, and the result is a rather impressive FPV immersive driving experience.

Paul's FPV car, explained.
Paul’s FPV car, explained.

His build took a PS2 steering wheel peripheral with pedals and mated it to an Arduino Uno via a PS2 shield. The Uno talks to a Nordic NRF24L01 RF module, which communicates with another NRF24L01 on the car. This in turn talks to a car-mounted Arduino Micro, which controls the car servos and speed controller.

FPV video is provided by a miniature camera and transmitter from the world of multirotor flying which is mounted on the car and transmits its pictures over 5GHz to a set of monitor goggles. Sadly he does not appear to have posted any of the software involved, though we doubt there is anything too challenging should you wish to try it for yourselves.

The video below shows the car in action, complete with an over-enthusiastic acceleration and crash from his young son. He tells us it’s a similar experience to playing a racing kart game in the real world, and having seen the video we wish we could have a go.

Continue reading “RC Car Piloting With The Blast Shield Down”

Driving BB-8 - More than one way to move this bot

Driving BB-8: More Than One Way To Move This Bot

BB-8 is the much loved new droid introduced in the 2016 movie Star Wars: The Force Awakens, though in my case from the very first trailer released in 2014 I liked it for the interesting engineering problems it posed. How would you make a robot that’s a ball that rolls along, but with a head that stays on top while the ball rolls under it?

To make the ball roll, the answer most people found obvious at first was to use the analogy of a hamster wheel. The hamster running inside makes the wheel turn. In the BB-8 building world, which is quite large, the drive mechanism has come to be called a hamster drive, or just a hamster.

Magnets holding the head on
Magnets holding the head on

For the head, it seemed obvious that there would be magnets inside the ball, perhaps held in place near the top of the ball by a post extending up from the hamster. Corresponding magnets in attraction would then be attached to the underside of the head, and balls (also mounted under the head) would keep the head moving smoothly over the ball.

The magnet approach for the head has turned out to be the method used by all BB-8 builders that I’ve seen. However, the hamster has turned out to be only one of multiple solutions. Since the original debut many different methods have been used in builds and we’re going to have a lot of fun looking at each separate approach. It’s almost like revealing a magic trick; but really it’s all just clever engineering.

Note that for the actual movie, a combination of 7 or 8 props and CGI were used. The official working BB-8s that are shown at various promotional events were built after the movie was made and as of this writing, few details of their construction have been released. One notable detail, however, is that they aren’t using hamster drives.

Below are details of all the different BB-8 drive systems I’ve seen so far that have been built along with how they work.

Continue reading “Driving BB-8: More Than One Way To Move This Bot”

Find A Drone

Flying a drone usually leads to–sooner or later–crashing a drone. If you are lucky, you’ll see where it crashes and it won’t be out of reach. If you aren’t lucky, you’ll know where it is, but it will be too high to easily reach. The worst case is when it just falls out of the sky and you aren’t entirely sure where. [Just4funmedia] faced this problem and decided to use some piezo buzzers and an Arduino to solve it.

Yeah, yeah, we know. You don’t really need an Arduino to do this, although it does make it easy to add some flexibility. You can pick two tones that are easy to hear and turn on the buzzers with a spare channel or sense a loss of signal or power.

Continue reading “Find A Drone”

Chomper Antweight Robot Kraves Combat

Antweight combat robots are really lightweight. [Carter Hurd] used leftover materials to create a dustpan robot with a chomper (comically made from a Krave cereal box) to hold captured competitors in place. The main body is made of foam board. The only metal is in the front wedge which is lifted by a servo to help trap the other robot.

[Carter] fully expects the foam to be eaten by competitors during the match. This led him to position his electronics at the center of the robot to keep it from being damaged. We’ll have to see how well that works. He’s hoping for an advantage over vertical flip weapons since they may simply cut through the foam without getting enough purchase for a flip.

The electronics is on a modular board so it can be easily moved from one robot to another. All that is on the board is the RC receiver and two FingerTech Tiny Electronic Speed Controllers. A battery is slung underneath.

Best of luck for Krave ‘bot eating up the opposition. We’ve seen some other light weight designs in the cardboard competitors from the Columbia Gadget Works makerspace.

Continue reading “Chomper Antweight Robot Kraves Combat”

The OpenR/C Project

The Open RC Truggy that started it all.
The Open RC Truggy that started it all.

[Daniel Norée] started the OpenR/C project back in 2012 when he bought a Thing-O-Matic. In search of a project to test out his new printer, he set his sights on a remote controlled car, which as he put it,”… seemed like the perfect candidate, as it presents a lot of challenges with somewhat intricate moving parts along with the need for a certain level of precision and durability.

After releasing his second design, the OpenR/C Truggy, he realized a community was forming around this idea, and needed a place to communicate. So, he created a Google+ group. Today, the Truggy has been downloaded over 100,000 times and the Google group has over 5,000 members. It’s a very active community of RC and 3d printing enthusiasts who are testing the limits of what a 3d printer can do.

Continue reading “The OpenR/C Project”

Surviving The FAA Regulations: Modelers Move Indoors

New FAA rules are making radio-controlled aircraft a rough hobby to enjoy here in the USA. Not only are the new drone enthusiasts curtailed, but the classic radio-controlled modelers are being affected as well. Everyone has to register, and for those living within 30 miles of Washington DC, flying of any sort has been effectively shut down. All’s not lost though. There is plenty of flying which can be done outside of the watchful eye of the FAA. All it takes is looking indoors.

Continue reading “Surviving The FAA Regulations: Modelers Move Indoors”