Sensor
There are thousands of sensors,like Arduino,MicroPython has tons of universal modules formed by communities.
This book arrange varieties of sensors with similar using method.Look through itin:usage of module
Copy file of module to file systems of OpenMV,most of it can take something as an example.