2

For background see my original post. I've decided to not to use batteries and have it wired up with wall power.

I wish to use the Arduino Pro Mini 5V as the controller for my diorama project. I have five completed buildings which will all have LEDs (with only two wired up so far). The two currently wired buildings have multiple "zones/rooms" that can have its LEDs activated separately.

Building 1 is a saloon with rooms above. It has a total of 7 zones/rooms.

Building 2 is a store with a doctor's office above and rooms in the back of each. It has 4 rooms.

With this setup, I am able to use the software to simulate people coming and going within the rooms. It's pretty neat.

However, I'm currently at 11 outputs out of the Mini. I'm running out of pins. How can I have more outputs?

asked Apr 26, 2017 at 13:08

1 Answer 1

1

I think I understood what you want. If you want to control more LED's with less pins, consider using a shift register. For example, sn74hc595 could increase your digital outputs drastically. It has 8 bits, so you can have 2^8 combinations of outputs with it! For example, 0000 0001 is something, and 0000 0010 is something else, and so on. Check it out! I hope this helps :)

https://learn.sparkfun.com/tutorials/shift-registers - Basic knowledge about shift registers http://www.bc-robotics.com/datasheets/sn74hc595.pdf Other shift registers are great as well

answered Apr 26, 2017 at 13:17
4
  • This looks like it might solve my problem. Let me completely read it before marking this as the correct answer. Commented Apr 26, 2017 at 13:42
  • Will I be able to use Pulse Width Modulation with a shift register? Commented Apr 26, 2017 at 14:03
  • I have never used them in that way, here is an article, perhaps you find your answer there forum.arduino.cc/index.php?topic=8183.0 Commented Apr 26, 2017 at 14:26
  • Very cool. Looks like I'll be buying some more parts and trying some stuff out. Commented Apr 26, 2017 at 14:30

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.