12/25/2023 0 Comments Arduino wire library repeated start![]() InĬontrast to the more common approach - measuring the amount of light - it's independent ofīesides measuring range (0-~20 cm), it can measure ambient light and recognize gestures, but I willįor more information, have a look at ST's documentation ![]() Using a technique calledįlightSense, it measures the distance travelled by the light reflected from the target. Sensors, and has been on the market for a few years now. Is a range sensor by ST, which is part of a larger series of time-of-flight VL53L0X is more complicated than VL6180X so I broke it into a second blog post. NOTE: I ended up using VL53L0X on my sumobot, but I wrote a driver for the VL6180X first. Still, you should find this post helpful, even if you are writing a driver for something else. I will write a driver on the microcontroller MSP430 for the range sensor VL6180X, and some of the code will obviously be tied to this hardware. You should also be familiar with the C programming language. ![]() To follow along, you don't need to know the ins and outs of I2C, but you should have some familiarity - watch a youtube video or skim Your browser does not support loading mp4 or webm. I thought it would be valuable to take you through my implementation. I2C is a standard protocol, one that every embedded developer should know, and the best way to learn it is to implement a driver for it, therefore, ![]() I recently had to write an I2C driver for talking to the range sensors on my sumobot. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |