Comments: Experiment Guide for RedBot with Shadow Chassis
Looking for answers to technical questions?
We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.
My program wont let me change the pins the encoders are set to, Any ideas on how to fix it?
Can you change the A2 and 10 pins in the line
RedBotEncoder encoder = RedBotEncoder(A2, 10);?
I made a processing sketch to take comma-separated values from my "Inventors kit for Redbot" and produce an on-scale 3d representation of the robot's pitch and roll (from accelerometer) and wheel positions (from encoders).
I have to say that the pitch and roll axis are very accurate but the yaw axis is very jittery (which is understandable without a dedicated compass).
If you've found an issue with this tutorial content, please send us your feedback!
-------------------- Tech Support Tips/Troubleshooting/Common Issues --------------------
Reverse in Experiment 7.3?
If you are having issues trying to reverse in "Experiment 7.3 - Driving a “straight” distance", try modifying the comparison operator on line 85) by changing:
The issue also might be relative to how the wires were connected to your motor driver.
Wireless Remote Controlled RedBot with XBees
If you are trying to use the Wireless Joystick to control the RedBot with XBees, I have some basic example code listed here. Compared to experiment 9, the code does not handle the motor's intensity:
If you are using the example 1 from the Wireless Joystick Hookup Guide, you just need to remove the character padding and adjust the motor values used for the RedBot.