You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The VL6180X acts as our antenna's deployment sensor. By comparing the distance detected when the antennas are stowed vs when they are deployed, we can provide a feedback input to our burn wire command and tell it to stop once the antennas are free!
Click on this image for an example of the deployment!
This component should:
Recognize the I2C Device on the Selected Bus
Call the distance (aka range) value from the sensor in mm
Call the ambient light value from the sensor
Allow for writing a calibration value to the sensor
This component might make more sense just being completely integrated into a burnwire component rather than a standalone, but we'll keep them separate for now just to make development a little easier. Although we don't currently use the VL6180 for anything after detecting a successful antenna deployment, we might be able to retrofit it as a sun sensor.
Note that the VL6180 is connected to the Battery Board through its debug connector to the top cap, which carries the I2C1 bus up to connect with the sensors on that top cap.
One of the most common hiccups with using the VL6180 is having to properly set a calibration value that is unique to each sensor. This calibration value basically sets a zero and you'll find many sensors that will report wildly different numbers if it is not set correctly.
What Does This Component Do?
The VL6180X acts as our antenna's deployment sensor. By comparing the distance detected when the antennas are stowed vs when they are deployed, we can provide a feedback input to our burn wire command and tell it to stop once the antennas are free!
Click on this image for an example of the deployment!
This component should:
distance
(akarange
) value from the sensor in mmDesign Notes
VL6180 Datasheet
Adafruit VL6180X Library
Adafruit VL6180X Library Reference
This component might make more sense just being completely integrated into a
burnwire
component rather than a standalone, but we'll keep them separate for now just to make development a little easier. Although we don't currently use the VL6180 for anything after detecting a successful antenna deployment, we might be able to retrofit it as a sun sensor.Note that the VL6180 is connected to the Battery Board through its debug connector to the top cap, which carries the I2C1 bus up to connect with the sensors on that top cap.
One of the most common hiccups with using the VL6180 is having to properly set a calibration value that is unique to each sensor. This calibration value basically sets a zero and you'll find many sensors that will report wildly different numbers if it is not set correctly.
Example CircuitPython Implementation
In
pysquared.py
Reference Schematic
Required Hardware for Testing
The text was updated successfully, but these errors were encountered: