Information system master unit
-
Hardware:
- Raspberry Pi Pico W.
- USB cable with data transfer capability.
-
Software:
- Visual Studio Code (VSCode) installed.
- VSCode Extension: MicroPico.
- Python 3.x (preferably version 3.11 or newer).
- MicroPython UF2 file installed on the Raspberry Pi Pico W.
Follow the official MicroPython setup guide for installing it on your Pico.
- Open Visual Studio Code.
- Go to the Extensions panel and install the MicroPico extension.
- After installing, ensure your Raspberry Pi Pico is connected to your computer via USB.
- Copy the repository to your local machine:
git clone https://github.com/publictransitdata/ISMU.git
cd ISMU- Ensure Python files for your project are located in a directory that will be synced to the Pico. Typically, this is the project’s root directory.
- Launch Visual Studio Code and open the project directory:
code .- Right-click on area in folder/project view.
- In the context menu that appears, select Initialize MicroPico project
- At the bottom of vs studio you will see a button with the same name and you have to click it
- To upload your code:
- Right-click on the file you want to upload in the side panel (or folder/project view).
- In the context menu that appears, select Upload File to Pico
- Right-click on the file you want to run In Mpy Remote Workspace.
- In the context menu that appears, select run current file on Pico