Asked — Edited

Pull Down Resistor

I have a switch that is always closed. If it becomes open that is a condition that I take some action. I put together a pull down resistor (based off the attached picture from another post). But I noticed that it gets really warm to the touch. Is that expected? Should I use a larger resistor (or smaller).

Thanks in advance.

User-inserted image


ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

PRO
USA
#1  

Questions:

  1. Are you using that pull down with a Digital Port ?

White - Digital Port Black - GND Red - VCC

1.1) Red - voltage value ?

  1. Resistor value ?
PRO
USA
#2  

using port D20 on the EzB. Resistor value is 47 ohm 1/2 watt.

PRO
USA
#3  

red wire - voltage, is from D20 Vcc In port ? EZB voltage ?

PRO
USA
#4  

According to the documentation on the EzB:

The digital ports of the EZ-B v4 are unregulated power. This means that the power you provide to the EZ-B v4 is outputted to the power pin of the digital ports.

This is because digital ports are generally used for servos. It is very energy inefficient to regulate power for servo motors and therefore generates a lot of heat, kills batteries quickly, etc.. It is recommended to power the EZ-B v4 with a 7.4v LiPo battery so servos do not require regulators.

The ports are unregulated, I am using a LiPo battery.

This is my understanding of the pinouts: Black is ground. Red is VCC, White is signal (i/o).

PRO
USA
#5  

I hope you understand the BIG problem... when you press the button you are feeding 7.4V to a digital port 3.3v although 5v tolerant.

You are lucky If your EZB and/or the PORT are still good...

#7  

The digital pin is 3.3v, 5V tollerant and rated a 10mA... watch for the magic smoke...:)

PRO
USA
#8  

There is no smoke. The EzB is fine.

Still would like to know how to setup the a switch as I stated.