Connect with us

Arduino Coding Help

Discussion in 'Microcontrollers, Programming and IoT' started by tommis15, Dec 12, 2014.

  1. tommis15

    tommis15

    20
    0
    Apr 15, 2014
    Hi all...

    I am working with this arduino shield: http://www.pololu.com/product/2506

    I found sample code to make the robot detect a collision while it's in sumo mode.

    What I need is to make it follow a line and make the buzzer tone when there is a collision...

    Can someone help me with this... The accelerometer on it is LSM303.

    There are libraries available for both the accelerometeter and the zumo. Could someone help me develop this code?
     
  2. Anon_LG

    Anon_LG

    453
    117
    Jun 24, 2014
    Hello tommis15

    What level of experience do you have with electronics? How exactly do you want to detect a collision in line follow mode, do you want to use the accelerometer to detect a sudden stop, or other method? I would recommend an ultrasonic distance sensor for collision detect. Once you have answered the above questions then we/I can help you.
     
  3. tommis15

    tommis15

    20
    0
    Apr 15, 2014
    I've already solved the issue, thanks for the reply anyway...
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-