This page presents a time of flight distance sensor based on an ATmega32M1 and VL6180 with an embedded CAN bus interface. The sensor can handle about 5mm to 200mm of range distance.
The schematics is based on an ATmega32M1 that read the sensor data through I²C, and make data available for CAN bus requests. The microcontroller has the following external devices:
The first part of the schematics contains the microcontroller with external devices:
The second part of the schematics contains sensors circuitry:
EAGLE PCB project, Solidworks files, BOM (Bill of Material), pictures, etc. can be downloaded here: