Volume control with rotary encoder and pushbuttons? - diyAudio
Go Back   Home > Forums > General Interest > Car Audio

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
Reply
 
Thread Tools Search this Thread
Old 20th August 2014, 09:41 PM   #1
diyAudio Member
 
Join Date: Nov 2009
Default Volume control with rotary encoder and pushbuttons?

Hello all. I am trying to get the finial stages of my car pc figured out. My setup integrates a hidden pioneer deh-p6400 cd player (just for eq and volume control) and my tablet. Where I am getting stuck is with the volume control. It uses a rotary encoder and I would like to integrate my steering wheel controls for volume up and down too. The steering wheel control unit has 3 wires, one for volume up, volume down and a wire to connect power or ground through the switch. Is there a way I can use some logic chip to output the same binary signal needed when I press a push button either way? I will upload the schematic for the cd player volume control circuit. Any advice would help!

-Dustin
Attached Images
File Type: jpg volume.jpg (134.3 KB, 132 views)
  Reply With Quote
Old 20th August 2014, 10:30 PM   #2
diyAudio Member
 
Join Date: Nov 2003
Location: Louisiana
It appears that the volume switch simply grounds one of two data lines. If so, doing the same with a relay should step the volume. If it's that simple, you could use a 555 timer to create pulses so you could hold the button to change the volume without having to repeatedly push the button.
  Reply With Quote
Old 20th August 2014, 10:46 PM   #3
diyAudio Member
 
Join Date: Nov 2009
I have tried connecting a wire from the gnd terminal and touching it to either of the lines that have the 5v. It does not change it that way. That's what I first thought also.
  Reply With Quote
Old 20th August 2014, 10:55 PM   #4
diyAudio Member
 
Join Date: Nov 2009
Sorry I guess I would indeed need to create a pulse like the last part of your post stated. Would you need to run the timer on astable mode? If so what do you think is needed for frequency?
  Reply With Quote
Old 20th August 2014, 11:21 PM   #5
diyAudio Member
 
Join Date: Nov 2003
Location: Louisiana
Why 5v?

Short the terminals that are together in the switch. Shorting 1-5 should step the volume.

Set it as a free running oscillator. The frequency would depend on the rate at which you want to change the volume.
  Reply With Quote
Old 20th August 2014, 11:27 PM   #6
diyAudio Member
 
Join Date: Nov 2009
The 2 lines for signals had 5v tested with the DMM. Part of the schematic says 5.2v also.
  Reply With Quote
Old 21st August 2014, 01:40 AM   #7
diyAudio Member
 
Join Date: Nov 2009
I checked the encoder and it was pretty random for the frequency. I couldnt see a pattern. I think it was relitive to the speed I spun the knob. So I made a 555 timer astable mode circuit and outputed to 65Hz. I ran it off the cd players power and tried outputting the 5v 65Hz to the signal wires and it didnt change the volume. I didnt think the input voltage should be from the wire SWDVDD (pin11) do you? Do you think the output for volume down should be to Pin11 and volume up be RDTO (pin4)? Or is the power for the encoder pin 11 and depending on the binary out from the encoder to pin 4 changes the volume?
  Reply With Quote
Old 21st August 2014, 01:45 AM   #8
diyAudio Member
 
Join Date: Nov 2009
The thing about that encoder is when you have the dial on the bench it acts differently than you would expect from the diagram. Using an OHM meter on continuity setting, the side with 3 terminals will all be connected with one click of the rotation, the next click it is open.. etc. The side with 2 wires do not show they have any connection when rotating. I cant find an internal diagram of that encoder to figure out if theres more to it then just a rotational switch.
  Reply With Quote
Old 21st August 2014, 02:04 AM   #9
diyAudio Member
 
theAnonymous1's Avatar
 
Join Date: Feb 2004
Location: Anonymityville
Completely off the wall thought, and not any way helpful with what your trying to do now, but...

How about connecting the steering wheel switches to a spare IR remote volume control buttons? Kind of a Rube Goldberg solution, but it would work.
  Reply With Quote
Old 21st August 2014, 02:38 AM   #10
diyAudio Member
 
Join Date: Nov 2009
I have thought of that but I'd like to use my hardwired ones and the stock car wiring runs right near the back of the unit.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PCB for magnetic absolute rotary encoder (vol. control) Fernando1958 Group Buys 3 9th January 2014 07:49 PM
How to use the Rotary Encoder to control the cs3310 ? cac liu Digital Source 12 25th April 2013 10:59 AM
Optical Rotary Encoder Volume Control unit using the Grayhill 62P DJ Exprice Everything Else 17 1st January 2008 08:50 PM
encoder volume control morpheus82 Solid State 16 18th November 2006 01:54 PM


New To Site? Need Help?

All times are GMT. The time now is 12:53 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2