Now two ToF sensors are on board!
General I2S device has some selectable address but the ToF sensor, VL53L0X has a fixed address (non-switchable). Instead, it has "shutdown" pin and we can use it as if CS of SPI. In this board, two shutdown pins (low-active) are connected to D4 and D5 of ATmega328p.
The white line on PCB is a cutting line and we can detach two sensor parts and connect with jumper or flat cable to main board. Of course, still motor driver DRV8830 is on-board!
Sample code to drive two ToF sensors are uploaded in the file area of this project. Actual operation can be found in the following youtube movie,, have fun!
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.