Page 1 of 1

Serial API for V3.3.1 firmware

Posted: Thu May 14, 2020 2:28 pm
by capri_turbo
Brent

Is there a Serial API available for the V3. as the latest seems to be 3.1 and doesn't have the "aux" listed.

The reason I ask is that I am looking at the code for an Arduino project to read the serial data. All I can find are sketches to do the V4 and I know the V3 is very different.

Thanks

Colin

Posted: Fri May 22, 2020 11:19 am
by capri_turbo
Can the V4 API be used as I notice the file was originally 3.3.x?

Posted: Fri May 22, 2020 3:46 pm
by capri_turbo
I think, all I need to know is which byte and which bits contain the aux. scaled info on the serial output on the latest V3 as I have managed to get Advance to display correctly, not tested RPM yet, but that should be fine, Load is now working (different from the V4 sketch that I am modifying), but I cannot get the Aux. data yet.

Posted: Sat May 23, 2020 8:48 am
by capri_turbo
Can anybody please advise on this for me.

Posted: Sun May 24, 2020 1:58 pm
by capri_turbo
Can anybody please advise me of where in the serial string the aux. data is transmitted.

Is the support for the V3 finished now?

I'm reading the V3 just fine... got Advance, RPM, Load (KPa) and user out 1 displaying useful data... I just need the aux output for the coolant temperature next, but cannot locate it...

Posted: Wed May 27, 2020 9:14 am
by capri_turbo
I've got this far using the $ command (0x24)

Is there a different command that brings in the aux data? I've tried S (0x53) but that doesn't seem to contain it either.

"Fan" is based on UserOut1 status as that is controlled from the aux temperature... its blank when its not running

Everything else is working just great but it's slightly frustrating that the aux data is seemingly not documented for the V3 units and nobody seems to be able to answer my question.

Posted: Fri May 29, 2020 9:16 am
by capri_turbo
With the assistance of a serial port sniffer, I think I've cracked it.

The tuning software seems to send 's' (0x73) and receives 9 bytes

By Adjusting the pot on my test board I've noted that byte 7 changes with the temperature.

Arduino re-programmed and:

Posted: Wed Jun 03, 2020 7:03 pm
by Alex B
If only I had half the knowledge you have about these things........

Alex

Posted: Mon Jun 15, 2020 4:45 am
by tightwad
Nice work, I have been wanting to dig in more to power a display that can be read in sunlight as I use the V4 on a 32 year old Watercraft. I'd like to include other sensor data as well, so I will be watching what you are able to accomplish.

I have done a total of 1 Arduino program...but I want to learn more!

Posted: Thu Jun 25, 2020 7:43 am
by capri_turbo
This was my first Arduino project so I'm very plesed with it... looking at RFID immobilisers and GPS stuff at the moment, but as for the Megajolt display, I don't think I'll be developing it any further as it does exactly what I intended it to do.

If you want the Arduino code, just ask here and I'll sort it out for you.

Col