![]() If not, you can use some male and female jumpers stuck together. You'll need to use male-female jumpers if you have them. Notice that the RC receiver is upside-down, I flipped it to make it easier to trace my wires. Here's a diagram of how I hooked mine up: This means we need three digital pins to read the input, as well as 5V power to the receiver. The RC transmitter/receiver pair that I have is six channels, but we'll just hook up three for now. ![]() This is handy because it allows us to plug the receiver into the Arduino which can interpret the "servo language" and decide how to use it.Īlright, that's the spirit! We'll hook up a few channels from the RC receiver to get a feel for what the input from the transmitter looks like. These headers are lined up so that the servos in your model can be plugged directly into the receiver. Although they come in various shapes and sizes, they all share a common feature: a row of servo headers. Since most RC models can be generalized as a fancy box of servos, that's exactly what the receiver is set up to control. RC transmitters generally have somewhere between four and six of these channels. In other words, a joystick covers two channels (x and y), whereas a dial or switch will cover one. Each degree of freedom that the controller gives you is assigned a channel. A typical transmitter will have a few control surfaces, like wheels or joysticks, as well as some switches or dials. ![]() Radio-control transmitters and receivers are usually used to drive model cars or planes. It's no big deal, I'll walk you through it. That Sounds Great but I've Never Touched an RC Transmitter. ![]() In this tutorial, I'll take you through the basics of using your Arduino to interpret commands from an inexpensive RC remote, so you can control anything, from a simple four-wheeled robot to your favorite processing sketch! It turns out that connecting an RC receiver to your Arduino project is about the same as connecting a servo, and the code is just as simple. RC transmitter/receiver combos range from the simple and inexpensive to the seriously tricked-out, but the nice thing about them is that they all stick to a standard which makes them largely interchangeable. You find yourself thinking, "I remember the good old days when I just put batteries in the RC car and pushed the stick and it moved." Sometimes it's not a bad idea, but more often than not it's an over-powered and somewhat frustrating way to go. Most of the time, it's tempting to implement this yourself using XBee or some other wireless technology. ![]() Robots, cars, robotcars, and all sorts of prank devices require some degree of remote control. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |