![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
On the picaxe pdf (page 25) on the button schematic why do you need a 10k
can't you just skip it? |
|
|
|
|
|
|
(permalink) |
|
Which PDF? I think it is because the PixAxe can only sink/source so much current and the resistor is to limit that current.
EDIT: I think I found the PDF. WIth the 1Kohm resistor right? Think about it...you connect 5V to 0V through a wire and a switch both of which have essentially zero resistance...how much current do you think flows when the switch is closed? In theory, an infinite amount of current. In practice? As much current as the battery can provide. WIthout the resistor it makes short circuit and that makes stuff overheat, explode and melt. Last edited by dknguyen; 1st June 2006 at 01:31 AM. |
|
|
|
|
|
|
(permalink) |
|
Sorry forgot link
http://www.rev-ed.co.uk/docs/picaxe_manual3.pdf |
|
|
|
|
|
|
(permalink) |
|
Yeah, without the 10K resistor, when the switch is closed you have a short circuit between 5V and 0V. Remember, a battery isn't just a voltage- it provides a current too and the resistor is there to limit that current.
|
|
|
|
|