Today I reviewed and expanded the setup instructions for this project, which combines a Raspberry Pi Zero 2 WH with an Adafruit MCP9808 temperature sensor. The main priority was identifying whether any important steps were missing from the project instructions.
After reviewing the current sequence, I added a new instruction step for installing the required Python dependencies before running the temperature logging script. This new step explains how the project requires adafruit-blinka and adafruit-circuitpython-mcp9808, which allow the Raspberry Pi to communicate with the MCP9808 sensor through Python and the I2C interface.
I also reviewed the app.py file used by the project and confirmed Python’s built-in modules do not need to be included in the dependency list. From there, I created the contents for a simple requirements.txt file and added the new instruction, which is titled "Install The Required Python Dependencies".
Finally, I considered how this new dependency step fits into the larger project flow, especially before running the logger inside a screen session. This makes the instructions more complete and should help future users avoid errors when reproducing the project.
Bret Bernhoft
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.