Wireless Arduino control for 3pi Pololu robot
Sign in to YouTube
Sign in to YouTube
Sign in to YouTube
Published on Jan 26, 2013
Here one of my robotics projects.
It is a simple Transmitter-Receiver wireless control.
The transmitter comprehends an Arduino Fio with a XBee 802.15.4 module, a 2-axis joystick and a rechargeable baby battery.
The receiver comprehends a 3pi Pololu robot with 3pi wireless robot shield, a XBee 802.15.4 module and 4 AA batteries.
Robotics control concept:
XBee Joystick Control:
Continuously, the Fio reads the X and Y analog voltages (0 to 3.3v) from the joystick's potentiometers connected to A0 and A1. Each voltage represents the position of one of the axis of the joystick as a raw motor speed reference. When the joystick's knob is in its origin, the axis voltages are the same: 1.65v. The Fio converts each axis voltage into a value between 0 to 256 (1 byte). Then, dividing them by 16, each value is scaled into 4 bits (1 nibble). Finally, the Fio packages them into one byte and sends this data byte via XBee to the robot.
XBee 3pi Pololu Robot:
Continuously, the robot receives a data byte from the wireless control and breaks it back down into two nibbles. The most significant nibble indicates the position of one of the axis of the joystick, and the least significant nibble for the other axis. This gives 2 ^ 4 = 16 different speed readings that the code converts into motor voltages.
One joystick axis controls throttle (forward/reverse) and the other to controls steering (left/right). I mixed the axis readings as follows:
LeftWheel = motorSpeed1 + motorSpeed2.
RightWheel = motorSpeed1 - motorSpeed2.
Where motorSpeed1 is throttle and motorSpeed2 is steereing.
Notice that if motorSpeed2 is zero, both motors are set to the same speed and if motorSpeed1 is zero, both motors are set to opposite speeds.
Both XBee radio modules have been matched up using X-CTU.
You can find more details of this project at the Arduino forum.
I am Palliser
-
Category
-
License
Standard YouTube License
Loading...
Loading...
Loading...
Loading...
-
5:06
Arduino Robot assembly video - Pololu round robot chassisby Lonnie HoneycuttFeatured
1,296
-
20:09
Tutorial 02 for Arduino: Buttons, PWM, and Functionsby sciguy14
287,309 views
-
14:32
Tutorial 01 for Arduino: Getting Acquainted with Arduinoby Jeremy Blum
468,671 views
-
0:19
Dalek Robotby Andy Grove
12,410 views
-
0:13
DIY Automatic cat feeder with Arduinoby mgrenonville
3 views
-
0:10
Raspberry Pi and Arduino powered Dalekby Andy Grove
7,609 views
-
0:44
arduino particle system fuzzy thingyby giladaya
3,270 views
-
5:52
Liquid Lifebar, an Arduino projectby bfayer
213,654 views
-
0:07
Poladroid Robotby Aleator777
91 views
-
0:44
Vine Time-Lapse Rig using Arduinoby IHPArchives
7,374 views
-
0:07
#Adafruit6Secsby Marcelo Maziero
446 views
-
3:25
vision-based trajectory control: artoolkit + arduino fio robot + xbeeby Procópio Stein
1,684 views
-
0:36
Analog meter with Arduino and HD44780 LCDby makkopaa
2 views
-
0:33
Pololu 3pi Robot with Arduino IDE (Buzzer Library)by Idris Zainal Abidin
1 view
-
14:59
Arduino Controlling an H-Bridge "EXPLAINED"by Huckleberry Febbo
6,567 views
-
0:24
3pi Pololu Robot Controlled via XBee moduleby IgorSlepchenkov
303 views
-
13:12
Tutorial 3 - Imparare Arduinoby NiktorTheNat
39,595 views
-
1:55
Tutorial 2 - Imparare Arduinoby NiktorTheNat
30,600 views
-
16:12
Tutorial 03 for Arduino: Electrical Engineering Basicsby Jeremy Blum
170,749 views
-
11:12
Tutorial 5 - Imparare Arduinoby NiktorTheNat
21,567 views
- Loading more suggestions...
All Comments (0)