Pull Up Resistor Basics - Value & Function

  • Thread starter Thread starter zak8000
  • Start date Start date
  • Tags Tags
    Pull Resistors
AI Thread Summary
Pull up resistors are essential for ensuring that a microcontroller can detect the state of a switch. When a switch is open, the resistor allows the supply voltage to be read, while closing the switch removes this voltage. Without the resistor, the microcontroller cannot determine the switch's state, as there would be no voltage change. A common value for a pull up resistor is 4700 ohms, which is suitable for most applications. Understanding the function and value of pull up resistors is crucial for effective circuit design.
zak8000
Messages
69
Reaction score
0
hi there

i have been reading up on the function of pull up resistors from the text:http://ti.tuwien.ac.at/ecs/teaching/courses/mclu/theory-material/Microcontroller.pdf and on page 37 it talks about it. in their example of the pull up resistor with the switch. i was wondering if they circuit would still work if the resistor was removed and if not what would be a suitable value for the resistor?
 
Engineering news on Phys.org
zak8000 said:
hi there

i have been reading up on the function of pull up resistors from the text:http://ti.tuwien.ac.at/ecs/teaching/courses/mclu/theory-material/Microcontroller.pdf and on page 37 it talks about it. in their example of the pull up resistor with the switch. i was wondering if they circuit would still work if the resistor was removed and if not what would be a suitable value for the resistor?

No, it wouldn't work.

With the resistor, the supply voltage appears across the switch when it is open, but no voltage appears across it when it is closed. So the voltage changes and the processor can use this to tell if the switch is open or closed.

Without a resistor, there is no voltage across the switch whether it is open or closed, so the processor can't tell if the switch is open or closed.

A typical value of pullup resistor is 4700 ohms.
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
Back
Top