Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 17:01 11 Nov 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 : CANbus to Micromite Plus

Author Message
carlm
Newbie

Joined: 31/05/2018
Location: Australia
Posts: 10
Posted: 12:19am 16 Jul 2018
Copy link to clipboard 
Print this post

Hi,
Has anyone managed to talk CANbus to the Micromite Plus range of Products?

This would be really cool if it has been!

Thanks for now.
Carl
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1106
Posted: 12:53am 16 Jul 2018
Copy link to clipboard 
Print this post

If you do a Forum search for "canbus", it brings up a number of posts. May help
ChopperP
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2171
Posted: 06:54am 17 Jul 2018
Copy link to clipboard 
Print this post

It was built in to some of the earlier MMBasic for the MaxiMite I thinks but was sadly dropped - I have looked at it a bit but never really in anger. I have got a break-out for a microchip MCP2551 but I lack time to really get into it.

Would be nice to have it in the language but it is a bit fringe and the 170 based chips are pushed for space on the firmware.Edited by CaptainBoing 2018-07-18
 
Boppa
Guru

Joined: 08/11/2016
Location: Australia
Posts: 816
Posted: 11:16am 17 Jul 2018
Copy link to clipboard 
Print this post

Shame as A 27pin MM would be ideal for making up a trailer light controller I would think if it could talk Canbus

the last one I did had 8 relays in a box, plus assorted 25w resisters etc etc- was a nightmare to wire up!)
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2463
Posted: 03:30pm 17 Jul 2018
Copy link to clipboard 
Print this post

CAN was available ONLY on those maximites that had an MX795 processor, but not those that had an MX695 processor. only the MX795 processor had an onboard CAN controller built into the chip.

as far as micromites go, neither MX150 (MM), MX170 (MM2), nor MX470 (MM+) have onboard CAN controllers, precluding the support of CAN.

some, but not all, MZ2048 chips (EFH in particular) appear to have onboard CAN controllers, peter would be able to comment further. as for the picromite and ST micro variants, given the available processing power it may well be that CAN could be bit-banged if one was really keen.


cheers,
rob :-)Edited by robert.rozee 2018-07-19
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 872
Posted: 01:54am 18 Jul 2018
Copy link to clipboard 
Print this post

Hi Carl,
I was/am interested in a CAN connection but as Rob explains it is not currently easy straight to a MM (and the old TBS efforts seem to have faded with time).
I ended up buying an ELM327 off ebay - it was supposed to suit my car but didn't (next year's model would have).
There are at least two versions of the ELM (USB and Serial) and there are explanations of the wiring and command codes (and some simple software) off the web too (the garages have much more sophisticated h/w and s/w).
My plan was to use the ELM to talk serial with a MM which I was going to program etc - I failed at the first. The specific application was my MM GPS speedometer - which of course doesn't work in Melbourne's tunnels - I was going to feed in the car's CAN speedo when GPS signal dropped out. (my speedo is remarkably accurate - quality 1997 car of course).

I'm afraid that the CAN aspects are beyond my level of expertise.

Cheers, Andrew
 
Azure

Guru

Joined: 09/11/2017
Location: Australia
Posts: 446
Posted: 04:50am 18 Jul 2018
Copy link to clipboard 
Print this post

You could always get a cheap module like this to interface from CANBus to SPI interface on MM.
 
MicroBlocks

Guru

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

The module Azure linked to together with a small form factor Arduino can save you ua lot of headaches.
The Arduino has several libraries available to save a huge amount of development and testing time. Using the Arduino as a 'smart can bus' interface will probably work better then doing it from Mmbasic directly.

Microblocks. Build with logic.
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025