Advanced Auto-Calibrating Line Sensor_SLA08

Autonomous Robot, Manual Robot, DC Motor Driver, Stepper Motor Driver, Servo, Multi PWM chip.....

Re: Advanced Auto-Calibrating Line Sensor_SLA08

Postby ober » Thu May 12, 2016 11:02 am

Have you check the data from LSA using computer?
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1397
Joined: Wed Apr 15, 2009 1:03 pm

Re: Advanced Auto-Calibrating Line Sensor_SLA08

Postby Kalman » Thu May 12, 2016 1:58 pm

The data from LSA08 to computer is correct.
Kalman
Freshie
 
Posts: 6
Joined: Tue May 10, 2016 10:46 pm

Re: Advanced Auto-Calibrating Line Sensor_SLA08

Postby ober » Thu May 12, 2016 5:16 pm

If the data from LSA08 to computer is correct, then it will be the program on STM, right?
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1397
Joined: Wed Apr 15, 2009 1:03 pm

Re: Advanced Auto-Calibrating Line Sensor_SLA08

Postby Kalman » Fri May 13, 2016 1:32 am

Yes, I think the LSA08 is working fine. So, I will try to troubleshoot my coding. Thanks for your advice.
Kalman
Freshie
 
Posts: 6
Joined: Tue May 10, 2016 10:46 pm

Re: Advanced Auto-Calibrating Line Sensor_SLA08

Postby ober » Fri May 13, 2016 8:32 am

I believe the bugs is in the printf function. Try playing with that.
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1397
Joined: Wed Apr 15, 2009 1:03 pm

Re: Advanced Auto-Calibrating Line Sensor_SLA08

Postby Kalman » Sat May 14, 2016 8:16 am

The problem had been solved last night, it is due to I didn't connect both STM32 and LSA08 to common ground. Thanks for your help. :)
Kalman
Freshie
 
Posts: 6
Joined: Tue May 10, 2016 10:46 pm

Re: Advanced Auto-Calibrating Line Sensor_SLA08

Postby ober » Sun May 15, 2016 10:32 pm

Good to hear that, do share the actual hardware setup photo :)
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1397
Joined: Wed Apr 15, 2009 1:03 pm

Previous

Return to Robot Controller

Who is online

Users browsing this forum: No registered users and 11 guests

cron