element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum I need around 120 digital outputs for a project, how would you suggest I do this?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 11 replies
  • Subscribers 395 subscribers
  • Views 744 views
  • Users 0 members are here
  • help
  • led
  • lights
  • arduino
  • question
Related

I need around 120 digital outputs for a project, how would you suggest I do this?

12buckleo
12buckleo over 9 years ago

Hi there!

I am planning a project using a bunch of LEDs that I want to be able to control separately and I need to be able to control around 120 digital things. I would like to use an arduino to do this but I am open to suggestions on other platforms. I want any system that will let me control around 120 digital LEDs and maybe a few buttons all independently. I am looking for something relatively inexpensive and not too complicated (although I can handle some difficulty, that's why I want to do the project).

I was thinking I could use an I/O expansion board on an arduino or something similar to the gertboard for raspberry pi.

I would really appreciate any help people could give me, I would love some links to things so I can compare them too!

 

Thanks in advance,

-Leon

  • Sign in to reply
  • Cancel

Top Replies

  • dougw
    dougw over 9 years ago +1
    One simple way to do this is using addressable LEDs (such as WS2811, WS2812) - one serial output can easily control 144 LEDs individually, including colour and intensity. You can buy them in flexible strips…
  • jkutzsch
    jkutzsch over 9 years ago

    You might check out Kevin Darrah's projects on Youtube with LEDs and shift registers.  https://youtu.be/zS5oZPJVh_o  He also has his own webpage with some serious looking proto boards.  http://www.kevindarrah.com/?page_id=1618

     

    I don't know this person, nor have I ever used any of his boards, but the project videos he has out there are definitely interesting, add in the fact he gives step by step instructions and code as well and you might enjoy remixing some of that into your project.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gadget.iom
    gadget.iom over 9 years ago

    This is a very similar discussion.

    My 3rd big Halloween Project - an actual nightmare

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dougw
    dougw over 9 years ago

    One simple way to do this is using addressable LEDs (such as WS2811, WS2812) - one serial output can easily control 144 LEDs individually, including colour and intensity. You can buy them in flexible strips if that form factor works for your application.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • sarunaszx
    sarunaszx over 9 years ago

    To me the easiest way (although probably the least professional) would be to get cheap a couple of cheap microcontrollers (arduino uno or whatever) and connect them to one master controller using spi or i2c.

     

    Otherwise, you could use port expansion chips like these NXP I2C Agile I/O Peripheral Expanders :: NXP Semiconductors, but as far as I have found, microcontrollers are cheaper lol.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • 12buckleo
    12buckleo over 9 years ago in reply to dougw

    @douglas_wong :  Thank you very much for your comment, it is much appreciated! These look really interesting and may just work, I need to do some more research. Do you know if they come in a non-rgb variant as I won't need rgb for my project and I don't want to have to complicate my code even more or add more to costs. If you do could you post a link to them please that would be great!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • 12buckleo
    12buckleo over 9 years ago in reply to gadget.iom

    @paul elison : Thank you for the link, I read over that and there seems to be a popularity in some strip LEDs which I am not sure if they will work but I will look them up. Thanks again!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • 12buckleo
    12buckleo over 9 years ago in reply to jkutzsch

    @John_kutzschebauch :   Thank you for that great vid, I had seen some RGB cubes before and always wondered what method they used and if they had some complicated system with LEDs in series but that video was really helpful. I don't think I will use the same way as he used though as it seems very complex, I had seen something using the same chip beforehand. Thanks a lot for the suggestions, I will keep them in mind possibly for a later project to learn about that chip.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • 12buckleo
    12buckleo over 9 years ago in reply to sarunaszx

    @Sarünas Staigis : Thanks for the comment! As for the two microcontroller idea, I had touched on using two arduino mega type ones but I would need more than two of those and I am not sure at all how the code would work. Another problem that I am still uncertain about is that I need it to fit into a relatively small space (not sure what size yet) and arduinos are chunky for what they are. Thank you again for the ideas, I may use the master + slave system with PIs one day for something. I am glad you made your comment as it clarified that my original idea was in fact possible and that I wasn't being crazy! Thank you again.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • sarunaszx
    sarunaszx over 9 years ago in reply to 12buckleo

    You could also use 32bit expander: Arduino Interface PCA9555 GPIO Expander

    And this is probably the cleanest solution: ams’ AS1130 is the smallest LED dot-matrix driver for 132 LEDs

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • nova
    nova over 9 years ago

    This person has a 3 part series on making a 15X10 led matrix that I found entertaining and informative https://www.youtube.com/watch?v=8pFcZ-ijrDY. He uses through hole leds instead of the strips and explains the difference between using RGB Leds and addressable Leds for larger scale projects which i enjoyed. I hope this is helpful.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube