The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Input Devices

Reply
 
Thread Tools Display Modes
Old 03-07-2005, 01:40 PM   #1
Variable Bitrate
Frigor's CarPC Specs
 
Frigor's Avatar
 
Join Date: Aug 2004
Location: Faenza, Italy
Vehicle: 1995 BMW E36
Posts: 299
My Photos: (0)
How to self-made a knob to control volume

I know there are a lot of rotary knob like PowerMate, but they are too expansive and often too big...

I'd like to embed it in place of the cigar lighter knob

I looked around and found this:
http://www.phidgetsusa.com/viewproduct.asp?SKU=1052

But, how to integrate it in a working system? has anybody done something similar?

Thank you...
__________________
BMW E36 Project [ =======§== ]
Hardware:
Lilliput 7" Touchscreen - Epia M-10000 - HQCT 1.0 FM Radio - 2.5" 80Gb - USB GPS
Software:
FrodoPlayer 1.10 & MapMonkey with FriBruMet Skins by Frigor.
Frigor is offline   Reply With Quote
Sponsored Links
Old 03-07-2005, 02:18 PM   #2
9 Fingered Administrator
Lesbian
 
frodobaggins's Avatar
 
Join Date: Jan 2003
Location: Ruston, LA
Vehicle: 1998 Ranger/1991 Sunbird
Posts: 9,852
My Photos: (0)
yes they have, seen a few, don't know the links
__________________
FrodoPlayer.com
TeaBaggins.com
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
frodobaggins is offline   Reply With Quote
Old 03-07-2005, 02:26 PM   #3
MySQL Error
jcdillin's CarPC Specs
 
jcdillin's Avatar
 
Join Date: May 2003
Location: Miami, FL
Vehicle: 2002 Dodge Ram 1500 Quad Cab
Posts: 4,342
My Photos: (3)
if I remember correctly someone just modified the scroll wheel from a mouse, I dont know if you want to get that deep into it, and I think they used girder to map the function to volume
__________________
肚子笑痛了
S60 Install
jcdillin is offline   Reply With Quote
Old 03-07-2005, 02:30 PM   #4
Variable Bitrate
drait's CarPC Specs
 
drait's Avatar
 
Join Date: Dec 2004
Location: NorCal
Vehicle: 89 Supra Turbo, 01 F4i
Posts: 247
My Photos: (0)


http://www.mp3car.com/vbulletin/sear...earchid=751821

There have been a number of posts concerning the use of Phidgets and rotary encoders as volume knobs (and other functions as well). One of the easiest way to obtain a volume knob is with an older scroll wheel mouse that still uses a mechanical (rotary) encoder for the scroll wheel. You remove the one on the PCB and replace it with a higher quality one like the ALPS and use Girder to capture the MWHEELUP and MWHEELDN events. Send those to the system volume and you've got volume control (Girder even has a nice OSD for vol control). You can also capture the mouse click from button 3 (or whichever it is on your mouse) and use it to mute or pause.
__________________
89 Supra Turbo
drait is offline   Reply With Quote
Old 03-07-2005, 02:35 PM   #5
ddn
Variable Bitrate
 
Join Date: Dec 2004
Posts: 295
My Photos: (0)
3 Easy Steps:

1. Buy Phidgets rotary encoder.
2. Find and glue knob on.
3. Install in dash.

What is so hard? It says right on the site:
Quote:
Rotary Encoder. With dedicated USB cable for small form factor applications.

Our encoder is a prepackaged solution needing no other hardware to run. Simply plug into the USB port and go!

16 clicks for the full rotation.

Doesn't get any easier than that.
ddn is offline   Reply With Quote
Old 03-07-2005, 03:34 PM   #6
Variable Bitrate
rubicon's CarPC Specs
 
rubicon's Avatar
 
Join Date: Feb 2005
Location: $240 worth of puddin'
Vehicle: 2000 Jeep Wrangler Sahara
Posts: 297
My Photos: (2)
FWIW, I got an optical encoder from Digikey; planning to hook it up to the parallel port of my M10k (since its not doing anything anyhow).

If anyone's interested, I can post pics/schematics/code when I'm done.
rubicon is offline   Reply With Quote
Old 03-08-2005, 05:12 AM   #7
Nic
FLAC
 
Nic's Avatar
 
Join Date: Oct 2003
Location: Melbourne, Australia
Vehicle: 1993 TX3 Laser
Posts: 1,047
My Photos: (0)
yes please schematics pics and code would be awesome
__________________
Signature: [==||========] 20% complete
Nic is offline   Reply With Quote
Old 03-08-2005, 09:11 AM   #8
Variable Bitrate
rubicon's CarPC Specs
 
rubicon's Avatar
 
Join Date: Feb 2005
Location: $240 worth of puddin'
Vehicle: 2000 Jeep Wrangler Sahara
Posts: 297
My Photos: (2)
Quote: Originally Posted by Nic
yes please schematics pics and code would be awesome

Ok, as soon as I get all the parts and get it (nominally) working, I'll post some info. Should be sometime next week, unless I get the parts in time for the weekend.
rubicon is offline   Reply With Quote
Old 03-08-2005, 10:47 AM   #9
Variable Bitrate
rubicon's CarPC Specs
 
rubicon's Avatar
 
Join Date: Feb 2005
Location: $240 worth of puddin'
Vehicle: 2000 Jeep Wrangler Sahara
Posts: 297
My Photos: (2)
Alright, so I couldn't wait.

Parts list:

1x Grayhill 61C11-01-08-02 (32-position optical encoder w/switch)
1x Spiffy aluminum knob for the encoder
3x 10kOhm resistors (pull-up; one for each output + switch)
1x PC Parallel port + mating d-sub plug
various connectors, pieces of a CAT-5 cable, solder + burned fingers, etc.

So, I'm using a variant of the circuit shown on the 2nd page of this PDF document.

For +5V, I'll be using a GPO off of my (soon to be had) Matrix Orbital VK204-25 display, since it'll be right next to the encoder.

For the data acquisition, I'll be writing a small C program to (for now) poll the parallel port. Since the encoder almost always has at least one of its outputs high, I don't think an interrupt-driven scheme will work here - would *constant* interrupt servicing be any better than polling?

FYI, most of the daemons I'll be writing for this project will be in perl, with C for the speed-critical stuff.

Circuit diagram + more info to come.

Last edited by rubicon : 03-09-2005 at 12:45 AM. Reason: Part# was Digikey, not Grayhill
rubicon is offline   Reply With Quote
Old 03-09-2005, 01:39 AM   #10
Variable Bitrate
Frigor's CarPC Specs
 
Frigor's Avatar
 
Join Date: Aug 2004
Location: Faenza, Italy
Vehicle: 1995 BMW E36
Posts: 299
My Photos: (0)
Quote: Originally Posted by drait
One of the easiest way to obtain a volume knob is with an older scroll wheel mouse that still uses a mechanical (rotary) encoder for the scroll wheel.

Where can I find a mouse like this? I knew that all the mouse wheels were optical...
__________________
BMW E36 Project [ =======§== ]
Hardware:
Lilliput 7" Touchscreen - Epia M-10000 - HQCT 1.0 FM Radio - 2.5" 80Gb - USB GPS
Software:
FrodoPlayer 1.10 & MapMonkey with FriBruMet Skins by Frigor.
Frigor is offline   Reply With Quote
Sponsored Links
Old 03-09-2005, 01:58 AM   #11
Variable Bitrate
 
silencery's Avatar
 
Join Date: Jul 2004
Location: Los Angeles, CA
Vehicle: 2001 Toyota MR-S
Posts: 339
My Photos: (0)
ball mice w/ scroll wheels are your best bet. There's a lot of info in my sig.
__________________
Stealth OEM spyder
1204 dot net!
silencery is offline   Reply With Quote
Old 03-09-2005, 02:39 AM   #12
Variable Bitrate
rubicon's CarPC Specs
 
rubicon's Avatar
 
Join Date: Feb 2005
Location: $240 worth of puddin'
Vehicle: 2000 Jeep Wrangler Sahara
Posts: 297
My Photos: (2)
Home-grown rotary encoder circuit

Ok, so here's some info, for those of you who
  1. don't want to purchase the Phidgets encoder
  2. have a bug up your butt about doing this yourself (like me!)

Parts as listed in previous post; see attachments for pic of (probable) circuit and (rough) software to get useful info out of the parallel port.

The software is still academic - I haven't gotten my encoder, yet. But it reads the (currently bogus) data from the parport just fine, and the encoder connection should be a snap. Oh, and it polls the parallel port - not optimum, but seems to be not such the resource hog that I thought it'd be.

Note: Please don't ask me how to get this stuff to run on your machine - if I can figure it out, so can everybody else.

Note #2: This completed whatchamathingy will be included in a post about my car pc install when said install is completed. No idea when that'll be; hopefully soon!

Note #3: the encoder I'll be using is kind of pricey (~$20) for what you get; I'm sure that a more economical version would work just fine, with appropriate circuit/software modifications.
Attached Images
 
Attached Files
File Type: zip poll_parport_gh_encoder.zip (1.8 KB, 134 views)

Last edited by rubicon : 03-09-2005 at 11:12 AM. Reason: *more* silly changes to C source
rubicon is offline   Reply With Quote
Old 03-09-2005, 02:48 AM   #13
Variable Bitrate
 
silencery's Avatar
 
Join Date: Jul 2004
Location: Los Angeles, CA
Vehicle: 2001 Toyota MR-S
Posts: 339
My Photos: (0)
rubicon,

I don't know if you're open to the idea, but you can do the same thing w/ a rotary encoder from an old mouse (scroll wheel). You can use girder's mouse plug-in to manipulate the events, and it will even give you advanced control options like a powermate (turning cw, ccw, turning while holding down the knob, etc).

All in all, the project should cost about $5.00 for the mouse and $20.00 for girder. Of course, it's even better if you can find an old ball mouse lying around; you can simply hack that up. If you like, you can hook up an external knob to the PCB of the mouse to replace the stock mouse encoder. All you have to do is hook up the appropriate leads.
__________________
Stealth OEM spyder
1204 dot net!
silencery is offline   Reply With Quote
Old 03-09-2005, 02:51 AM   #14
My Village Called
0l33l's CarPC Specs
 
0l33l's Avatar
 
Join Date: Jul 2004
Location: Berkeley, CA
Vehicle: 1995 Lexus SC300 1997 Mazda Miata
Posts: 10,763
My Photos: (0)
If you're going with the phidgets rotary encoder, why not just go all out and get the 8/8/8 kit. I'm pretty sure that you'll find good uses for the other features
__________________
PowerVoice v1 | NaviVoice Source
GammaControl v2.4
SKINbedder v3

1995 Lexus SC300 <-- Weekend Car
1997 Mazda Miata <-- Daily Driver
0l33l is offline   Reply With Quote
Old 03-09-2005, 11:26 AM   #15
Variable Bitrate
rubicon's CarPC Specs
 
rubicon's Avatar
 
Join Date: Feb 2005
Location: $240 worth of puddin'
Vehicle: 2000 Jeep Wrangler Sahara
Posts: 297
My Photos: (2)
silencery: I appreciate the thought, but two things keep me from using a mouse wheel+girder (or the like):
  1. Its Windows only (no MS operating systems allowed here, folks). I follow the *NIX philosophy of "one tool for one job" - a daemon to monitor & process outputs from the encoder, another for the IR remote, another for the GPS, etc.
  2. I have in my mind the way I want this project to look+function, and a hacked-up mouse wheel doesn't fit into the plan. Plus, if all I did was assemble *everything* from off-the-shelf components without putting a little of my own blood, sweat, and tears into the mix, I'd be no better than the Teutuls (the OCC folks).
That's not to say that using the mouse wheel+girder isn't a good option - its just not for me.
rubicon is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

vB 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
vb.net code for volume control takissd Software & Software Development 16 07-09-2006 10:32 AM
Volume Knob help jjh221 Car Audio 12 11-09-2004 11:02 AM
Xbox volume control knob Quattro Input Devices 6 05-13-2004 08:25 AM
Volume control failed! djmole Media Engine 2 03-04-2004 01:02 PM
Griffin Powermate volume control help bklynkaos Input Devices 3 02-08-2004 09:48 PM


All times are GMT -5. The time now is 04:54 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics