KevsRobots Learning Platform

Build your own BurgerBot

42% complete

Reset my progress

Loading the code

Learn how to upload the burgerbot.py file to a Raspberry Pi Pico using Thonny IDE.

By Kevin McAleer,    1 Minute


Uploading the code

To upload the burgerbot.py file to a Raspberry Pi Pico using Thonny, follow these steps:

  1. Connect the Raspberry Pi Pico to your computer using a USB cable.
  2. Open Thonny on your computer.
  3. Go to the Tools menu and select Options.
  4. In the Options window, go to the Interpreter tab.
  5. Select MicroPython (Raspberry Pi Pico) from the list.
  6. Click OK to close the Options window.
  7. Go to the File menu and select Open, then open burgerbot.py from your computer.
  8. Go to the File menu and select Save as, choose Raspberry Pi Pico, and save it as burgerbot.py.
  9. Create a new file, type from burgerbot import Burgerbot and run it with the green Run button. If there’s no error, the library is installed.

Make it run on its own

Save a program on the Pico as main.py and it will run automatically whenever the robot is switched on, without a computer attached.


< Previous Next >

You can use the arrows  ← → on your keyboard to navigate between lessons.


What are you looking for?
Watch Videos Get Ideas Learn Something Read a Review Read the Blog Search
... Z Z z