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

internal pullup


  • Please log in to reply
4 replies to this topic

#1 perkunas

perkunas

    Advanced Member

  • Members
  • PipPipPip
  • 108 posts

Posted 01 November 2012 - 10:12 AM

Having trouble with my inputs (rewired them) Do I need to use the internal pull up resister It's wired like this now tnx

Attached Files



#2 patduino

patduino

    Member

  • Members
  • PipPip
  • 20 posts
  • LocationIndiana, USA

Posted 01 November 2012 - 11:37 AM

You don't need the 1k resistors tied to 3.3v if you enable the internal pull-ups. What isn't working? This setup will read false/0 when the switch is closed and true/1 when open. Looks fine.
There are 10 types of people in the world... Those that can understand binary and those who can't.

#3 perkunas

perkunas

    Advanced Member

  • Members
  • PipPipPip
  • 108 posts

Posted 01 November 2012 - 11:56 AM

I was thinking 1K was too small or some thing It's working intermittently almost seems like the relays are running backwards, hard to tell, checked software but no. It makes it hard to test as the relays are controllers jumping them same problem. very frustrating tnx

#4 patduino

patduino

    Member

  • Members
  • PipPip
  • 20 posts
  • LocationIndiana, USA

Posted 01 November 2012 - 03:17 PM

I believe the internal pull ups are 10k or 20k, plenty big enough if you remove your external pull ups. When you say "running backward" do you mean the netduino thinks that the GPIO input is OFF when the relays are energized? Remember that the logic is inverted; OFF/FALSE/0 means that the switch is CLOSED.
There are 10 types of people in the world... Those that can understand binary and those who can't.

#5 perkunas

perkunas

    Advanced Member

  • Members
  • PipPipPip
  • 108 posts

Posted 01 November 2012 - 05:19 PM

Thanks I ran some simple Input output software stuff, to test the pins, and it works great don`t need to fix or change anything. So the problems with my main software`, and that`s not going to be easy to find when it all looks ok. going to have to look at it some more thanks




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.