For any add-on boards such as VR conditioners, optos and OEM interface boards
#57664
Hello Guys and Girls,

I'm having some trouble with my current project on Speeduino.

My goal is to read some extra analog sensor inputs (oil 2x and knock) through the GPIO connecting by serial 3.

My current setup is:
- Speeduino V04.4c board with mega 2560
- GPIO is an Mega 2560 installed with mini-gpiov3_005 firmware.
- All the software is installed and communicating with Tunerstudio.

My current problem is I don't know how to proceed...
I want the extra info to be seen by Speeduino through Tunerstudio as some simple gauges but I don't know how to adress the GPIO. Do i do this through CAN-bus? And if so how must this be setup?

Can someone help me with this problem?

Thanks in advance!
#57666
The serial3 to serial3 link between the 2 units is fine no need for can.
The wiki has examples how to config the two units to exchange data.

One question though , if you only want 3 additional inputs why not just connect them to the speedy itself? You can config to read both digital and analog inputs directly , again the wiki has details on how to do this .
There are quite a few spare pins on the speedy mega .
#57667
Thanks for the quick response !

I connected it from serial 3 speedy to serial 1 gpio.... Will chance that

I can't find the explanation in the wiki...

But how can I setup TS to know wat it is recieving? If I look at the auxillery settings I only see Can bus settings? I don't onderstand how to let speedy know hoe to Read for example a0 from the gpio

I want to connect the extra board for futures projects (dyno use and multiple AFR/EGT's, traction control, etc) and was thinking Why not start learning now ;)
#57673
First configure the gpio, use the supplied TS ini and get the data reading in locally .
NOTE you can run multiple TS at once, so you can run one for speedy and one for gpio to get it setup. Once setup you just use the speedy one .
Once that is up and running then connect it serial3 to serial3 to speedy .
Although that is the old wiki it does have more images (which got lost in the transition).
To setup the speedy side see the new wiki as a few bits have changed over the years.
#57676
Ok, so I got both sides to work, but can't figure out how to setup the gauge. I think I have the correct channel (see attached screenshot)

What am I doing wrong?
Attachments
GPIO1.JPG
GPIO1.JPG (277.25 KiB) Viewed 5001 times
GPIO.JPG
GPIO.JPG (254.9 KiB) Viewed 5001 times
#57681
Ok, ignore creating the custom channel bit until you get the data reading into speedy.

The real-time data address is made up of the sourcebase and the channel offset( see the clip below from the wiki).
Set the addresses based on that .

Then you will have a generic 0-1024 gauge of the alias set.
Attachments
Screenshot_20220709-160643.png
Screenshot_20220709-160643.png (446.48 KiB) Viewed 4969 times
#57693
Ok, so I setup my channels but still there is still no connection. What am I doing wrong?

Thank you once again for all your help !
Attachments
GPIO4.JPG
GPIO4.JPG (34.66 KiB) Viewed 4823 times
GPIO3.JPG
GPIO3.JPG (60.65 KiB) Viewed 4823 times
GPIO2.JPG
GPIO2.JPG (252.14 KiB) Viewed 4823 times
Auto Transmission Controller

I have read through most of the Wiki. Am I missin[…]

What is in the stock ECU? some of them don't use a[…]

Jeep transmission compatibility

Wanting to replace the old crappy Chrysler PCM in […]

blitzbox

Hi, It seems I can’t blame the error with t[…]

Still can't find what you're looking for?