Page 1 of 1

Use 2 lsa08 with 1 Arduino mega

PostPosted: Wed Feb 14, 2018 1:23 am
by shyam0099
Hi. I want to use two line follower sensors lsa08 with 1 arduino mega.
Can someone please post a demo code for 2 lsa08? Thanks.

Re: Use 2 lsa08 with 1 Arduino mega

PostPosted: Wed Feb 14, 2018 4:22 pm
by Idris
Hi shyam0099,

Did you try to interface with 1 LSA08 sensor first? Anyway if you are new to this sensor, there have few tutorials at LSA08 product page that you can refer to.

Re: Use 2 lsa08 with 1 Arduino mega

PostPosted: Sat Feb 17, 2018 3:37 am
by shyam0099
Yes, i successfully tested 1 lsa08 with my Arduino. But am confused on how to get data from two lsa08 and then use it drive my 4 wheeled robot. If you could please help me with the code, it'd be great. Thanks again.