|
|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Parts Where to get, and how to make the best bits. PCB's, caps, transformers, etc. |
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
|
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: Jun 2004
Location: London
|
Hi
I have a signal switching circuit which is based solely on momentary push button and relay activation. I would like to convert part of this (volume up and down) to a rotary type. I'm not too up with rotary encoders etc. Is this a simple exercise converting up/down buttons to rotary encoder? thanks Rob |
|
|
|
|
#2 | |
|
diyAudio Member
Join Date: Jan 2007
Location: Glasgow, Scotland
|
Quote:
Rotary encoders must be decoded in order to make them work. Try doing a search on gray code (a common type of encoder) to get an explanation of how it works. You really need a processor to convert the movement of the rotary encoder to volume up and down commands. You could use a PIC or AVR controller, but this is going to take some programmming. Maxim make a digital volume pot the MAX5440 which can take the signal direct from a rotary encoder however it only comes in a surface mount package. I have played with trying to get it to work but failed. I got fed up eventually. I have bought a pic programmer and eventually will get round to learning JAL properly in order to get the same result. Alternatively there are a couple of people here who have programmed chips to do this. You could look through threads and ask nicely for some code. You would still need a programmer of some sort. I an determined that eventually I will get one to work. But I dont see it as a venture that i will be able to complete in the short term. Hope my experiance isn't too much of a downer on your idea. Rotary encoders are way cool. Digital pots have some big advantages over stereo wipers in terms of size and tracking between channels. Push buttons are a bit easier. Maxim make a chip called the DS1802 which can be ordered in DIP and is easy to kmnock up into a design. It is limited by the voltage of your line in. Pedja Rogic has details on using this chip on his web site. |
|
|
|
|
|
#3 |
|
diyAudio Member
Join Date: Jan 2005
Location: Phoenix, Az.
|
If you're up for learning a little programming, it is really easy to decode a rotary encoder- usually just a table look-up.
You could probably skip the programming and wire the whole thing using logic chips, but a uC would only require 1 chip, so wiring would be much simpler. I_F |
|
|
|
|
#4 |
|
diyAudio Member
Join Date: Jun 2004
Location: London
|
Thank you for your replys. It's exactly what I needed.
R |
|
|
|
|
#5 |
|
diyAudio Member
Join Date: Dec 2003
Location: Albuquerque
|
|
|
|
|
|
#6 |
|
diyAudio Member
Join Date: Nov 2004
Location: Montreal
|
I think you need pulse switch.
Look this site, there are some information about theses switches. Go to the bottom -->> An Alternative to a Rotary Encoder |
|
|
|
|
#7 | |
|
diyAudio Member
Join Date: Feb 2004
Location: Anonymityville
|
Quote:
Here is a link to one mouser carries for $4.95 ...... http://mouser.com/Search/ProductDeta...9HU%2fxQ%3d%3d
__________________
"If you don't like funerals don't kick sand in Ninja's face." - Ninja |
|
|
|
|
|
#8 |
|
diyAudio Member
Join Date: Feb 2007
Location: Boston, Massachusetts
|
The AVR-based Arduino open-source microcontroller is another nice option.
I found it extremely easy to learn (as a software guy with a liberal arts degree) and because it goes right into your USB port you don't need to buy a programmer or anything to do your first project. www.arduino.cc is the homepage. |
|
|
|
|
#9 |
|
diyAudio Member
Join Date: Jun 2004
Location: London
|
Thanks for all the help. I think I may go for the pulse switch. I've attached a PDF of the control ciruit. It's only the volume I want on a rotary. The I/O drives a series of relays through several 4094s and 2 x ULN2003s. The preamp has a resistor ladder on it.
R |
|
|
|
|
#10 |
|
diyAudio Member
Join Date: Jun 2004
Location: London
|
just found the alps pulse switch. It has 40 detents which is not enough unfortunately. Looks like the rotary encoder option is better for this application.
R |
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| nice rotary encoder for audio? | h_a | Parts | 4 | 14th February 2009 10:43 AM |
| How to use the Rotary Encoder to control the cs3310 ? | cac liu | Digital Source | 11 | 24th July 2007 11:32 AM |
| Good rotary encoder for preamp project | mbcouple | Digital Source | 4 | 31st October 2006 09:39 PM |
| Rotary Encoder. Need help very much! | vytas | Digital Source | 11 | 23rd November 2005 12:47 PM |
| Digital rotary encoder | rho | Parts | 17 | 3rd December 2003 03:39 PM |
| New To Site? | Need Help? |
| Page generated in 0.11657 seconds (80.20% PHP - 19.80% MySQL) with 11 queries |