Difference between revisions of "PicoMite"
Line 31: | Line 31: | ||
The LED on the Raspberry Pi Pico will blink slowly indicating that the PicoMite firmware with MMBasic is now running | The LED on the Raspberry Pi Pico will blink slowly indicating that the PicoMite firmware with MMBasic is now running | ||
+ | '''Set up Virtual Serial Port for Terminal Emulator''' | ||
+ | In Windows start '''Device Manager''' and check the "Ports (COM & LPT)" entry for a new COM port. | ||
+ | The '''terminal emulator''' that you use should support VT100 emulation as that is what the editor built into the PicoMite expects. | ||
+ | If you are using '''Tera Term''' do not set a delay between character. | ||
+ | Using '''Putty''' set the backspace key to generate the backspace character. | ||
+ | The '''PicoMite''' ignores the '''baud rate''' setting so it can be set to any speed | ||
+ | (other than '''1200 baud''' which puts the Pico into firmware upgrade mode) | ||
+ | I used the following settings with Putty | ||
+ | '''Serial''' Connection - Baud rate '''38400''' - '''8''' bits - '''No''' parity - Backspace Key = '''(CTRL H)''' | ||
+ | |||
+ | |||
---- | ---- | ||
==[[ Future Classes ]]== | ==[[ Future Classes ]]== | ||
==[[ Main Page ]]== | ==[[ Main Page ]]== |
Revision as of 02:31, 8 June 2022
PicoMite
How to use a Raspberry Pi Pico Running the MMBasic Interpreter The PicoMite firmware is totally free to download and use.
MMBasic Microsoft BASIC compatible implementation of the BASIC language with a built in program editor. Supports floating point, integer and string variables, arrays, long variable names. Using MMBasic with the PICO can control the I/O pins and detect digital inputs and drive output pins low or high. Use communications protocols such as I2C or SPI to get data from a variety of sensors.
The PicoMite firmware is totally free to download and use. link to PicoMite https://geoffg.net/picomite.html
Setup
Loading the PicoMite Firmware to the Raspberry Pi Pico board. The Raspberry Pi Pico comes with its own built in firmware loader that is easy to use.
Just follow these steps: 1. Download the PicoMite firmware from http://geoffg.net/picomite.html and unzip the file. 2. Identify the firmware which should be named something like “PicoMiteV5.xx.xx.uf2”. 3. Using a USB cable plug the Raspberry Pi Pico into your computer (Windows, Linux or Mac) while holding down the white BOOTSEL button on the Raspberry Pi Pico. 4. The Raspberry Pi Pico should connect to your computer and create a virtual drive (the same as if you had plugged in a USB memory stick) called “RPI-RP2”. This drive will contain two files which you can ignore. 5. Copy the firmware file (with the extension .uf2) to this virtual drive. 6. When the copy has completed the Raspberry Pi Pico will restart and create a virtual serial port on your computer. The LED on the Raspberry Pi Pico will blink slowly indicating that the PicoMite firmware with MMBasic is now running
Set up Virtual Serial Port for Terminal Emulator
In Windows start Device Manager and check the "Ports (COM & LPT)" entry for a new COM port. The terminal emulator that you use should support VT100 emulation as that is what the editor built into the PicoMite expects. If you are using Tera Term do not set a delay between character. Using Putty set the backspace key to generate the backspace character. The PicoMite ignores the baud rate setting so it can be set to any speed (other than 1200 baud which puts the Pico into firmware upgrade mode) I used the following settings with Putty Serial Connection - Baud rate 38400 - 8 bits - No parity - Backspace Key = (CTRL H)