|
Forum Index : Microcontroller and PC projects : CANbus to Micromite Plus
| Author | Message | ||||
| carlm Newbie Joined: 31/05/2018 Location: AustraliaPosts: 10 |
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: AustraliaPosts: 1106 |
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 KingdomPosts: 2171 |
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. |
||||
| Boppa Guru Joined: 08/11/2016 Location: AustraliaPosts: 816 |
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 ZealandPosts: 2463 |
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 :-) |
||||
| Andrew_G Guru Joined: 18/10/2016 Location: AustraliaPosts: 872 |
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: AustraliaPosts: 446 |
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: ThailandPosts: 2209 |
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. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |