Skip to content

I've been itching to talk to some sensors lately. I also want to dive deeper into development using FreeRTOS. Check out this inexpensive LIDAR system from Adafruit: I keep thinking about it; Wouldn't it be cool to scan a room. Even if it's a 2D map, it looks pretty neat. There is already PC software for the mentioned device that will show a point-map of the data. There is a tutorial on Adafruit but it's using python and a raspberry pi...basically a computer. Computers are cool and all, but I would like to use a micro-controller to talk to the device directly over a UART connection without the computer being involved and see how far I can take it.

Enter my new project: Make'n Something that uses LIDAR [and FreeRTOS].

I have an STM32F767ZI development board I was gifted. That's a pretty powerful ARM processor in there and it's just collecting dust. I ordered the LIDAR from Adafruit along with some other goodies. It took about a week to get to me. No worries, I started a new FreeRTOS project while I waited and made things blink. It's available on github here:

After having set up one of the UARTs to transmit and receive data, I made a quick and dirty test today and successfully spoke to the LIDAR device. I was able to send the GET_INFO command and received back the data descriptor response that describes the data to follow. After that I called it a night and decided to write this.