Comments: Building the HUB-ee Buggy

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.

  • Member #401635 / about 10 years ago * / 1

    Hi Everyone,

    The code posted on the tutorial didn't work for me, the analogue pin for the IR detector wasn't evaluated because sharpIR (A4) is always equal to the pin value register.

    I have changed the line

    while(sharpIR < tooClose){

    to
    while(analogRead(sharpIR) < tooClose){

    and it worked like a charm.

    Thanks for the tutorial, it really helped me to understand that we can build small funny robot with few components.

  • Jim (JR) / about 11 years ago / 1

    This is actually pretty darn slick!

    I have had some ideas about interfacing an Arduino with a 3-axis gyro board and needed an application to use as a "proof of concept" of my design thoughts. This sounds like just want the Dr. ordered! If I do this right, I should be able to take the gyro board, add (ahem!) "just a wee bit of code" and make it self-stabilizing without needing the standoffs, sort of like a miniature Segway. Of course, if anyone wants to beat me to it - and post code & video - go right ahead! Seriously, it would be very interesting to see the different ways a project like this could be implemented.

    Thanks for a VERY interesting product idea!

    Jim (JR)


If you've found an issue with this tutorial content, please send us your feedback!