Macchina
Macchina
These folks have a nice OBD-II breakout ... And a few other goodies!
Thought I would point them out!
https://www.macchina.cc/
Thought I would point them out!
https://www.macchina.cc/
Intelligence is in the details!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
-
- Posts: 397
- Joined: Wed Jul 05, 2017 8:30 am
- cars: 2001 Pontiac Grand AM SE
LD9 2.4l I4, 4T40E
2005 Chevrolet Venture
LA1 3400 V6, 4T65E - Location: North TX, USA
Re: Macchina
Hi all,
Gampy, I have been watching the forums there for a couple of years and so far no one has managed to write a decent firmware for the J1850 VPW protocol.
LOTS of development on CAN BUS!!!
Mike
Gampy, I have been watching the forums there for a couple of years and so far no one has managed to write a decent firmware for the J1850 VPW protocol.
LOTS of development on CAN BUS!!!
Mike
Re: Macchina
No personal status in yesteryear development ...
Intelligence is in the details!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
Re: Macchina
I was really excited about the Maccina M2 when I first heard about it.
It's a shame that there's no official J1850 VPW support for it yet. RedheadedRod was working on it, but apparently life got in the way. I can relate.
There's a J1850-VPW project on GitHub, and it might be possible to port that to the M2:
https://github.com/matafonoff/J1850-VPW ... er-Library
I tried to get that working with an Arduino a few months ago, based on the schematic posted there, but I couldn't get it to read or write. In fact I had to disconnect the write circuit to get a bunch of noise off of the bus so that other devices on the bus could communicate again. I've been over the schematic a dozen times and I still think I have it right... but still no luck. At some point I'll get off my butt and try to get it to at least read.
It's a shame that there's no official J1850 VPW support for it yet. RedheadedRod was working on it, but apparently life got in the way. I can relate.
There's a J1850-VPW project on GitHub, and it might be possible to port that to the M2:
https://github.com/matafonoff/J1850-VPW ... er-Library
I tried to get that working with an Arduino a few months ago, based on the schematic posted there, but I couldn't get it to read or write. In fact I had to disconnect the write circuit to get a bunch of noise off of the bus so that other devices on the bus could communicate again. I've been over the schematic a dozen times and I still think I have it right... but still no luck. At some point I'll get off my butt and try to get it to at least read.
Please don't PM me with technical questions - start a thread instead, and send me a link to it. That way I can answer in public, and help other people who have the same question. Thanks!
-
- Posts: 397
- Joined: Wed Jul 05, 2017 8:30 am
- cars: 2001 Pontiac Grand AM SE
LD9 2.4l I4, 4T40E
2005 Chevrolet Venture
LA1 3400 V6, 4T65E - Location: North TX, USA
Re: Macchina
What Arduino were you using? The M2 uses the ARM chip, but I have NO idea what the linked code was written for, or if it even matters.NSFW wrote:I was really excited about the Maccina M2 when I first heard about it.
It's a shame that there's no official J1850 VPW support for it yet. RedheadedRod was working on it, but apparently life got in the way. I can relate.
There's a J1850-VPW project on GitHub, and it might be possible to port that to the M2:
https://github.com/matafonoff/J1850-VPW ... er-Library
I tried to get that working with an Arduino a few months ago, based on the schematic posted there, but I couldn't get it to read or write. In fact I had to disconnect the write circuit to get a bunch of noise off of the bus so that other devices on the bus could communicate again. I've been over the schematic a dozen times and I still think I have it right... but still no luck. At some point I'll get off my butt and try to get it to at least read.
Mike
Re: Macchina
I used an Uno with the GitHub project.
The M2 is compatible with the Arduino API and IDE so I'm hoping that porting the Uno code to it won't take much more than pin changes and timing changes. I mean, after the Uno code works on an Uno, of course.
https://docs.macchina.cc/m2-docs/arduino
The M2 is compatible with the Arduino API and IDE so I'm hoping that porting the Uno code to it won't take much more than pin changes and timing changes. I mean, after the Uno code works on an Uno, of course.
https://docs.macchina.cc/m2-docs/arduino
Please don't PM me with technical questions - start a thread instead, and send me a link to it. That way I can answer in public, and help other people who have the same question. Thanks!
-
- Posts: 397
- Joined: Wed Jul 05, 2017 8:30 am
- cars: 2001 Pontiac Grand AM SE
LD9 2.4l I4, 4T40E
2005 Chevrolet Venture
LA1 3400 V6, 4T65E - Location: North TX, USA
Re: Macchina
Hi all,
NSFW, I believe the M2 uses the same processor as the Arduino DUE ( Atmel SAM3X8E ARM Cortex-M3 CPU.)
I do NOT know much about these things as I am not a developer or programmer. However, if the IDE can take the differences in to account then I suppose you should be able to get the code to run on the UNO. I would be most interested in your results as I have an UNO sitting in a box here that I purchased several years ago.
Mike
NSFW, I believe the M2 uses the same processor as the Arduino DUE ( Atmel SAM3X8E ARM Cortex-M3 CPU.)
I do NOT know much about these things as I am not a developer or programmer. However, if the IDE can take the differences in to account then I suppose you should be able to get the code to run on the UNO. I would be most interested in your results as I have an UNO sitting in a box here that I purchased several years ago.
Mike
Re: Macchina
Yes, I think you're right. The Arduino IDE and libraries make is pretty easy run the same code on different CPUs, so switching should not be hard. For things where timing is critical, it might be necessary to make some small changes, but the vast majority of the code should just work on any Arduino-compatible board. So I think there's hope.
Please don't PM me with technical questions - start a thread instead, and send me a link to it. That way I can answer in public, and help other people who have the same question. Thanks!
Re: Macchina
I have a Macchina P1 (small linux computer) and A0 (esp32).
Originally used the P1 as an alternative to a raspberry pi / PiCAN, for a small, all in one solution with a better can controller. It's pretty neat really, the processor on the pocket beagle is a little slow, but it works. Good option for those who like linux or something like python over arduino.
I didn't write the firmware, but the A0 has been super awesome for a VW/Audi open source project I've been apart of. Flashing, high speed datalogging over BLE with a phone app. The latest firmware also works with windows via BLE or USB serial protocol.
https://github.com/bri3d/VW_Flash (what started it all, works with SocketCAN, J2534 (openport), A0 USB/BLE)
https://github.com/Switchleg1/esp32-isotp-ble-bridge (A0/esp32 firmware)
https://github.com/Switchleg1/SimosTools (android app mentioned above compatible with A0)
I'm not really a coder, but the products have been very good and highly recommended.
Originally used the P1 as an alternative to a raspberry pi / PiCAN, for a small, all in one solution with a better can controller. It's pretty neat really, the processor on the pocket beagle is a little slow, but it works. Good option for those who like linux or something like python over arduino.
I didn't write the firmware, but the A0 has been super awesome for a VW/Audi open source project I've been apart of. Flashing, high speed datalogging over BLE with a phone app. The latest firmware also works with windows via BLE or USB serial protocol.
https://github.com/bri3d/VW_Flash (what started it all, works with SocketCAN, J2534 (openport), A0 USB/BLE)
https://github.com/Switchleg1/esp32-isotp-ble-bridge (A0/esp32 firmware)
https://github.com/Switchleg1/SimosTools (android app mentioned above compatible with A0)
I'm not really a coder, but the products have been very good and highly recommended.
- antus
- Site Admin
- Posts: 8251
- Joined: Sat Feb 28, 2009 8:34 pm
- cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B - Contact:
Re: Macchina
the allpro firmware has an open source j1850 implementation too. its getting harder to find but its still out there. the hardware level stuff needs to change but thats always the case. allpro has 4x speed as well.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396