LED Multiplex with Arduino Mega

I was following this tutorial on LED multiplexing (https://www.youtube.com/watch?v=uQMUPhyoXoE) to make a 4x4 matrix using a TLC5940. I did my best to order all the same parts. I recreated the attached diagram, the only difference is I had one fewer row and 6 fewer columns (Credit to GreatScott!, by the way). It works great with a Nano and an Uno, but when I hook it up to a Mega, it no longer functions.

I've replaced all the wires and chips several times, and in doing so I noticed that if I pinch the wire going to the GSCLK pin of the TLC5940, the LEDs flicker. They don't work properly, but they do light up. And I have to pinch the wire. Wiggling it or just touching it does nothing.

Does anyone have any clue why this would be or what I could do to get it working with an Arduino Mega?

Hi! I'm new to Arduino but maybe heat shrinking or saudering the wires would help keep it in place

Are you using hardware SPI? Have you accounted for the fact that the Mega's hardware SPI aren't on the same pins as the Nano and Uno?

Saudering will fix it every time.

I think lastchancename agrees with saudering, and I would also do what van_der_decken said as well. You could also verify the code and see meticuously if each pin is in place and if each wire is touching

Ah, snap! I had no idea! I did a bit of digging and found this page for anyone else having this problem (Google Code Archive - Long-term storage for Google Code Project Hosting.). Thanks so much!

Believe it or not, Google can’t find Saudering

I think it is the act of making furniture from particle board:
https://www.sauder.com/

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.