keepiru / dash-kitten

Arduino-powered digital dashboards... For kittens!
GNU General Public License v2.0
12 stars 4 forks source link

Dash-Kitten with can-bus shield V2. #1

Open GutlessSupreme opened 2 years ago

GutlessSupreme commented 2 years ago

Hi, I'm getting serial logger:

BOOT, and that's it.

Display turns on, shows all the cases where the data should be displayed, then goes to sleep. Doesn't display any data from ECM. And most importantly, I'm not receiving my extra analog sensor data in MS3. MS3 shows me some random looking constant-ish data that doesn't reflect what my EGTs should look like.

Any input would be nice :), trying to troubleshoot this.

keepiru commented 2 years ago

The Nextion display will draw the boxes on its own, but the text labels come from the Arduino. Do you see the text labels such as "MAP", "AFR", "RPM", etc? If those don't appear then there's a problem with the Arduino sending data to the Nextion.

To see if CAN Bus between the MS3 and the Arduino works, uncomment this line and upload again: //#define DEBUG_CAN_ID 1521

You can set that CAN ID to whatever you want. 1521 is advance, AFR, and probably a couple others. You should get hex dumps over serial as the frames come in. If that's not working, check that CAN-Bus/Testmodes > CAN Parameters > Master Enable is on, CAN-Bus/Testmodes > CAN Realtime Data Broadcasting > Enable is on, base ID 1, and 01: Advance, Squirt ... is set to 50Hz. That should get the MS3 to send data.

If you're still not seeing it, I'd suspect a wiring problem between the Arduino and the CAN transceiver, or the transceiver and the Arduino.

Let me know what you find and we can go from there!

GutlessSupreme commented 2 years ago

I do not see the text labels. Only the cases. I wired the nextion for power and ground on the Arduino, that works. I also had switched the 2 data wires. I corrected it after following the colors on the only youtube video showcasing the Dash-Kitten.

GutlessSupreme commented 2 years ago

I forgot to say, I'm using the Can bus shield V2 instead of V1.2(discontinued)

You said Base ID is 1. I have Base message identifier (decimal): 1520. Are we talking about the same case? I followed all the instructions for the frequencies of each groups etc.

I'm on MS3 V1.5.2