electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
poster
 Forum index » DIY Hardware and Software » Lunettas - circuits inspired by Stanley Lunetta
Resistors and Pulling down or up.
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [10 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
droffset



Joined: Feb 02, 2009
Posts: 515
Location: London area
Audio files: 2

PostPosted: Sun Mar 14, 2010 5:21 pm    Post subject: Resistors and Pulling down or up. Reply with quote  Mark this post and the followings unread

Musing about the next system I want to build and came up with a query for you folks:

I've gotten into the habit of using pull-down resistors on CMOS inputs because it was suggested to me. But why is a resistor necessary, can one not just use a jumper to connect to ground?

I see people mostly use 100k, is that an arbitrary value or is anything out of the parts bin usable?

Thanks

_________________
==================
Check out the FREE Intro to Lunettas Document
https://docs.google.com/document/d/1V9qerry_PsXTZqt_UDx7C-wcuMe_6_gyy6M_MyAgQoA/edit?usp=sharing

Edit: Spelling mistakes.
Back to top
View user's profile Send private message
droffset



Joined: Feb 02, 2009
Posts: 515
Location: London area
Audio files: 2

PostPosted: Sun Mar 14, 2010 6:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

Still want to hear from people, but couldn't resist the Goog.
http://www.seattlerobotics.org/encoder/mar97/basics.html
http://en.wikipedia.org/wiki/Pull-up_resistor

_________________
==================
Check out the FREE Intro to Lunettas Document
https://docs.google.com/document/d/1V9qerry_PsXTZqt_UDx7C-wcuMe_6_gyy6M_MyAgQoA/edit?usp=sharing

Edit: Spelling mistakes.
Back to top
View user's profile Send private message
Psyingo



Joined: Jun 11, 2009
Posts: 248
Location: Canada

PostPosted: Sun Mar 14, 2010 8:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

it is my understanding that the pull up/down is used when there is another signal that is coming in, so that when the signal isnt there, it will default. like when you are patching modules, leaving the input unconnected would make it float.

whether or not you pull up or down is determined by whatever you want the input to default to.

if the input is going to permanently remain high or low, tying it to either supply or ground is fine.
Back to top
View user's profile Send private message
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Mon Mar 15, 2010 1:07 am    Post subject: Reply with quote  Mark this post and the followings unread

It may not be much of an issue when being pulled down (sinking) but when an input is being pulled up the resistor stops the input from sourcing significant amounts of current.
_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24396
Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320

PostPosted: Mon Mar 15, 2010 5:41 am    Post subject: Re: Resistors and Pulling down or up. Reply with quote  Mark this post and the followings unread

droffset wrote:
But why is a resistor necessary, can one not just use a jumper to connect to ground?


For CMOS it is perfectly OK to wire an input hard to either Vcc or ground.

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
electri-fire



Joined: Jul 26, 2006
Posts: 536
Location: Dordrecht NL
Audio files: 4
G2 patch files: 4

PostPosted: Mon Mar 15, 2010 6:06 am    Post subject: Re: Resistors and Pulling down or up. Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
droffset wrote:
But why is a resistor necessary, can one not just use a jumper to connect to ground?


For CMOS it is perfectly OK to wire an input hard to either Vcc or ground.


It's OK if you want to have the input permanently grounded or pulled up. The resistor is used when you still want to use the input. With the pulldown (or pullup in the case an input is "active low"), you can leave the input unconnected without it being "floating".

(edit: ermm... that's more or less exacty what Psyingo wrote. Ah well, I'll just leave this here in case it makes it even more clear)
Back to top
View user's profile Send private message
electri-fire



Joined: Jul 26, 2006
Posts: 536
Location: Dordrecht NL
Audio files: 4
G2 patch files: 4

PostPosted: Mon Mar 15, 2010 6:33 am    Post subject: Reply with quote  Mark this post and the followings unread

Uncle Krunkus wrote:
It may not be much of an issue when being pulled down (sinking) but when an input is being pulled up the resistor stops the input from sourcing significant amounts of current.


So am I correct that when in need of a pull up, it's best to use a smaller value resistor like 10K instead of, say 100K?

In this link (very informative, thanks) 10K pullups are used.
http://www.seattlerobotics.org/encoder/mar97/basics.html

I do have some doubts here though. Do inputs actually need current? I think they just need voltage. The sourcing or sinking current ability is an issue with the outputs isn't it?
Back to top
View user's profile Send private message
electri-fire



Joined: Jul 26, 2006
Posts: 536
Location: Dordrecht NL
Audio files: 4
G2 patch files: 4

PostPosted: Mon Mar 15, 2010 6:42 am    Post subject: Reply with quote  Mark this post and the followings unread

quote: "Some disadvantages of pull-up resistors are the extra power consumed when current is drawn through the resistor, and the reduced speed of a pull-up compared to an active current source."

Ermm... now it gets complicated. This would mean: a higher resistor limits current draw.

Ah well, as we're using mostly audio frequencies speed would be less of an issue compared with normally used clockspeeds in digital circuits.
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24396
Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320

PostPosted: Mon Mar 15, 2010 6:45 am    Post subject: Reply with quote  Mark this post and the followings unread

electri-fire wrote:
quote: "Some disadvantages of pull-up resistors are the extra power consumed when current is drawn through the resistor, and the reduced speed of a pull-up compared to an active current source."


Keep the context in mind .. for CMOS this is not the case.

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Tue Mar 16, 2010 3:24 am    Post subject: Reply with quote  Mark this post and the followings unread

Yeah, definitely listen to Jan on this one.
CMOS = No resistor needed.
I was just floating something I remember hearing, and Jan is right, it was in reference to TTL. Sorry to have misled anyone.

_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [10 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Lunettas - circuits inspired by Stanley Lunetta
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use