Notifications
Clear all

Controlling stepper with VCSEL distance sensor

2 Posts
2 Users
0 Likes
2,448 Views
 TimG
(@timg)
Member
Joined: 4 years ago
Posts: 1
Topic starter  

Thank you for adding me. I'm trying to control a nema 17 with a VCSEL laser distance sensor. The closest code I could find uses a small clickable rotary encoder. I need to pass the instant measurement of the sensor so the motor moves a number of steps instantaneously. I'm not trying to get free code, just a few pointers as to how to pass the variable between the sensor readings to stepper part of the code. Any pointers or pseudo code are much appreciated.


   
Quote
(@zeferby)
Member
Joined: 5 years ago
Posts: 355
 

Hello @timg , maybe you could post what your code currently looks like, it would be easier to help you then.

Eric


   
ReplyQuote