Comments: Experiment Guide for RedBot with Shadow Chassis

Pages

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.

  • -------------------- 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:

     while (rCount < targetCount)
    

    to

     while (rCount > targetCount)
    

    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.

  • Member #779642 / about 9 years ago / 1

    My program wont let me change the pins the encoders are set to, Any ideas on how to fix it?

  • 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!