Home

Electronic Projects
  • Micromite Microcontroller
  • Micromite Plus
  • DDS Signal Generator
  • Super Clock
  • Boat Computer MkII
  • Parking Assistant
  • Micromite LCD Backpack
  • ASCII Video Terminal
  • GPS Controlled Clock
  • GPS Tracker
  • Colour Maximite Computer
  • The Original Maximite
  • The mini Maximite
  • Intelligent Fan Controller
  • GPS Synchronised Clock
  • GPS Boat Computer
  • GPS Car Computer
  • Making the GPS Computer
  • Energy Meter Firmware
  • ISM Band Scanner
  • Utility Power Supply
  • Precise Voltage Reference
  • Game of Pong
  • Water Level Meter


  • General Articles
  • Problems in Open Source
  • The Maximite Story
  • Programming PIC Micros
  • MMBasic on the UBW32
  • The TFT Maximite
  • Surface Mount is Easy
  • Measuring Capacitor ESR
  • EM-408 GPS Module
  • SG12232A LCD Driver
  • Custom PC Boards
  • The Gerber Format


  • Reviews
  • Hantek DSO-2250 Scope
  • Rigol DS1000 Scope
  • PIC C Compilers
  • Brickbats


  • PC Software
  • Weather Station
  • Mazing


  • About

     

     

     

    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Australia (CC BY-NC-SA 3.0)

    Micromite MkII FAQ

     

    Features and Capabilities

    Will you add features of the Micromite MkII to the original Micromite firmware for the PIC32MX150F128?

    No, the PIC32MX150F128 has a limited amount of flash memory and there is not enough spare memory for new features.  The original Maximite firmware will remain at Ver 4.5 although some bug fixes might be included.


    Will the unique Micromite MkII features be added to the Maximite/Duinomite/etc version of MMBasic?

    Yes, but not immediately. Note that some features are restricted by the hardware and cannot be ported (for example, the CPU command)..

     

    Does the Micromite have a RTC (real time clock) to keep track of the time?

    Yes, it does.  The TIME$ function tracks time and the DATE$ function will track the date including allowance for leap years, etc.  This is not particularly accurate and the date/time will be reset to zero on power up.  If you need an accurate time, it is recommended that you use the RTC command to get the time from a external battery backed and crystal controlled real time clock.


    Can I get data from a GPS module?

    Yes, no problem.  The MMBasic Library has a short program called GPS.BAS that shows how to get the latitude, longitude, speed, super accurate time of day and more from a GPS module.


    How can I update the firmware on a pre-programmed chip?

    You need a PIC32 programmer as the Micromite does not have the ability to update its flash itself (like the Maximite).


    Do I need to run both Tera Term and MMEDIT to use the Micromite?

    You only need to use one program or the other (although you can use both if you want to).

    Tera Term (http://download.cnet.com/Tera-Term/3000-20432_4-75766675.html) is a terminal emulator and it opens up a terminal window where you can type in commands and see the result. Using this you can use the editor built into the Micromite to edit your program.

    MMEDIT (http://www.c-com.com.au/MMedit.htm) is more sophisticated, it contains a terminal emulator (like Tera Term)) but it also has a Windows based editor built in which is much easier to use than the editor built into the Micromite. When you have finished editing the program in MMEDIT you can easily transfer it to the Micromite for testing.

    Both programs run on your PC.



    Using the Micromite and MMBasic

    Occasionally the cursor looses its place in the full screen editor compared to where new text is inserted.

    If ever the full screen editor gets confused just hit HOME twice. That will go to the top of the file, redraw the screen and reset the internal pointers that are used to track the cursor position.


    My Sony TV accepts 12-bit codes but IR SEND will not work with it.

    Most Sony products require that the IR message be sent three times with a delay of about 26mS between each transmission.  This link describes the Sony protocol and this link lists the valid messages.


    Do I need to be connected to a Micromite chip before Tera Term will accept input from the keyboard?

    Yes you do. When you press a key Terra Term will send it to the Micromite which will then echo it back. That way you can tell that your connection to the Micromite is correct... no connection means no echo.  The same applies if you are using the ASCII Video Terminal.

     

    When connecting the Micromite to a LCD module the pin numbers on the Micromite are shown as D4 –D7, EN and RS.   Please tell me what the actual pin numbers are on the Micromite.

    You can use any pin numbers that you like.  D4, D5, etc are just labels that show where the pins connect to on the LCD module. The pin numbers that you want to use are specified on the command line of the LCD INIT command. The LCD INIT command will automatically set the pins (that you have specified) to outputs and they will be used for further communications with the display module.

     

    When I run the Clock.bas program for the GPS clock I get an "Invalid pin" error.

    Almost certainly this is because you have programmed a PIC32MX250F128 chip with the Micromite firmware. This chip does not allow you to use pins 15 and 23 (this is documented in the manual).