Help with building your Speeduino, installing it, getting it to run etc.
User avatar
By Anarklla
#51741
Hi,

Im wiring a speeduino to my old xsara vts 167, for the tachometer, the original input is a VAN signal from the ECU.

Do you think i can run this original tachometer with the speeduino ecu output, or there is no way ?

In green the wire to the tachometer
In yellow the original ecu output to the BSI
Image
By dazq
#51742
Wikipedia says the van network is a serial bus with differential states . Your best bet may be to come up with an interface to convert the value from serial3 for rpm into what would be transmitted via the van network.

https://en.m.wikipedia.org/wiki/Vehicle_Area_Network
User avatar
By Anarklla
#51743
thank you for your help.
So the ecu send a VAN signal already?
Or the VAN signal is created by the BSI (the electronic module on the right corner)
I don't think the ecu send a van signal to the bsi or it is?
By dazq
#51746
Looking at the schematic you posted, 9004 and 9005 are the van bus wires going to the cluster.

9000 and 9001 are marked as can wires going from the ECU to bsi, it appears that the bsi translates and gathers the data to be sent to the cluster via the van bus.

I assume you are keeping the bsi? If so then you would only need to send the bsi the canbus data the ECU originally sent and the bsi will do the necessary translation for the cluster.
By dazq
#51750
Anarklla wrote: Mon Jul 12, 2021 11:23 am Yes i keep the BSI so i will learn how to create the canbus signal i need, there is one wire for each canbus signal (one for rpm) or only one wire of everything?

My ecu can do canbus! https://wiki.speeduino.com/en/CanBus_Support2
But I have no idea how to setup this
Ok , first canbus has two wires that carry the serial traffic see here

https://en.m.wikipedia.org/wiki/CAN_bus

So no there isn't a wire as such that is assigned to a specific data purpose.

Second yes we have basic can support in the form of OBD2 type realtime interface but that is only on teensy and stm32 MCU based speedy.
I have been working on a broadcast system that will enable easier integration into OEM but it's WIP.
You will need to find/search or sniff out the can arbid and data packets you need to send to the bsi to emulate the OEM engine ECU, then we can look at adding that into speedy code as a broadcast function.
User avatar
By Anarklla
#51758
Okay, i understand.

I will search for the informatical part of the communication between the oem ecu and the bsi, i find something i will send you a message so we can try something.
User avatar
By Anarklla
#52003
Hi everyone, i will start my project of sending engine rpm and vehicle speed to the bsi so that i can get those information on my dashboard.
Thanks to the informations you gave me i found somethings that will help me start this project, but i will need help.
First i will do this :
https://youtu.be/cAAzXM5vsi0?t=656
Trying to get right stuff to get this working as in the video
reading the can message from the bsi

next i will try to send engine rpm and vehicle speed thanks to this website i found :
https://autowp.github.io/#0F6

I post this message so everyone can participate, help me and maybe i'll help other with my discoveries
User avatar
By Anarklla
#54817
It's been a long time and to be honest, i did not worked 6 month on this projet, as i had other priority. But for now, can you tell me what board should i use with my speeduino mega 2560 in order to achieve this :

I would like my speedy to send serial command to an interface, this interface would send can message to my car via a can shield.

Thank you for your help, because im pretty lost.
By dazq
#54818
Anarklla wrote: Sat Jan 22, 2022 6:25 am It's been a long time and to be honest, i did not worked 6 month on this projet, as i had other priority. But for now, can you tell me what board should i use with my speeduino mega 2560 in order to achieve this :

I would like my speedy to send serial command to an interface, this interface would send can message to my car via a can shield.

Thank you for your help, because im pretty lost.
As explained in previous posts the mega2560 based speeduino do NOT have canbus support directly.
They are able to send data via serial3 to an external coprocessor to convert to whatever you need.

If you want to send canbus directly you will need a teensy or stm32 based speeduino.

A teensy3.2 or 4.0 or a stm32f103 or similar would make good MCU choices for a coprocessor .
Pazi88 did just that for his mega2560 based BMW boards, here is he used a stm32f103. Here is link to the code he uses on that https://github.com/pazi88/Speeduino-M5x ... l3toBMWcan.
You may be able to use that as the basis of your coprocessor module .
Also take a look at my gpio project , info is in the wiki.

Hi, I am trying to assign Signed values to the x-a[…]

Vr Conditioner Noise when cranking

New version 202305 don't fix the issue. Now after[…]

blitzbox

I've finally figured out why MAP and Lambda weren'[…]

Hello, I bring news!! Let me tell you that after […]

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