KevsRobots Learning Platform

Build your own BurgerBot

49% Percent Complete

Loading the code

By Kevin McAleer,    1 Minute


Uploading the code

To upload the burgerbot.py file to a Raspberry Pi Pico using Thonny IDE, youā€™ll need to follow these steps:

  1. Connect the Raspberry Pi Pico to your computer using a USB cable.
  2. Open Thonny IDE on your computer.
  3. Go to the ā€œToolsā€ menu and select ā€œOptionsā€.
  4. In the ā€œOptionsā€ window, go to the ā€œInterpretersā€ tab.
  5. Under ā€œInterpretersā€, select ā€œRaspberry Pi Picoā€ from the list of available devices.
  6. Click ā€œOKā€ to close the ā€œOptionsā€ window.
  7. In Thonny, go to the ā€œFileā€ menu and select ā€œOpenā€.
  8. Locate the burgerbot.py file on your computer and select it.
  9. In Thonny, go to the ā€œFileā€ menu and select ā€œSave Asā€.
  10. Save the file to the Raspberry Pi Pico.
  11. In Thonny, go to the ā€œRunā€ menu and select ā€œRun Current Scriptā€.
  12. The output of the script will be displayed in the Thonny IDE console.

< Previous Next >