Raspberry Pi Pico MicroPython Chapter 9

Опубликовано: 14 Май 2026
на канале: Darren Holmes
1,417
28

Chapter 9 is about building a Data Logger. I will be showing you the Pico's file system were we will be writing data to the pico's 2mb ram. To make the Data Logger a headless operation I will show you how to use main.py to automatically run the Data Logger program whenever the pico is powered up. To use the recorded data it must be downloaded to your computer to do this you must use Thonny's file transfer functions.
Note:
There was a problem following the chapter because every time the pico is powered, it overwrites the file, deleting all recorded values, so I demonstrate how to open files for appending.


More information on using uPythons OS Library: Great 6 min. video by Kevin McAleer
   • Managing files on the Pico with MicroPython  


More information on using Pythons File System:
https://www.w3schools.com/python/pyth...