Use 2 lsa08 with 1 Arduino mega

Digital Fiber, Photoelectric, Laser Range, Optical, Temperature, Rotary Encoder, Ultrasonic, Gas, Gyro, Accelerometer, FlexiBend, Flexiforce, Compass......

Use 2 lsa08 with 1 Arduino mega

Postby shyam0099 » Wed Feb 14, 2018 1:23 am

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.
shyam0099
Greenhorn
 
Posts: 2
Joined: Wed Feb 14, 2018 1:20 am

Re: Use 2 lsa08 with 1 Arduino mega

Postby Idris » Wed Feb 14, 2018 4:22 pm

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.
Cytron Technologies invest time and resources providing tutorial, training and support for STEM education and maker movement. We need your support by purchasing products from Cytron Technologies. Thanks.
http://www.cytron.com.my
User avatar
Idris
Moderator
 
Posts: 409
Joined: Thu Mar 22, 2012 5:28 pm
Location: Pulau Pinang

Re: Use 2 lsa08 with 1 Arduino mega

Postby shyam0099 » Sat Feb 17, 2018 3:37 am

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.
shyam0099
Greenhorn
 
Posts: 2
Joined: Wed Feb 14, 2018 1:20 am


Return to Sensor

Who is online

Users browsing this forum: No registered users and 8 guests