Encoding DC Motor Steps

Now that I have successfully encoded the stepper motor position for LIDAR, I turned my attention to encoding the DC motors that I am planning to use for running the robot wheels. There are several good examples of this online, but most use quadratic encoders (DC motors with embedded dual encoders in them, usually magnetic). Unfortunately I don’t have any such motors at hand, and I have many, many DC motors so I am hesitant to buy more....

April 23, 2021 · 2 min · Taylan Pince

Encoding LIDAR Position

I finally ran into an issue that I have been dreading for a while: Encoding the actual position of the LIDAR pulley mechanism. Now that the LIDAR scan works, I need accurate position data alongside the measurements. As reliable as my ridiculously powerful stepper is, it’s not a servo and doesn’t know which position it starts from. There are various ways of solving this, with varying levels of budget and difficulty:...

April 18, 2021 · 3 min · Taylan Pince

LIDAR Positioning with Pulley System and Stepper Motors

After a few days of struggling with stepper motor controls, I finally got everything working reliably last night. There were a lot of learnings along the way, most of them not very well explained on most tutorials I found online. My problem was essentially that I have a ridiculously powerful set of steppers. I kept referring to them as NEMA-14, but while reading this guide from Adafruit, I learned that NEMA nomenclature doesn’t mean much other than enclosure size....

April 14, 2021 · 3 min · Taylan Pince

Driving LIDAR with Stepper Motors

I got the stepper motor working tonight. This was significantly harder than I expected. I had several motor driver boards lying around, and thought I would make my job easier and use an Arduino Motor Shield. As it turns out, running steppers with it is not that straightforward. I tried several libraries, everything from the standard Stepper library to the AccelStepper, which is supposed to be state of the art....

April 10, 2021 · 2 min · Taylan Pince

Project Rover: Intro

I have been researching various ways to build a radar for robotic projects. I already have a Garmin LIDAR Lite I had bought years ago, so LIDAR seems to be the best way to go. However, my research shows that there are several additional parts that are also required: A slip ring, to keep the rotating LIDAR module in connection with the rest of the robot Some kind of pulley mechanism to rotate the unit A stepper motor or a brushed motor for rotation In the case of a brushed motor, an encoder would be needed to calculate exact position Wide metal bearing of some sort A timing belt or similar for pulley I found several projects that show some level of success with this method:...

April 5, 2021 · 2 min · Taylan Pince