Pages: [1]   Go Down
Author Topic: rotary input  (Read 728 times)
0 Members and 1 Guest are viewing this topic.
Central UK
Offline Offline
Newbie
*
Karma: 0
Posts: 46
Hard of Thinking
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all, another case of "tell me what I'm thinking" please :-)

I want to use a rotary input like a pot to send a value to the Arduino.

I'll set a max and min but want to be able to rotate freely, i.e. the knob can continue to turn even after I have hit the min/max and it will take multiple turns to move from one extreme to the other.

I guess I'll just be sending an "I'm moving THIS way" or "I'm moving THAT way" signal.  Like a mouse wheel?

Not sure what component need though..can anyone advise?  Many thanks.
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 653
Posts: 50907
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sounds like you want to google rotary encoder.
Logged

Copenhagen / Denmark
Offline Offline
Edison Member
*
Karma: 6
Posts: 2360
Do it !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Do your self a service and get an optical rotary encoder and save the trouble of debouncing a mechanical one.
Logged

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

This link is good:-
http://www.arduino.cc/playground/Main/RotaryEncoders
Logged

Central UK
Offline Offline
Newbie
*
Karma: 0
Posts: 46
Hard of Thinking
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Exactly what I was looking for and the Playground link gives some really useful explanations thankyou.
Logged

Pages: [1]   Go Up
Jump to: