Timeline for Do I need a current limiting resistor in series with a magnetic door sensor?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 25, 2015 at 15:18 | vote | accept | jotadepicas | ||
Mar 24, 2015 at 19:42 | answer | added | goldilocks♦ | timeline score: 6 | |
Mar 24, 2015 at 18:06 | history | edited | jotadepicas | CC BY-SA 3.0 |
added link to tutorial with wiring diagram
|
Mar 24, 2015 at 18:03 | comment | added | jotadepicas | @HeatfanJohn having a closer look to the diagram you mentioned, the pi has the pull up resistor, but internally. Perhaps that is why is not needed to add another resistor externally? Thanks? | |
Mar 24, 2015 at 17:53 | comment | added | jotadepicas | @HeatfanJohn I followed this other tutorial: learn.adafruit.com/…. As you can see, the magnetic switch is directly connected to the pi. | |
Mar 24, 2015 at 17:37 | comment | added | HeatfanJohn | Can you post how you have it wired? You are correct that without the limiting resistor you will draw too much current and could eventually burn something out. Are you following this learn.adafruit.com/sitcom-sfx-door-trigger/wire-it Adafruit tutorial? The circuit depicted there shows 3.3V being applied to pin 23 when the switch is open and then 3.3V going to ground though a 10K resistor which draws 0.33 ma. The depicted wiring is doing what is shown in this image: upload.wikimedia.org/wikipedia/commons/5/5a/Pullup_Resistor.png | |
Mar 24, 2015 at 16:41 | history | edited | jotadepicas | CC BY-SA 3.0 |
typos
|
Mar 24, 2015 at 14:48 | history | asked | jotadepicas | CC BY-SA 3.0 |