internal pullup
Started by perkunas, Nov 01 2012 10:12 AM
4 replies to this topic
#1
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
#2
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.
- MedfordChris likes this
There are 10 types of people in the world... Those that can understand binary and those who can't.
#3
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
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
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