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 : MMBasic CAN-BUS connected Carputer
Author | Message | ||||
psergiu Regular Member Joined: 09/02/2013 Location: United StatesPosts: 83 |
Hello, I want to use a Maximite/Duinomite connected to the CAN interface of my car and showing various info on a small composite LCD. As far as i know, there's a special version of MMBasic with CAN support. But there my knowledge stops. Now the questions: 1) What kind of board is compatible with that MMBasic+CAN version ? Only Duinomite Mega or can i use a Color Maximite + some extra CAN hardware instead ? 2) I saw that the Duinomite Mega has a 3-Wire CAN interface connector - how do i connect that to the car's OBDII port ? Directly or do i need extra hardware ? Thanks. |
||||
BobD Guru Joined: 07/12/2011 Location: AustraliaPosts: 935 |
Unless you have some special things in mind you may want to look at what is available off the shelf. There is a small device that can be bought for less than AU$10 delivered from eBay that will allow a Bluetooth connected device access to many of the monitoring functions via OBDII. I have one of these gadgets and it sticks out of the OBDII socket by 20mm. Other dimensions are 24mm and 46mm. Search on Google or eBay for ELM327. It is also in Wikipedia. I only received this a couple of days back and have not had a chance to try it out. I believe you can get software (free and paid) for PCs and tablets including Android and Apple devices. Mine came with PC software on a small CD. |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3804 |
For CAN you'd connect to the CAN pins and ground. Which ground? Well, it SHOULD be the signal ground but beware that car makers can be a bit clueless so you may need to use the other ground. D'oh. Look up OBD DLC to see the pins. ELM327 comes in 2 main types, BT (hard to use from a 'mite) and USB (er, also hard - probably harder than BT). Kinda boring to use an elm327, though. (None of the existing programs will work on a 'mite but then most aren't available as source either.) I do recommend reading the elm327 data sheet at elmelectronics.com/DSheets/ELM327DS.pdf John |
||||
CircuitGizmos Guru Joined: 08/09/2011 Location: United StatesPosts: 1425 |
CGCOLORMAX2 plus a CAN chip. The CAN circuit is on the board just waiting for a chip and connections to a bus. http://www.circuitgizmos.com/products/cgcolormax2/cgcolormax 2.shtml Micromites and Maximites! - Beginning Maximite |
||||
psergiu Regular Member Joined: 09/02/2013 Location: United StatesPosts: 83 |
BobD - Thanks, but i want to use a MMBasic device. Much easier (for me) to program for, cheaper, faster boot time and i am not restricted by the form factor. JohnS - what happens if i connect the wrong ground ? CircuitGizmos - cool ! What chip is that ? I supposed the CGCOLORMAX2+CAN chip is supported by the MMBASIC 4.x CAN firmware out of the box - right ? Thanks. |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3804 |
If the car maker's goofed you'll have no ground. Check with DVOM. John |
||||
CircuitGizmos Guru Joined: 08/09/2011 Location: United StatesPosts: 1425 |
Specific chips are mentioned in the FAQ section of the Beginning Maximite doc. You need to flash the CAN version of the firmware onto the Colormax2. Micromites and Maximites! - Beginning Maximite |
||||
Lopezjm2001 Regular Member Joined: 08/07/2012 Location: AustraliaPosts: 42 |
Hi Psergiu, I have written a MMbasic program to use with a CGcolormax2 with a CANbus port. You can see it at http://priuschat.com/threads/my-duinomite-mega-canview-v4-eq uivalent-project.112429/ It was written for a Toyota Prius 2004-2009. You may find some of my MMbasic code helpfull. Lopez |
||||
jman Guru Joined: 12/06/2011 Location: New ZealandPosts: 711 |
Hi Lopezjm The link you provided does not work Jman |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6100 |
Try this link: http://priuschat.com/threads/my-duinomite-mega-canview-v4-eq uivalent-project.112429/ Jim VK7JH MMedit MMBasic Help |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3804 |
Trying to download the code (step 11) doesn't work - just get PriusChat - Error The requested attachment could not be found John |
||||
psergiu Regular Member Joined: 09/02/2013 Location: United StatesPosts: 83 |
Thanks Lopez ! I downloaded the file - as soon as i have all the hardware in place, i'll try to adapt your software for Camry/Solara and i'll provide the updates here. JohnS - See the attached file at the bottom of the post - clock on "MMBASIC 4.4 CANVIEW PROGRAM 09102013.zip" |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3804 |
Oh - OK, thanks, how odd. Step 11 doesn't work as posted, though. John |
||||
paceman Guru Joined: 07/10/2011 Location: AustraliaPosts: 1329 |
Err... Jim, apart from the slightly different purple colour, what was different about your link that made it work? Greg |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3804 |
The characters in both links are the same (by eyeball) but the actual URLs are not. (Look at HTML to see.) John |
||||
Lopezjm2001 Regular Member Joined: 08/07/2012 Location: AustraliaPosts: 42 |
No worries. Is the Camry Solara a Hybrid? John Lopez |
||||
Print this page |