
github.com/veebch/photon. VCC and GND are also
connected to the Pico, for all but the switches.
2. SOFTWARE
For the Pico firmware, download and install the
UF2 image from github.com/pimoroni/pimoroni-
pico/releases. (You need it to use the Pimoroni
drivers for the light sensor.)
We wrote the Photon code based on simple
math that converts the illuminance returned by
the light sensor to exposure value (github.com/
veebch/photon/#appendix). Clone the repo:
cd ~
git clone https://github.com/veebch/
photon.git
cd photon
Check the Pico port:
python -m serial.tools.list_ports
Using the port path (in our case /dev/ttyACM0),
copy the code to the Pico using ampy ...