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

Quick & Simple Shift-register Example


  • Please log in to reply
22 replies to this topic

#21 Mario Vernari

Mario Vernari

    Advanced Member

  • Members
  • PipPipPip
  • 1768 posts
  • LocationVenezia, Italia

Posted 08 December 2012 - 04:43 AM

Are the wiring short enough (i.e. 10-15 cm max)? Cheers
Biggest fault of Netduino? It runs by electricity.

#22 littlebone

littlebone

    New Member

  • Members
  • Pip
  • 2 posts

Posted 08 December 2012 - 05:07 PM

Are the wiring short enough (i.e. 10-15 cm max)?
Cheers

Hi, Mario:
Thank you for your response. My wires from the 2 Plus to the clock and data pins on the 74HC595 were indeed about 18cm. I don't have a shield that I can use to shorten that to a minimum, but I was able to use some 10 cm wires. With these shorter leads and my clock rate 4000 value, the LEDs still lit correctly based upon the data I passed in the byte arrays. I then reduced the clock rate to Oscar's example of 1000, and the LEDs did not light correctly.

Joe

#23 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 08 December 2012 - 08:51 PM

Hi, Mario:
Thank you for your response. My wires from the 2 Plus to the clock and data pins on the 74HC595 were indeed about 18cm. I don't have a shield that I can use to shorten that to a minimum, but I was able to use some 10 cm wires. With these shorter leads and my clock rate 4000 value, the LEDs still lit correctly based upon the data I passed in the byte arrays. I then reduced the clock rate to Oscar's example of 1000, and the LEDs did not light correctly.
Joe

Joe,

I reported a problem with the N+2 using the SPI configuration you are using. Still waiting for SecretLabs to confirm if this is a bug but if it is then it might explain the random output you are seeing.

Here's a link to my report.

Regards,
Mark

To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter





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.