Looking for Maximite parts and kits?
|
Introducing the Maximite. |
Page 1 | 2 | 3 |
Remember the TRS80 computers from the late 1970's? Or how about the mighty Microbee computer. What about programming in QBasic in the 90's? Well, this little computer will bring back some memories. Even if you don't remember those wonderful things from the early days of PC's, you will still find the Maximite interesting, and useful!
The Maximite is a hand sized computer based on the Pic32 processor. You can program it in MMBasic ( very similar to QBasic ), it runs on 12volts, connects to a VGA screen ( or TV ) and standard PC keyboard, and has 20 I/O pins you can access with software. I wont go into the specifics of the Maximite, you can read about them here. Developed by Geoff Graham the Maximite has a big future, and a interesting birth.
The Maximite is programmed in MMBasic, which is far far easier to use than other microchip languages, including the PicAxe. Its miles ahead. If you have ever programmed in QBasic, GWBasic, or used a Microbee or TRS80, then you'll feel right at home on the Maximite. You can plug in a screen, a keyboard, and you save you programs on a SD card instead of floppy disk or tape. Using the 20 I/O pins is easy. Pins 1 to 10 are analogue inputs, and measure 0 to 3.3 volts. A command like PRINT PIN(1) will display the voltage at that pin, if its 2.5 volts, you'll see 2.5 on the screen. Pins 11-20 are digital, if you set the pins to read period, a PRINT PIN(11) command will display the period in milliseconds, set the pin to read frequency, and you get the result in Hz. Type in a simple program like...
10 SETPIN 11,3
20 CLS
30 LOCATE 0,0
40 PRINT "Frequency is "; PIN(11); "Hz "
50 GOTO 30
And you have a frequency meter that can read up to 200kHz.
I've taken a keen interest in the Maximite because I can see a lot of projects in the pipeline for it. With 20 I/O pins, and that big VGA screen, its going to be a great tool. Just some of the things that come to mind are windmill logging, RPM/Wind Speed to power plotting, windmill/solar control, battery optimising, watchdogs, irrigation control, burglar alarms, CNC, etc, etc.
|
Since its so new, at the time of writing, stocks are limited, and there is a back order of several hundred. Hopefully the next few months will see this backlog cleared. I bought my Maximite from MicroZed Computers for $79.95, plus $10 delivery, which was overnight in my case. The kit quality was very good, includes all parts, and the microchip is already soldered into place ( thank goodness ).
Assembly took about an hour. You need a fine tipped iron and a good eye. Most joins were straight forward to solder together, but the SD card holder needed a steady hand. If you have assembled a few circuit boards before, you should be OK with this one. |
|
First power up, Yippee!
I then added a heat sink to the LM7805 regulator, its a recommended addition if you intend to run the Maximite on 12volts or more. Be careful here, the LM1117 regulator next door has a metal tab at 3.3 volts, where the LM7805 is at ground ( 0 volts ), so you need to make sure they aren't shorted together with the heat sink. I only fitted the heat sink to the LM7805, so it wasn't a problem. The LM1117 regulator runs cool without a heat sink.
I also fitted a tiny piezo speaker to the inside of the case with a little hot glue. There's a hole drilled in the case to let the sound out.
With the Maximite up and running, it was time to refresh my memory on old school BASIC programming. I have a old favourite program from my Microbee days, back in the 80's, called Four Row. Its a Connect Four clone, and you play against the computer. I found the game on a Microbee demo tape, and remember spending hours playing it. I don't know who the original author is, shame, I would like to give them credit.
Back in the 90's I ran a BBS ( pre-internet computer system for sharing files over the phone ), and wanted to add a few games playable online. I ported the Four Row game over to GWBasic, and later QBasic, to run on the BBS. Instead of displaying the game on the screen, it sent the graphics out the serial port using ANSII characters.
So to cut my teeth on the Maximite, I ported Four Row to MMBasic. Took a few hours to get it working right, and I learned about a few differences in some of the commands between QBasic and MMBasic. This version of Four Row uses the Maximite's graphics and sound features. Below is a screen shot of the working Four Row on the Maximite computer.
You can download a copy of Four Row here, and Geoff has been kind enough to include a copy with the latest Maximite Library ( a collection of user written programs ). Its a tiny 3k file. I should add, its not an example of good programming, its been hacked and patched many times over the years. But it does play a good game, you can almost see the computer thinking about its next move! |
|
One of the sample programs you can download for the Maximite is a LCD driver. It uses the common 16*2 LCD screens, and 6 of the Maximites output pins. At first I couldn't get it to work correctly, but Talbit from the forum came to the rescue, suggesting I add a small delay after the LCD initialisation code. Fixed it.
Next Page. The Maximite family grows. |