Skip to content

publictransitdata/ISMU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ISMU

Information system master unit

How to Run the Project on Raspberry Pi Pico W Using VSCode

Prerequisites

  1. Hardware:

    • Raspberry Pi Pico W.
    • USB cable with data transfer capability.
  2. 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.

Steps to Configure and Run the Project

1. Install and Configure MicroPico Extension

  • 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.

2. Clone the Project Repository

  • Copy the repository to your local machine:
  git clone https://github.com/publictransitdata/ISMU.git
  cd ISMU

3. Make Sure Required Files Are in Place

  • 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.

4. Open the Project in VSCode

  • Launch Visual Studio Code and open the project directory:
  code .

5. Initialize MicroPico project

  • Right-click on area in folder/project view.
  • In the context menu that appears, select Initialize MicroPico project

6. Toggle virtual MicroPico workspace

  • At the bottom of vs studio you will see a button with the same name and you have to click it

7. Upload Code to Pico

  • 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

8. Run the Script

  • 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

About

Information system master unit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages