This CircuitPython tutorial demonstrates how to build a battery powered Bluetooth BLE client remote control to operate a BLE server peripheral hosting a solenoid and a spectrally selective light detector.
All the code, schematics, notes and updates are available on my website:
https://www.rototron.info/circuitpython-ble-client-server-tutorial/
This is the 5th video in my CircuitPython tutorial. Here's a link to the full playlist:
https://www.youtube.com/playlist?list=PLKGiH5V9SS1g90s9mHTMPJT1i8N4fXWNT
Adafruit reached out to me and told me they liked my tutorial. They offered to pay me a small fee to publish it on their website: https://learn.adafruit.com/circuitpython-ble-remote-control-on-off