I’m using Sheeed Studio’s analyzer to retrieve data from the LINK ECU.
Can RealDash function as a switch?
For example, I want to change the boost and switch fuel maps.
yes but right now seems like there is problem with that, im waiting devloper to check on bench functionality.
edit: looks like there is update and fix for it i will check if now multiple buttons work.
Thank you.
Should I use GPIO?
Yes, RealDash is able to send CAN frames to your ECU. You just have to figure out the correct frame to send in order to switch your maps.
Thank you
Should I add a button with “ADD GAUGE” and set the data source to GPIO in the INPUT?
How should I configure RealDash to send 0x01 to the LINK ECU?
Do I have to specify the CAN message format in XML?
Here is somewhat complete step-by-step guide on how to send a button press via CAN to your ECU:
- Establish a CAN connection between RealDash and your ECU
- Find your connection XML and add value for your button. Use frame id that does not collide with other frames on your XML.
<frame id="0x999">
<value name="Mode Switch Button" offset="0" length="1"></value>
</frame>
- Import the modified XML to your connection setting.
- Edit your dashboard and add a button
- Select button and go to ‘Input & Values’ and tap ‘Select Button Actions’. Then tap ‘New Action’.
- Give your action a name, select action type ‘Toggle value On/Off’, and Select Input ‘Mode Switch Button’.
- Tap upper left ‘Done’ until back in dashboard.
- Exit edit mode
- Press a button and CAN frame is sent to your ECU.
When I do this, there is no “select input - mode switch button”.
I am also interested in this, but for sending raw data. I am using ELM327 with KWP protocol via ATSP5 command, and ATSH header, as well as waiting for a response. My XML works perfectly so far for reading from UCH, but I am not able to send a raw message to the UCH module as I can via the Serial Bluetooth Terminal App. The goal is to be able to make a button that will send commands to actuators that will activate a relay, for example. Please help. Thanks.
I’m using realdash_can and Arduino. I receive data without any problems.
Can you tell me what I need to add to my code to be able to send a frame to CAN?
RealDash is capable of sending CAN frames either when specified value changes, or constantly with specified writeInterval. The package data format is described here in Writing CAN frames from RealDash to device section:
RealDash-extras/RealDash-CAN/realdash-can-protocol.md at master · janimm/RealDash-extras
If I want to create two more switches similar to this one, how should I set it up?
Basically, just keep adding your switches to the CAN XML file.