
Hello and welcome to element14
I think your project is quite interesting. I have a similar need where my I have external computer speakers connected to my cable box. Unfortunately, I have no way to control the volume with a remote as I do with the builtin TV speakers. I'm glad you posted as I had not been thinking that I should bother to figure out a solution.
I like your idea of an inline volume control with remote control. I noticed there is a kit from Ramsey that might be useful:
MK163 - IR Stereo Volume Control Board Kit
http://www.ramseyelectronics.com/cgi-bin/commerce.exe?preadd=action&key=MK163
If you'd rather build it from the ground up, then I think that the Arduino prototyping platform would be a good way to go. Do you have any microcontroller experience?
The Arduino could interface with a digital potentiometer to adjust the audio volume. There are several tutorials I can point to if interested. Also, there are several good tutorials on how to do IR remote control of the Arduino.
As for Bluetooth, if I understand correctly, then this would to interface the volume knob with the master controller? Is that because you like RF as it doesn't require line of sight like IR? I think you'd be better off using a different RF protocol as Bluetooth modules tend to be more pricey. A cheaper alternative would be XBee (aka ZigBee). There are many great tutorials for interfacing with Arduino.
Finally, just a tip since you are new to element14, I think your post might be more relevant for the "Open Source Hardware" or "Embedded Systems" groups. You can move this discussion thread if you'd like by clicking on "Move discussion" under the "Actions" box on the upper right hand side. You might also want to create blog under your account to post about your progress - I'll definitely be interested to see how your design evolves.
Cheers,
Drew
Hi
I admire your enthusiasm, it nearly matches my own! I know exactly how you feel regarding the way a project grows, I guess you have an inventors soul. Do not try to stifle it!
Your project is entirely possible, wether or not it is practical is something you should not worry about, as you are making it to use yourself.
I have designed a Bluetooth speaker for my garden shelter, you can connect with a bluetooth phone and play what you like, I am hoping to have time to redesign and add a playlist feature.
Take a look at some Bluetooth modules...search google for small form factor Bluetooth pcb modules like the MDCS51B class 2 module.
Also it might help to draw yourself a flowchart, It will help your mind to focus, and will allow you to break the system down into smaller steps.
Take each step at a time, and write down everything in your project notebook.
And then when you need help, you will be able to ask for it in a more concise manner.
Good Luck!
I just noticed the Ramsey kit uses a volume control IC which probably would work better than just a plain digital pot:
http://pdf1.alldatasheet.com/datasheet-pdf/view/32185/TOSHIBA/TC9413AP.html
Looks like that part is not easy to get but there seem to be several alternatives for this type of part.
As an aside, thanks for the comment on the Bluetooth module. I've only used and seen modules which do SPP (like from SparkFun). I really like that this one has A2DP. Curious, what type of processor did you use in the project?
You really sparked my interest in solving my own volume control need
Turns out the kit I linked to from Ramsey was made by Velleman:
MK163
http://www.vellemanusa.com/products/view/?id=521411
MK164
http://www.vellemanusa.com/products/view/?id=521414
The schematic PDF shows that the full circuit which you could definitely use to guide your own custom project. There is a PIC microcontroller that interfaces with the IR sensor and then controls the Toshiba volume control chip.
MK164 comes with a complete enclosure with jacks. This 2-channel remote looks to work with either kit:
MK162
http://www.vellemanusa.com/products/view/?id=500343
I think I'm going to try to order the MK164 and MK162 from a distributor (unfortunately Ramsey doesn't have MK164). I'll let you know how it goes in case you want to integrate into your project.
Thanks,
Drew
Hi Drew
So many projects,and my mind is full tonight, I used a PIC30F6010A.
I know it was slight overkill, however at the time I had some new samples so got to work with this chip. The system is slightly more complex as it is solar powered and also stores temp, humidity, and light intensity.
SInce I joined Element 14 I have been impressed with the community as a whole, and therefore given time I will post more detailed build instructions on my site and provide links.
I will start with this as it may be of use to you both to have another 'system' to ponder on.
I will follow your progress with interest too!
Ah, a dsPIC. Interesting, I've only used PIC16 and PIC18 before but had thought it would be good to try one someday. Thanks for sharing, and I look forward to reading more about your build when you manage to find time.
Thanks,
Drew
Hello again everyone! Thanks for the replies, sorry it took so long for me to look at them ><
As for Bluetooth, if I understand correctly, then this would to interface the volume knob with the master controller? Is that because you like RF as it doesn't require line of sight like IR? I think you'd be better off using a different RF protocol as Bluetooth modules tend to be more pricey. A cheaper alternative would be XBee (aka ZigBee). There are many great tutorials for interfacing with Arduino.
Yes, the volume knob would interface with the master controller. It would send commands and allow audio to be streamed between the two devices. Because of the streaming audio, I was thinking bluetooth would be the best option. I didn't even know bluetooth was an RF protocol and i didnt think to look into another one of those. (despite anything the master controller will also have an IR sensor for basic remote controls). Thanks for the tips Drew! I will definitely be looking into the arduino. Also, sorry for the noob post in the wrong area, ill move that after i make this post.
I admire your enthusiasm, it nearly matches my own! I know exactly how you feel regarding the way a project grows, I guess you have an inventors soul. Do not try to stifle it!
Aha thanks for the support, means alot to me really! And thanks for the tips as well!
You really sparked my interest in solving my own volume control need
Well then, glad to be of service haha! Hopefully you are successful in solving your issue as well! keep me posted! ill be keeping a blog of my progress when i start just as you suggested.
I am really impressed by the community here, ill reply later this week when i have a plan ready!
Hey all, just a quick reply with what I have thought of so far.
I thought some more about using RF to transmit audio, then i realized... DUH! Im already doing that!!!!
I had a set of very unconfortable, now discontinued radioshack wireless headphones that operated on the 2.4ghz range. I hated the headphones, so i bought some more comfortable ones that operated on the same range. Both of these headphone packages were very cheap and not really meant for home entertainment systems. They each came with a portable transmitter that ran on batteries that would plug into a device via the headphone jack.
The portable transmitters both worked perfectly for my needs except for one issue: they could only run on batteries. I was not able to plug the power to the transmitter and have it transmit at the same time, which means that i would have to constantly recharge the batteries and turn the device off to save the charge i made. All i wanted to do was have the transmitter plugged into my tv transmitting at all times, getting its power from the outlet.
That just wouldnt do, so of course i made a little mod I opened up the old transmitter and took out the batteries. after making sure it would be safe, i soldered the positive and negative leads on the board for the battery to the leads that came from the outlet. Then i disconnected the wires that fed the outlet power to the batteries for charging so that the transmitter wouldnt think it was charging when plugged in, and instead thought it was running on batteries. the result: a perfect rf audio transmitter for my needs
So in other words, I already have an rf transmitter for headphones. If I wanted to make it so that the knob could recieve that signal and send it to any headphones, all i would need is an rf reciever module to integrate into the knob. After doing some thinking, ive decided this to be impractical since i already have a set of working wireless headphones, so for now I am going to scrap that idea out of my project (although i may add the functionality at a later time)
Now my project has become much simpler. I want a wireless volume control wheel (it has to be a knob/wheel cuz i like that style best) that controls the volume via an inline volume controller.
From drews first post, I took a gander at this: http://www.vellemanusa.com/products/view/?id=521414 (the mk164 ir volume control).
I think this would work nicely for my project! I would take the transmitter and put a pot on it that would cause it to send an IR signal to the reciever whenever i moved it left or right, and then put a button somewhere that would allow for a mute and a switch that would put the device on hold, stoping it from sending signals to the reciever yet allowing the blue leds im going to throw on it to glow. And of course, an on/off switch on the botton to conserve battery.
My concern is, would the ir signal respond quickly enough? I would like to emulate the same kind of control that my current volume wheel has. For instance, would the volume level change fluidly even if i turn the knob fairly quickly? It is this concern that is making me consider RF for the communication (in which case I would need an rf transmitter and reciever. the RF reciever would be rigged into the IR reciever to make it think it has recieved an IR signal every time the RF reciever picks something up. The knob would use RF transmitter instead of the IR one)
while looking things up, I found many tutorials on converting a wireless mouse into a volume knob. I thought that was a really good idea! The problem with this is that it would only change the volume on my computer. Im going to look more into allowing the mouse to send its signals to my inline controller.
Another thought that i think would be pretty nifty would be an LED bar strip velcroed/glued to my tv. The led bar would display blocks to portray the volume level, just like you would see on the tv normally! I could wire the led bar into the controller so that whenever the volume changes, the led bar responds by lighting up and changing the number of bars accordingling, then dimming after a few seconds. I could put this bar behind a piece of translucent grey/dark grey plastic to make it look nice.
Hi Evocator, glad to see your mod worked and your ideas are progressing. If you get the Velleman volume controller, then I think you could make an IR controller with a dial.
One idea would be to get the MK162 2-channel remote and control it with another microcontroller (let's say an Arduino) which has a rotary encoder attached. The MK162 does come with a simple microcontroller already, a PIC12, which controls the IR emitter. If you had the source code and the ability to program it, then you could probably just modify it to use a rotary encoder directly.
However, it would be easier to use a secondary microcontroller like an Arduino. Instead of placing the push buttons on the MK162, wires would go from those pads to the Arduino. The Arduino could then trigger the remote to change volume up or down. The Arduino would do so based on input from a rotary encoder. Here's an Arduino example on SparkFun: http://www.sparkfun.com/products/9117
This might all sound a bit bulky but you can save alot of space by constructing your own Arduino circuit on a perfboard using a kit like the Mintduino:
http://www.makershed.com/Mintronics_MintDuino_p/mstin3.htm
or using a small Arduino clone like the Arduino Nano:
http://www.newark.com/arduino/a000005/arduino-nano-board/dp/13T9275?Ntt=arduino+nano
or the Pro Mini:
http://www.sparkfun.com/products/9218
Alternatively, you could just use the MK162 remote to figure out the IR coding scheme and then integrate the IR emitter into the Arduino. This would make for even a nicer package. If you have access to a digital scope or logic analyzer then that should be doable. Adafruit has a great tutorial on this:
http://www.ladyada.net/learn/sensors/ir.html
(BTW, if you happen to be in the market for a logic analyzer, I highly recommend the Saleae Logic: http://www.saleae.com/Logic)
Cheers,
Drew