Pages: [1]   Go Down
Author Topic: Rotary Encoder troubles  (Read 488 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 44
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I picked up a Rotary Encoder today from an Electronics shop.

I do not speak the native language in the country I am in, so I couldn't manage to get the pin-out for this encoder.

Anyway, it's a 4 pin device, assuming I correctly picked up an encoder. I cannot get this thing to work.

I am thinking that since it's a four pin encoder, I have to supply 5v to it. Would this mean I do not need to use pull-up resistors on the encoder pins?

Secondly, it could be I just haven't got it hooked up right, but there's only four pins and I've been messing with it for nearly 5 hours so I think I've tried every combo.

Any help would be appreciated.



EDIT: Went back to the shop and they swapped it. Since found out it wasn't a rotary encoder it was a rotary switch. FML.

Protip: Learn the language of the country you're in.
« Last Edit: April 07, 2011, 02:51:02 pm by AeroNotix » Logged

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

Use a meter and test the continuity between the terminals.
If it is a switch type then you will see two pairs making and breaking contact.
Then you need to wire it up with the common to ground, other connectors to the two inputs and enable the pull up resistors or have external ones.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 44
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's not a switch type, I thought that too.

I can't even get a reading when I set my multimeter to 'diode' to see if it's an optical type either...
Logged

0
Offline Offline
Faraday Member
**
Karma: 13
Posts: 2857
ruggedcircuits.com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Are there any markings at all on this thing? Any way you could post a picture?  Worst case: it's a broken 4-pin rotary encoder.

--
The Gadget Shield: accelerometer, RGB LED, IR transmit/receive, speaker, microphone, light sensor, potentiometer, pushbuttons
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 44
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

CTR is the only thing that's on it.

I have googled until my fingers bled, I cannot find any Encoder with that marking.

Maybe you have some google-fu I do not posses?
Logged

Pages: [1]   Go Up
Jump to: