Pages: [1]   Go Down
Author Topic: Using an external adapter to supply voltage to a rotary encoder.  (Read 501 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello guys.

This is my first post here because Im relatively new to arduino and I just got mine last week.
So, I had and old rotary encoder that works in the range of 10-30V and I found an old nokia charger that delivers 8VDC and 720mA, Im using that charger/adapter as the voltage supply for the encoder and I've been checking the value of the outputs with my multimeter and it is around 6.8V so I made a standard voltage divider with 100Kohm as R1 and 270Kohm as R2. After that I checked the outputs with the multimeter and the output voltage is 4.66V (I think the arduino consider more than 2.5V as HIGH, is that right?) BUT I'm afraid to use that output in an arduino pin because I read every pin can handle only 40mA.

I've been very careful until now because I dont want to burn my arduino  smiley-sweat  so I want to know if it's safe to connect that output voltage to get the readings on the arduino or if I need something else to protect my arduino.

Also... is there any chance these resistors burn? (1/4Watt).

Thanks in advance.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 604
Posts: 33448
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The current limit only applies to outputs not inputs. The input current is negotiable because the input impedance is very high.
Logged

Offline Offline
Full Member
***
Karma: 5
Posts: 207
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think you meant negligible not negotiable, Mike. And no, there's no chance that the resistors will burn up, you'll only have a few micro amps flowing through them.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 604
Posts: 33448
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes dam automatic spell corrector on the iPad.
Logged

Offline Offline
Full Member
***
Karma: 5
Posts: 207
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You oughta see my androids auto correct
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So I assume it's safe to go with that configuration?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 604
Posts: 33448
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes it is fine.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48569
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Yes dam automatic spell corrector on the iPad.
http://www.damnyouautocorrect.com/10484/the-top-15-most-popular-dyac-texts-of-all-time/
Logged

Offline Offline
Full Member
***
Karma: 5
Posts: 207
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Don't tempt me. I'll never get to bed if I click on that link.
Logged

Pages: [1]   Go Up
Jump to: