Two Charlieplex modules to one Arduino

I have a very puzzling question:::
Built two Charlieplex modules. One is 4x12 the second one is 5x20. Each have the same resistors and drive LED's of different ratings. The 5x20 module has rating 2.2v 4x12 has 3.2v rating I have tested each of the modules separately and they work just fine. However, when I plug both into a single Arduino there is a problem. If I try to turn on an LED in the 5x20 matrix the LED turn on no problem. However, if I then try to turn on any LED in the 4x12 matrix the Pin 0 and Pin 1 get set as OUTPUT and Pin 1 as HIGH. I can't then turn this off? It does not make any difference which LED I turn on in the 4x12 matrix.

I have double checked all of the settings and rewired each board twice only to find the same result.

Is there a limitation in the Arduino that will allow only one module of Charleplex LED's to be run at one time?

Arduino is Mega 2560:

There is no such limitation.

To provide something more helpful you need to supply a lot more information, such as a schematic, your code, which Arduino you have. Please read How to get the best out of this forum then supply more information.

Please take a look at the very first topic telling how to get the best from this forum.

Type of Arduino is missing.
Code is missing here.
Schematics is missing.
If You want helpers not knowing what charlieplex to stay away, You would benefit from explaining that.

If you are using an Arduino UNO, Nano, or Mega then pins 0 and 1 are used for Serial. You can only use them for data if you aren't using Serial.

I think I have solved the issue. It looks like a bad module. Must be shorting out some where. I did test that there were no shorts between each of the pin rows. Hmmmm???

I had another module built for another application and all seams to work.

1 Like