Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Line Follower Robot - Arduino & L298

  • 17-04-2016 2:21am
    #1
    Registered Users Posts: 284 ✭✭


    Hey, can you point me in the right direction to program this bot? I'm using five QDR1114 sensors. Hardware is working properly, 4v or greater detects black, less than that detects white, thanks.


Comments

  • Registered Users, Registered Users 2 Posts: 6,872 ✭✭✭zg3409


    street wrote: »
    Hey, can you point me in the right direction to program this bot? I'm using five QDR1114 sensors. Hardware is working properly, 4v or greater detects black, less than that detects white, thanks.

    What inputs are the sensors connected to?
    Which sensor is which input?
    What outputs are the motors connected to?

    Did you buy it as a kit? link?


  • Registered Users Posts: 284 ✭✭street


    zg3409 wrote: »
    What inputs are the sensors connected to?
    Which sensor is which input?
    What outputs are the motors connected to?

    Did you buy it as a kit? link?

    Thanks zg3409, sorry for the late reply.. I managed to get the line follower working after some more research. I used an Arduino Uno and this motor driver shield http://www.dfrobot.com/wiki/index.php/Arduino_Motor_Shield_%28L293%29_%28SKU:_DRI0001%29 Used Analog inputs 1-5 for sensors e.g Sensor 1 to A1 (leftmost sensor), Sensor 3 to A3 (middle sensor) and Sensor 5 to A5 (rightmost sensor). PWM from arduino output pins 5 and 6 and motor direction from pins 4 and 7 (digital pins) .


Advertisement