- Sun Mar 24, 2024 8:25 pm
#67627
Hi everyone, I am trying to get an old dashboard to "work" with an STM32 based speeduino build (SPECTRE design from Tjeerdie).
The plan is to design an interior control unit, at first I plan to only pull data from the speeduino over the CAN bus and send order to smaller modules, likely via a secondary CAN bus. Once that works I plan to add more stuff (like door control modules to control central locking and windows but the idea is to keep those "dumb" and let the main unit decide what orders to give in response to the informations the modules send back) and ideally send requests to the speeduino (turn A/C on, use secondary ignition MAP, etc).
I should finally have some time for myself so I picked the project back up but I'm waiting on the weather to work on finally getting the engine side of things operational (I am having sync loss issues at around 5500 RPM and I can't figure out why but that'll be for another topic later unless I have an eureka moment).
Before going all out and spending time designing something that won't work I would like to do some simple testing and to build some "proof of concept" prototypes, so I hooked up a VP230 module to my spare F407ZGT6 and an MCP2515 one to an ESP32. I have uploaded the autowp/can-usb sketch to the later (I found an edited version for the ESP32 and changed the pinout accordingly) I can connect to it through the CANHacker app but I don't know what to send exactly to get an answer, the loopback test also doesn't seem to work so I don't know if it's even sending anything.
Do you have any simple working example (getting the speeduino to send me any kind of data would be enough) ?
What should I send to the speeduino via the CANHacker to get an answer ?
Do I need to have a particular ID to get its attention ?
The plan is to design an interior control unit, at first I plan to only pull data from the speeduino over the CAN bus and send order to smaller modules, likely via a secondary CAN bus. Once that works I plan to add more stuff (like door control modules to control central locking and windows but the idea is to keep those "dumb" and let the main unit decide what orders to give in response to the informations the modules send back) and ideally send requests to the speeduino (turn A/C on, use secondary ignition MAP, etc).
I should finally have some time for myself so I picked the project back up but I'm waiting on the weather to work on finally getting the engine side of things operational (I am having sync loss issues at around 5500 RPM and I can't figure out why but that'll be for another topic later unless I have an eureka moment).
Before going all out and spending time designing something that won't work I would like to do some simple testing and to build some "proof of concept" prototypes, so I hooked up a VP230 module to my spare F407ZGT6 and an MCP2515 one to an ESP32. I have uploaded the autowp/can-usb sketch to the later (I found an edited version for the ESP32 and changed the pinout accordingly) I can connect to it through the CANHacker app but I don't know what to send exactly to get an answer, the loopback test also doesn't seem to work so I don't know if it's even sending anything.
Do you have any simple working example (getting the speeduino to send me any kind of data would be enough) ?
What should I send to the speeduino via the CANHacker to get an answer ?
Do I need to have a particular ID to get its attention ?