Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:29 02 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Micromite Plus Announcement

     Page 2 of 8    
Author Message
nibbler
Newbie

Joined: 18/04/2013
Location: Canada
Posts: 11
Posted: 01:22pm 09 Jul 2015
Copy link to clipboard 
Print this post

CircuitGizmos, on my Skinnymite SPI IN is marked pin 45 and it also connects to pin 45 on the PIC32.

Alan

 
boss

Senior Member

Joined: 19/08/2011
Location: Canada
Posts: 268
Posted: 01:34pm 09 Jul 2015
Copy link to clipboard 
Print this post

Sounds good. Really impressive upgrade.

@Geoff
I have just two remarks:

1) PS2 keyboard is hard to find a new condition in these days. I know that PS2 protocol is simple, but what about to ad USB HID and connect data to serial.

2) If graphical support (based on SSD1963 resolution up to 800x480) will be embedded then USB mouse (connected the same way like keyboard)is highly desired as well.

Of course some HW would necessary to add

Btw why not use 100pin chip instead 64pin?

Regards
Bo
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2944
Posted: 01:57pm 09 Jul 2015
Copy link to clipboard 
Print this post

  boss said  Btw why not use 100pin chip instead 64pin?

Have you run out of I/O pins already??
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 02:21pm 09 Jul 2015
Copy link to clipboard 
Print this post

Alan: There are definite differences between the Matherp list and the pin list for Geoff's Micromite plus. They are not the same.


Pin 1-PortE5:ANALOG_IN22 | DIGITAL_IN | DIGITAL_OUT | SPI2IN*
Pin 2-PortE6 ANALOG_IN23 | DIGITAL_IN | DIGITAL_OUT
Pin 3-PortE7 ANALOG_IN27 | DIGITAL_IN | DIGITAL_OUT
Pin 4-PortG6 ANALOG_IN16 | DIGITAL_IN | DIGITAL_OUT | SPI2CLK*
Pin 5-PortG7 ANALOG_IN17 | DIGITAL_IN | DIGITAL_OUT | SPI2OUT*
Pin 6-PortG8 Console RX
Pin 7-RESET/MCLR | 5V
Pin 8-PortG9 ANALOG_IN19 | DIGITAL_IN | DIGITAL_OUT |SPIOUT
Pin 9-GROUND
Pin 10-POWER (+2.3 to +3.6V)
Pin 11-PortB5 ANALOG_IN5 | DIGITAL_IN | DIGITAL_OUT
Pin 12-PortB4 ANALOG_IN4 | DIGITAL_IN | DIGITAL_OUT
Pin 13-PortB3 ANALOG_IN3 | DIGITAL_IN | DIGITAL_OUT
Pin 14-PortB2 ANALOG_IN2 | DIGITAL_IN | DIGITAL_OUT
Pin 15-PortB1 ANALOG_IN1 | DIGITAL_IN | DIGITAL_OUT | PGC
Pin 16-PortB0 ANALOG_IN0 | DIGITAL_IN | DIGITAL_OUT | PGD

Pin 17-PortB6 ANALOG_IN6 | DIGITAL_IN | DIGITAL_OUT
Pin 18-PortB7 ANALOG_IN7 | DIGITAL_IN | DIGITAL_OUT
Pin 19-ANALOG REFERENCE
Pin 20-ANALOG GROUND
Pin 21-PortB8 ANALOG_IN8 | DIGITAL_IN | DIGITAL_OUT
Pin 22-PortB9 ANALOG_IN9 | DIGITAL_IN | DIGITAL_OUT
Pin 23-PortB10 ANALOG_IN10 | DIGITAL_IN | DIGITAL_OUT | COUNT
Pin 24-PortB11 ANALOG_IN11 | DIGITAL_IN | DIGITAL_OUT
Pin 25-GROUND
Pin 26-POWER (+2.3 to +3.6V)
Pin 27-PortB12 ANALOG_IN12 | DIGITAL_IN | DIGITAL_OUT
Pin 28-PortB13 ANALOG_IN13 | DIGITAL_IN | DIGITAL_OUT
Pin 29-PortB14 ANALOG_IN14 | DIGITAL_IN | DIGITAL_OUT | Comm1 Enable
Pin 30-PortB15 ANALOG_IN15 | DIGITAL_IN | DIGITAL_OUT
Pin 31-PortF4 DIGITAL_IN | DIGITAL_OUT | 5V | Comm1 RX
Pin 32-PortF5 DIGITAL_IN | DIGITAL_OUT | 5V | Comm1 TX

Pin 33-PortF3 DIGITAL_IN | INTERRUPT | DIGITAL_OUT | 5V
Pin 34-UNUSED | VBUS | 5V
Pin 35-POWER (+2.3 to +3.6V) | USSB3V3
Pin 36-UNUSED | USBD-
Pin 37-UNUSED | USBD+
Pin 38-POWER (+2.3 to +3.6V)
Pin 39-PortC12 DIGITAL_IN | INTERRUPT | DIGITAL_OUT
Pin 40-PortC15 DIGITAL_IN | INTERRUPT | DIGITAL_OUT
Pin 41-GROUND
Pin 42-PortD8 DIGITAL_IN | DIGITAL_OUT | 5V | PWM1B
Pin 43-PortD9 DIGITAL_IN | DIGITAL_OUT | 5V | I2CSDA
Pin 44-PortD10 DIGITAL_IN | DIGITAL_OUT | 5V | I2CSCL
Pin 45-PortD11 DIGITAL_IN | DIGITAL_OUT | 5V | SPIIN
Pin 46-PortD0 DIGITAL_IN | DIGITAL_OUT | 5V | COUNT | WAKEUP/IR
Pin 47-PortC13 DIGITAL_IN | DIGITAL_OUT | PWM2B
Pin 48-PortC14 DIGITAL_IN | DIGITAL_OUT | PWM1A

Pin 49-PortD1 ANALOG_IN24 | DIGITAL_IN | DIGITAL_OUT | COUNT
Pin 50-PortD2 ANALOG_IN25 | DIGITAL_IN | DIGITAL_OUT | SPICLK
Pin 51-PortD3 ANALOG_IN26 | DIGITAL_IN | DIGITAL_OUT | COUNT
Pin 52-PortD4 DIGITAL_IN | DIGITAL_OUT | 5V | COUNT
Pin 53-PortD5 DIGITAL_IN | DIGITAL_OUT | 5V | PWM2A
Pin 54-PortD6 DIGITAL_IN | INTERRUPT | DIGITAL_OUT | 5V
Pin 55-PortD7 DIGITAL_IN | INTERRUPT | DIGITAL_OUT | 5V
Pin 56-VCAP:47uF TANT CAPACITOR, 10|47uF Multilayer ceramic
Pin 57-POWER (+2.3 to +3.6V)
Pin 58-Console TX
Pin 59-PortF1 DIGITAL_IN | INTERRUPT | DIGITAL_OUT | 5V
Pin 60-PortE0 DIGITAL_IN | INTERRUPT | DIGITAL_OUT | 5V
Pin 61-PortE1 DIGITAL_IN | INTERRUPT | DIGITAL_OUT | 5V | Comm2 RX
Pin 62-PortE2 ANALOG_IN20 | DIGITAL_IN | DIGITAL_OUT | Comm2 TX
Pin 63-PortE3 DIGITAL_IN | INTERRUPT | DIGITAL_OUT | 5V | PWM1C
Pin 64-PortE4 ANALOG_IN21 | INTERRUPT | DIGITAL_IN | DIGITAL_OUT

1 LCD D5
2 LCD D6
3 LCD D7
4 SPI 2 CLOCK
5 SPI 2 OUT (MOSI)
6 CONSOLE Rx (IN) | COM4: Rx
7 RESET Normally 10KΩ to V+
8 SPI 1 OUT (MOSI) | INT
9 GROUND
10 POWER (+2.3 to +3.6V)
11 COM2: Tx | INT
12 INT
13 COM2: Rx
14 INT
15 INT
16 COM3: Tx | INT
17 COM3: Rx | INT
18 INT
19 ANALOG POWER (+2.3 to +3.6V)
20 ANALOG GROUND
21 INT
22 LCD CS | INT
23 COUNT | INT
24 LCD WR | INT
25 GROUND
26 POWER (+2.3 to +3.6V)
27 LCD RS (data/command) | INT
28 LCD RESET | INT
29 COM1: ENABLE | INT
30 INT
31 I2C2 DATA | INT
32 I2C2 CLOCK | INT
33 INT | DIGITAL INPUT ONLY
34 USB +5V
35 POWER (+2.3 to +3.6V)
36 USB D-
37 USB D+
38 POWER (+2.3 to +3.6V)
39 20MHz CRYSTAL)
40 20MHz CRYSTAL)
41 GROUND
42 PWM 1B
43 I2C DATA
44 I2C CLOCK
45 COM1: Tx
46 COUNT | WAKEUP | IR
47 SPI 2 IN (MISO) | PWM 2B
48 PWM 1A
49 COUNT
50 SPI 1 CLOCK
51 COUNT
52 COUNT
53 PWM 2A
54 INT | KEYBOARD CLOCK
55 INT | KEYBOARD DATA
56 47µF TANT CAPACITOR (+)
57 POWER (+2.3 to +3.6V)
58 COM4: Tx | CONSOLE Tx (OUT)
59 COM1: Rx
60 LCD D0
61 LCD D1
62 LCD D2
63 PWM 1C | LCD D3
64 LCD D4




Micromites and Maximites! - Beginning Maximite
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 03:35pm 09 Jul 2015
Copy link to clipboard 
Print this post

  Justplayin said   I love what I'm seeing!!! Finally, file storage and LCD display capability on one MM platform. I might not need a Maximite and 8 Micromites to build my clock now.

-Curtis


Well, indeed.

That massive PCB I designed for my security system that used all three of Geoff's projects - the Colour Maximite, the Micromite and the VT100 - is now in serious jeopardy, as the new beast integrates so much of what I was doing, into the one unit, that I am looking very seriously at doing a complete re-design of this board to use the new MM+ and be done with it. I only got five prototype boards of that huge 3-in-1 design, so none are actually in service yet, as I was still prototyping.

Perhaps it can go into the Rictech museum!
Smoke makes things work. When the smoke gets out, it stops!
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3292
Posted: 04:21pm 09 Jul 2015
Copy link to clipboard 
Print this post

  CircuitGizmos said   What pin on the 64 pin device is SPI1 IN?

SPI IN (MISO) for channel 1 is on pin 45. I need to update the documentation.

Something has gone wrong with the pin allocations related to COM1: as Tx should not be on pin 45. So (for the moment) COM1: is not working. It should be an easy fix and I will have a go at it over the next couple of days.

  CircuitGizmos said   The matherp pin allocation and the Geoff pin allocation are different.

That is correct, you must use the MM+ documentation.

  boss said  what about to ad USB HID and connect data to serial.

If you are asking for USB keyboard support, that is in my long terms plans for the MM+.

  boss said  why not use 100pin chip instead 64pin?

The 64-pin chip was used on the Explore 64 board because of space constraints. Grogster and/or myself are planning a PCB that will plug onto the back of a 5" SSD1963 display and that will probably use the 100-pin chip (might even call it the Explore 100).

Geoff
Geoff Graham - http://geoffg.net
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 04:40pm 09 Jul 2015
Copy link to clipboard 
Print this post

  Geoffg said  
  CircuitGizmos said   What pin on the 64 pin device is SPI1 IN?

SPI IN (MISO) for channel 1 is on pin 45. I need to update the documentation.

Something has gone wrong with the pin allocations related to COM1: as Tx should not be on pin 45. So (for the moment) COM1: is not working. It should be an easy fix and I will have a go at it over the next couple of days.

  CircuitGizmos said   The matherp pin allocation and the Geoff pin allocation are different.

That is correct, you must use the MM+ documentation.

Geoff


Thanks. I have a board put together with the Mather version of the I/O. I'll need to wait to use this "Plus" version until the pin-out is solid.
Micromites and Maximites! - Beginning Maximite
 
geraldfryjr

Regular Member

Joined: 02/03/2014
Location: United States
Posts: 61
Posted: 04:43pm 09 Jul 2015
Copy link to clipboard 
Print this post

Thanks Geoffg !!!
I ordered some 64 and 100 pin types today just in case!!

jer
Keep on DIYin' !!!
 
ztoti
Regular Member

Joined: 27/10/2011
Location: Canada
Posts: 65
Posted: 05:16pm 09 Jul 2015
Copy link to clipboard 
Print this post

Simple speechless.
Thank you Geoff for your hard work.
 
boss

Senior Member

Joined: 19/08/2011
Location: Canada
Posts: 268
Posted: 06:48pm 09 Jul 2015
Copy link to clipboard 
Print this post

@Geoff

That is really great news, with 100pin version you can dedicate ~20pin for TFT display, add a SD card and reserve two serial ports for Keyboard/Mouse and still have plenty of pin remaining for application. Anyone needs more peripherals?



Bo
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 07:48pm 09 Jul 2015
Copy link to clipboard 
Print this post

Thanks Geoff

This makes a Micromite into MAXIMUM-MITE

Regards

Jman
 
retepsnikrep

Senior Member

Joined: 31/12/2007
Location: United Kingdom
Posts: 134
Posted: 10:00pm 09 Jul 2015
Copy link to clipboard 
Print this post

This is great project and extension of the huge range of MAXI stuff.

Can I make a plea about casing the unit with displays especially the bigger 4.3/7" units.
I've seen so many projects (including my own) let down by terrible cases and hacked about project boxes.

Do we have any ideas on a case for the display/rear mounted pic unit combined?
3d printed perhaps?
Gen1 Honda Insights.
 
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 10:04pm 09 Jul 2015
Copy link to clipboard 
Print this post

A question: on a first look it seems that the internal RTC is not supported. Have I missed it or that's the case? It would be good to have it I think (I can assist with that if necessary). Would it be too hard to include?Edited by kiiid 2015-07-11
http://rittle.org

--------------
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 10:24pm 09 Jul 2015
Copy link to clipboard 
Print this post

  retepsnikrep said  Do we have any ideas on a case for the display/rear mounted pic unit combined?
3d printed perhaps?


I am considering designing a sheet-metal case that is laser-cut then powder-coated.
This may be more exotic then people want, but I am thinking about it - a friend of mine used this to make some server cases, and they came out beautifully, and they weren't that expensive to have laser cut and folded.
Smoke makes things work. When the smoke gets out, it stops!
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3292
Posted: 12:28am 10 Jul 2015
Copy link to clipboard 
Print this post

  kiiid said   A question: on a first look it seems that the internal RTC is not supported. Have I missed it or that's the case? It would be good to have it I think (I can assist with that if necessary). Would it be too hard to include?

No, the internal RTC is not used. The internal clock is managed by MMBasic using its millisecond interrupt.

I thought about using the RTC but it is not as simple as it seems. The MM+ uses a crystal therefore the current clock is quite accurate while the MM+ is powered. So the RTC is only useful when power is removed. But the PIC32 does not have a separate power input for the RTC so the whole chip must be powered to keep it running.

This means that Vdd must be switched to a battery and the chip put to sleep. But this in turn has a pile of issues. The switching circuit is one, detecting when the power has failed is another and minimising the sleep current is difficult, if not impossible, when there are devices connected to the I/O pins.

It is much simpler to use a cheap $3 external RTC that can be queried for the time on power up.

Geoff

Geoff Graham - http://geoffg.net
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 12:28am 10 Jul 2015
Copy link to clipboard 
Print this post

3d printed is slow and expensive if you want a case that can last some time.
I have 3d printers and i only use them for prototyping, less and less so because it causes you to design with the capabilities of a 3d printer and not for processes or machines that can be used for quantities (even for small amounts). Seen too many examples of people going completely crazy when they have to make a few, 3d printing scales terribly and quality is pretty low if you want it to be affordable.
At the makerspace people come for the 3d printer,they stay for the laser cutter and cnc.
HIPS would be an ok material.Vacuum forms great, and can be get in many colors.
Otherwise cnc is a good option.

Edited by TZAdvantage 2015-07-11
Microblocks. Build with logic.
 
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 12:49am 10 Jul 2015
Copy link to clipboard 
Print this post

  Geoffg said  
..........

Geoff


Makes complete sense. Thanks!


PS. Something for fixing in the documentation: in the 64-pin devices pin 15 is clock, and pin 16 is data for firmware programming (PGEC1 and PGED1 respectively)Edited by kiiid 2015-07-11
http://rittle.org

--------------
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 03:52am 10 Jul 2015
Copy link to clipboard 
Print this post

Does that also mean that Microchips Harmony library is tackled? :)

Microblocks. Build with logic.
 
f1fco

Senior Member

Joined: 18/03/2012
Location: France
Posts: 155
Posted: 11:42am 10 Jul 2015
Copy link to clipboard 
Print this post

what a fantastic work !
I have a dream and Geoff do it !

thank you

Pierre

I need a PCB for a 100 pins PIC : is it already available ?
73s de F1FCO
 
shoebuckle
Senior Member

Joined: 21/01/2012
Location: Australia
Posts: 189
Posted: 12:52pm 10 Jul 2015
Copy link to clipboard 
Print this post

@Geoffg. Geoff, sounds like a great project for a series of articles in Silicon Chip, especially if integrated with a small screen, keyboard and external RTC.
Hugh
 
     Page 2 of 8    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025