Page 1 of 2

Macchina

Posted: Tue Mar 30, 2021 12:30 am
by Gampy
These folks have a nice OBD-II breakout ... And a few other goodies!

Thought I would point them out!

https://www.macchina.cc/

Re: Macchina

Posted: Fri Apr 02, 2021 1:49 pm
by MudDuck514
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

Re: Macchina

Posted: Fri Apr 02, 2021 3:09 pm
by Gampy
No personal status in yesteryear development ...

Re: Macchina

Posted: Tue Jun 22, 2021 6:23 pm
by NSFW
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.

Re: Macchina

Posted: Wed Jun 23, 2021 5:01 am
by MudDuck514
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.
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.

Mike

Re: Macchina

Posted: Thu Jun 24, 2021 2:42 pm
by NSFW
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

Re: Macchina

Posted: Sat Jun 26, 2021 3:06 am
by MudDuck514
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

Re: Macchina

Posted: Sat Jun 26, 2021 4:19 pm
by NSFW
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.

Re: Macchina

Posted: Mon Nov 29, 2021 10:31 am
by aaronc7
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.

Re: Macchina

Posted: Tue Nov 30, 2021 12:59 pm
by antus
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.