Difference between revisions of "PicoMite"

From media_wiki
Jump to: navigation, search
Line 2: Line 2:
 
  How to use a '''Raspberry Pi Pico''' Running the '''MMBasic''' Interpreter
 
  How to use a '''Raspberry Pi Pico''' Running the '''MMBasic''' Interpreter
 
  The PicoMite firmware is totally free to download and use.
 
  The PicoMite firmware is totally free to download and use.
 
+
Link to '''PicoMite'''  https://geoffg.net/picomite.html
  
 
  '''MMBasic'''  
 
  '''MMBasic'''  
Line 11: Line 11:
 
  Use communications protocols such as I2C or SPI to get data from a variety of sensors.
 
  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.
+
'''Loading the Firmware'''
link to '''PicoMite'''  https://geoffg.net/picomite.html
 
<BR>
 
 
 
'''Setup'''
 
 
  Loading the PicoMite Firmware to the '''Raspberry Pi Pico''' board.
 
  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.  
 
  The Raspberry Pi Pico comes with its own built in firmware loader that is easy to use.  
Line 38: Line 34:
 
  The '''PicoMite''' ignores the '''baud rate''' setting so it can be set to any speed  
 
  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)
 
  (other than '''1200 baud''' which puts the Pico into firmware upgrade mode)
  I used the following settings with Putty
+
  I used the following settings with '''Putty'''
  Comm '''Port9''' - '''Serial''' Connection - Baud rate '''38400''' - '''8''' bits - '''No''' parity - Backspace Key = '''(CTRL H)'''  
+
  Comm '''Port9''' - Connection '''Serial''' - Baud rate '''38400''' - '''8''' bits - '''No''' parity - Backspace Key = '''(CTRL H)'''  
  
 
    
 
    

Revision as of 12:56, 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.
Link to PicoMite  https://geoffg.net/picomite.html
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.

Loading the Firmware

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
Comm Port9 - Connection Serial  - Baud rate 38400 - 8 bits - No parity - Backspace Key = (CTRL H) 



Future Classes

Main Page