Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 16:42 03 May 2024 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 : Getting Started with the Micromite

     Page 1 of 2    
Author Message
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 08:28pm 28 Nov 2016
Copy link to clipboard 
Print this post

The Micromite is quite a sophisticated device and for newcomers there is a lot to learn.  A common request has been for a tutorial that takes someone who has had minimal exposure to microcontrollers and the BASIC programming language to the level where they can program and use the Micromite.

As a result I have (finally) written a book called Getting Started with the Micromite. It is a tutorial that starts with choosing the right chip, how to program the Micromite firmware into it and how to connect to the console. It then presents a beginners course in BASIC programming and moves onto some of the more specialised aspects of the Micromite including input/output, embedded features and communications protocols.

Anyone who is interested can download it from: http://geoffg.net/Downloads/Micromite/Getting%20Started%20with%20the%20Micromite.pdf

This is version one and I hope to refine and add to it over time. If you spot any typos, errors, etc please let me know - rather than clutter up this forum it would probably be best to email me at projects@geoffg.net.

Geoff
Geoff Graham - http://geoffg.net
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2794
Posted: 08:45pm 28 Nov 2016
Copy link to clipboard 
Print this post

A very useful addition

It will take me a few days to work through with my current commitments but will drip-feed any feedback if thats ok . . .
For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3661
Posted: 08:52pm 28 Nov 2016
Copy link to clipboard 
Print this post

Looking good but am only on p23!

Typo
p1 32-bin -> 32-bit

p6/p7 I seem to recall a verifying error but not sure what the exact message was (I don't normally use IPE). It's not a real error so much as failure to keep chip reset I gather.

p7 mention that extra components would be needed for +-12V signals

p15 do not type that it -> ... in

p16 add not equal to the IF condition list (as it's weird to non-Basic users)

p22 maybe define what a prime is (I recall having once to explain (to a degree-level person) what even & odd meant so a prime would have been wayyyy advanced)

p23 more number were -> more numbers were

p23 loose -> lose

p25 as they are executed -> as it is executed

JohnEdited by JohnS 2016-11-30
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 10:09pm 28 Nov 2016
Copy link to clipboard 
Print this post

Thanks John

  JohnS said  p23 loose -> lose

Aaagghhh, I keep doing that.
Geoff Graham - http://geoffg.net
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3661
Posted: 10:15pm 28 Nov 2016
Copy link to clipboard 
Print this post

Added a few more above but now can't edit that post any more.

They're small changes. It reads well IMO.

John
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9066
Posted: 10:51pm 28 Nov 2016
Copy link to clipboard 
Print this post

I am just reading my way through this, but at the point where I am up to(chapter 2, page 10) it is excellent reading, and just what newcomers need.

We were all new to MMBASIC at some point, but most of us here are very familiar with it now, but I do remember how confused I was in the beginning just trying to work out how to open a serial port. That was back in the days of the Maximite.

How did you find the time to write a fifty-page beginners manual Geoff!
Smoke makes things work. When the smoke gets out, it stops!
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 12:26am 29 Nov 2016
Copy link to clipboard 
Print this post

Hi to everybody
I can create tutorial with Micromite Lab ...
Send me materials ... in ms-word / txt / images. I can create tutorial that interact with different HWs.
..if you are agree.
Thanks
sagt3k
 
Benzol
Regular Member

Joined: 07/01/2015
Location: Australia
Posts: 64
Posted: 07:44pm 29 Nov 2016
Copy link to clipboard 
Print this post

Hi Geoff
Thank you. It's already printed and I am going through it.
I can see already some great stuff on variables and others that I have had difficulty with. I really appreciate the time you spent doing this. No complaint about the support!
db
 
IanT
Regular Member

Joined: 29/11/2016
Location: United Kingdom
Posts: 84
Posted: 11:36pm 29 Nov 2016
Copy link to clipboard 
Print this post

Hi Geoff,

I've been following your Maximite/Micromite progression for a while now and recently decided to take the plunge and invest in an Explore 64 (Thanks Phil). Although I've had a Pic32 USB starter kit for a while, I felt the Micromite was much more accessible & scalable. Not only have you done a marvellous job of making the Pic32 I/O easy to get at but the quality of the MMB manuals (which I printed out yesterday morning before I saw this post) would be extremely good for a commercial product, let alone one in the Public Domain.

I doubt I will be able to add much value to the technical side of this Forum, so I will return to lurking in the background, whilst I try to get to grips with my longer term projects (on-board controls for large scale model railway engines and low level machine tool controls).

However, I joined the Forum last night to just say Thank You for the considerable time you have invested in MM - I am sure there are many such as myself who are very appreciative of your efforts.

Regards,

IanT

PS My local MERG (Model Electronics Railway Group) was a bit desperate for presentations next week - and since I think MM deserves much wider recognition here in UK, I offered to do an overview for attendees. I'll try to do a good job for you.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9066
Posted: 01:45am 30 Nov 2016
Copy link to clipboard 
Print this post

Hello and welcome.
No need to resume lurking in the background - we are all a pretty friendly bunch of chaps.

If you have any questions or problems, please DO post your questions here.
Many very helpful members here who will love to help you.
Smoke makes things work. When the smoke gets out, it stops!
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2794
Posted: 02:55am 30 Nov 2016
Copy link to clipboard 
Print this post

Good to see you on here Ian
  IanT said  My local MERG (Model Electronics Railway Group) was a bit desperate for presentations next week - and since I think MM deserves much wider recognition here in UK, I offered to do an overview for attendees. I'll try to do a good job for you.


If you need any help/advice quickly with this then drop me an email. Will also gladly help any MERG members with a 'custom starter kit' if they want to explore the MM further! Just let me know . . . .

WW
For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
2001cpx

Regular Member

Joined: 03/10/2013
Location: Canada
Posts: 59
Posted: 03:34am 30 Nov 2016
Copy link to clipboard 
Print this post

Thanks!

Very good , this will help me a lot, exactly what I need, thanks again.

Very clear explanation, I have an answer at a lot of questions

"Color Maximite,(Duinomite-Mega,Mini),CGmmStick,GCmicroboard2b,Micromite + explore 64,100,LCD backpack,Lcd Backpack V2,TFT Backpack,Micromite Extreme,Armmite L,F,H,CMM2"
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3661
Posted: 10:30am 30 Nov 2016
Copy link to clipboard 
Print this post

Picking up from page 25...

p32 is run is run -> is run

p37 will be connect -> will be connected

p37 secession -> succession
or sequence

p38 generate a pulse an output pin -> generate a pulse on an output pin

p39 PRINT PIN(4) / (3.3 * 3.1) -> PRINT PIN(4) / 3.3 * 3.1
or PRINT PIN(4) / (3.3 / 3.1)

p41 was not be recognised -> would not be recognised
or would be missed

p41 It is can -> It can

p46 It would help to explain the interaction of VAR SAVE/RESTORE with OPTION EXPLICIT

JohnEdited by JohnS 2016-12-01
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1097
Posted: 12:51pm 30 Nov 2016
Copy link to clipboard 
Print this post

P47 - RS232 logic levels are back the front - low is +12V, high is -12V

Doug.
... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 01:20pm 30 Nov 2016
Copy link to clipboard 
Print this post

Thanks guys.
Geoff Graham - http://geoffg.net
 
astroboy
Newbie

Joined: 28/12/2014
Location: Australia
Posts: 38
Posted: 05:42pm 30 Nov 2016
Copy link to clipboard 
Print this post

This is wonderful.

Thanks Geoff
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1097
Posted: 05:58pm 30 Nov 2016
Copy link to clipboard 
Print this post

Geoff,

Could I suggest in the "Programming Practices" section, a comment about using interrupts and flags as opposed to polling. Perhaps something like:-

"In general, it is good practise to have events interrupt the main body of the program rather than have your main program sitting in a loop, polling a pin or otherwise waiting for some event to occur. This is particularly so where you can't predict when the event may occur.

Also, using the interrupt method to handle an event, set a flag in the interrupt routine to show the event occured rather than processing the event in the interrupt code. In this way the main body of the program can carry on with house keeping, setup etc. testing the flag as needed."

Purely a suggestion - great job on the Manual - this is published book quality.

Doug.

... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 12:35am 01 Dec 2016
Copy link to clipboard 
Print this post

... and again no mention anywhere about the ELLO system (which is by the way based on the very same Micromite)...

http://rittle.org

--------------
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3661
Posted: 02:38am 01 Dec 2016
Copy link to clipboard 
Print this post

  kiiid said   ... and again no mention anywhere about the ELLO system (which is by the way based on the very same Micromite)...
I don't know what mention you would expect so do explain and say what you think should be added.

BTW I think you're STILL not listed with the other suppliers on this site. Why not?

JohnEdited by JohnS 2016-12-02
 
redrok

Senior Member

Joined: 15/09/2014
Location: United States
Posts: 209
Posted: 01:05pm 01 Dec 2016
Copy link to clipboard 
Print this post

Hi Geoff;

On page 4, VREF you describe directly soldering the 10uF cap onto
the leads of the DIP chip. I have done this to all my uMITEs.
I have a picture of this:

Feel free to add this image to your document if you like.

redrok
 
     Page 1 of 2    
Print this page
© JAQ Software 2024