Hi all, first new thread. I was wondering if anyone can give me some incite on how to code up for a AnalogX GPIO from Autosport Labs. It was built and designed to add on additional channels for the RaceCapture/Pro but I wanted to integrate it into my MS3X. I was thinking I could use the GPIO code that is already existing and modify it to work with the AnalogX. Is this a reasonable approach or do you have another suggestion?
A link to the device I want to use is below.
https://wiki.autosportlabs.com/AnalogX
Thanks,
-Joey
Autosport Labs AnalogX
Moderators: jsmcortina, muythaibxr
Re: Autosport Labs AnalogX
it looks like you could use the can receiving to read the data from that guy.
1990 bmw 320i daily driver with m20b25 ms3 sequential fuel, 380cc injectors, d585 coil near plug, home made cam sync, launch control, fan control, vss, homebrew egt logging what's next????
-
- MS/Extra Newbie
- Posts: 5
- Joined: Thu Dec 29, 2016 1:33 am
Re: Autosport Labs AnalogX
That was my thoughts as well. Now I just need to figure out HOW I go about doing that.grom_e30 wrote:it looks like you could use the can receiving to read the data from that guy.
I guess I'll just have to dive into the code and figure out how to get the two to talk to each other.
-Joey
Re: Autosport Labs AnalogX
it shouldn't need any firmware coding.
by default it broad casts the data at 50hz on a 500kbp can speed so this is good as its the baud megasquirt uses, it looks like it uses 2 bytes per sensor i'm guessing its a unsigned integer little endian format and i believe it uses 0-5000mv for the reading it gives out.
see here: http://www.msextra.com/doc/pdf/html/Meg ... 5-279.html
http://www.msextra.com/doc/pdf/html/Meg ... 5-235.html
so between the can receiving and the generic sensor inputs you should be able to read you 0-5v input from the AnalogX then scale it in to human readable information and log or display it
by default it broad casts the data at 50hz on a 500kbp can speed so this is good as its the baud megasquirt uses, it looks like it uses 2 bytes per sensor i'm guessing its a unsigned integer little endian format and i believe it uses 0-5000mv for the reading it gives out.
see here: http://www.msextra.com/doc/pdf/html/Meg ... 5-279.html
http://www.msextra.com/doc/pdf/html/Meg ... 5-235.html
so between the can receiving and the generic sensor inputs you should be able to read you 0-5v input from the AnalogX then scale it in to human readable information and log or display it
1990 bmw 320i daily driver with m20b25 ms3 sequential fuel, 380cc injectors, d585 coil near plug, home made cam sync, launch control, fan control, vss, homebrew egt logging what's next????