How simonmonk/raspberrypi_cookbook_ed4 works
This repository is a collection of Raspberry Pi and Pico Cookbook examples, not one integrated application. The common user workflow is to run an individual chapter recipe, which reads input or a sensor and produces an output such as a display, device action, saved image, or web response. Groups below reflect the major capability areas in the tree. The sampled code supports only some links; unsampled chapter examples are represented by their enclosing directories where appropriate.
Main entry points: ch_09_person_detector.py Person detector · web_sensor.py Temperature web app · ch_10_servo.py Pico servo control · ch_18_badger.py Temperature display
Components 23
Python recipes
- Data and scripting
python - GUI examples
python
Vision and audio
- Person detector
python/ch_09_person_detector.py - Whistle detector
python/ch_09_detect_whistle.py
Hardware projects
- Pico recipes
pico - Sensor recipes
python - Motor and servo recipes
python - Pico servo control
pico/ch_10_servo.py - Temperature display
pico/ch_18_badger.py
Web and networking
- Temperature web app
python/ch_17_web_sensor/web_sensor.py - Pico web server
pico/ch_19_webserver/pico_w_server.py - Microdot framework
pico/ch_19_webserver/microdot.py - Wi-Fi connection helper
pico/ch_19_webserver/mm_wlan.py - Plant monitor driver
pico/ch_19_webserver/pmon.py
Other components
- Recipe user
- Camera
- Audio input
- Image output
- Physical sensors
- Servo or motor
- Badger display
- Web client
- CPU temperature
Connections 19
- Recipe user → Data and scripting: runs recipe
- Recipe user → GUI examples: runs recipe
- Recipe user → Person detector: runs detector
- Recipe user → Whistle detector: runs detector
- Recipe user → Pico recipes: runs recipe
- Recipe user → Sensor recipes: runs recipe
- Recipe user → Motor and servo recipes: runs recipe
- Recipe user → Temperature web app: starts server
- Recipe user → Pico web server: starts server
- Camera → Person detector: provides frames
- Person detector → Image output: saves image
- Audio input → Whistle detector: provides audio
- Physical sensors → Pico servo control: button input
- Pico servo control → Servo or motor: sets servo
- Physical sensors → Temperature display: provides readings
- Temperature display → Badger display: updates display
- Web client → Temperature web app: sends request
- Temperature web app → CPU temperature: reads temperature
- Web client → Pico web server: sends request