Once selected and added, you should see it on the left hand side of the program. First you must open XCTU and in the upper left hand corner click the "Discover Radio Devices" icon. We can directly access our XBee's serial terminal with it plugged into the computer. This test sketch (loaded to the Arduino) should turn on the forward throttle when the Arduino XBee reads an "f" in it's serial terminal, backward when a "b" is read, and off when an "o" is read. With one XBee connected to our assembly and one connected to the computer (via the mini usb adapter) we can now test that the XBees are communicating correctly. Note - Most RC cars use a servo for steering instead of a DC motor (most servos have 3-wire leads) A,B,C = Radio Channels from controller (Black, Green and White Leads).With your hand on the throttle, probe the circuit board and record the voltages needed to operate the motors. Since all of our electrical components are still attached we can simply use the car's stock radio controller to test the voltages. 2 Wires lead to the back (again one black and one red). For us we see that 4 wires lead to the front (one black and one red - for throttle, one purple and one gray - for steering). For this 4-wheel-drive RC Car (Maisto Rock Crawler), it has 3 DC motors two controlling throttle (one for the front axis and one for the back) and one controlling steering (on the front axis). Locate the wires that connect the circuit board to the motors/servos.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |