Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Control 4 10-segment bar graphs with one netduino


  • Please log in to reply
2 replies to this topic

#1 Jaksi

Jaksi

    New Member

  • Members
  • Pip
  • 1 posts

Posted 08 October 2012 - 04:16 PM

Hi! I'm able to control 1 10-segment bar graph with my netduino, but I need to control 4 of them in my current project, and there not enough pins on the device. Is it possible to somehow control the bar graphs with less pins than the number of LED's it has? I don't want to control each LED individually, just set a level from 0 (no LED's on) to 10 (all LED's on), and this value could be represented on 4 bits: no LED's are on: 0000 one LED is on: 0001 two are on: 0010 ... all of them (10) are on: 1010 Is it possible to make this work somehow?

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 08 October 2012 - 05:09 PM

Hi Jaksi, Check out "595 shift register" projects. Stefan Thoolen has made a bunch of examples, and other community members will pitch in on this as well I'm sure :) Shift registers basically gift you an 8-bit value for each 8 elements...so you just set the bits for the LEDs that you want to turn on. Chris

#3 Christopher Clark

Christopher Clark

    Member

  • Members
  • PipPip
  • 18 posts
  • LocationNorth Carolina, USA

Posted 08 October 2012 - 06:24 PM

Check out http://forums.netdui...h-the-netduino/




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.