jayanth-rajakumar / ledmat

Arduino-based project to make a tournament display for speedcubing and speedstacking that is compatible with all major timers. Uses MAX7219 driven LED matrices as the display.
GNU General Public License v3.0
13 stars 4 forks source link

Troubleshooting #3

Open department-g33k opened 3 years ago

department-g33k commented 3 years ago

I'm not terribly proficient in C#, and I'm having great difficult troubleshooting this (I'm building the display for my son).

When I connect my StackMat to the arduino and run a timing cycle, I get no output on the LED matrix. I've verified that the sleeve of the 3-pin connector to the stackmat is going to GND on the arduino, and that the tip is connected to D2.

I can verify that my LEDs and MD_Parola are working properly using their example code.

I see many "Serial.println()" functions, but I can't tell if I should be seeing the corresponding output in the Arduino serial monitor, or if those are used as part of the communication with the timer.

Frankly I'm lost as to how I might find out if my issue is on the display side, or that the MCU isn't detecting the timing signals from the Stackmat.

Any suggestions?

jayanth-rajakumar commented 3 years ago

Hello! Github isn't notifying me about issues so I just saw this. I do apologize for the terrible state of the code, I would definitely do it very differently if I was doing it today. Unfortunately, I no longer have the hardware with me so I can't help you out too much with debugging this.

I was about to suggest using the Software Serial library with inverted logic instead of all the messy hardcoded decoding, but it looks like you've figured that out yourself. I actually tried that years ago, but the performance with my existing code seemed to be better. How is your setup working right now?