Thank you - solved

Hi Everyone,
I started a month ago to make a puzzle box containing 5-8 Arduinos all running different games. I had not programed much of anything before and my electronics background was not good.
Directly due to this forum I have several games running and wrote 4 programs so far. The one today is running a LED bar with 12 green 12 red leds and 3 common cathodes through a shift register along with 9 dip switches an an Arduino mini. I am using some npn transistors on cathodes so I can run enough amps and also to switch the LED banks on an off. I was able to use arrays to monitor and compare the win state with the digital read on the pins. My code has reduced in size by about 50 percent since I started to do the same tasks.

So thank you to all the patient people out there that have taken the time to answer questions its much appreciated. Please keep up the good work! The bank of reference materials on here is quite stunning.

Cheers,
Simon

P.S. If I can post pics on here I will provide one when I am done with the box. Its a rather large crazy 3D printed mess. I have spinning lasers, mastermind game, radio and transmitter, wire cut, hidden mirrors, LED bar and dip switch game, draws that open on servos, 5 RFID card readers, a roll of neopixel LEDs, count down timer, MP3 player, and a ras pi for vidoes.

Once you get to a dozen or more LEDs, you really should look at using MAX7219 chips designed for this purpose as one-chip solutions, including current control.

Cheapest and easiest way is the modules on eBay and Aliexpress designed to drive 8 by 8 matrix displays but which you simply connect to your own "mini-matrix" of LEDs and you do not have to code for multiplexing.

Or perhaps you should write some games using the matrix displays. :grinning:

Aliexpress item.

Where has that been all this time,
I need that in my life. Thank you for the advice.

Mark the thread as "SOLVED" please

If I can post pics on here I will provide one when I am done with the box. Its a rather large crazy 3D printed mess. I have spinning lasers, mastermind game, radio and transmitter, wire cut, hidden mirrors, LED bar and dip switch game, draws that open on servos, 5 RFID card readers, a roll of neopixel LEDs, count down timer, MP3 player, and a ras pi for vidoes

When you get to that stage, the "Exhibition/Gallery" sub forum would be a better venue.

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