Remotely Controlled Motorized Volume Pot. - diyAudio
Go Back   Home > Forums > Source & Line > Analog Line Level

Analog Line Level Preamplifiers , Passive Pre-amps, Crossovers, 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
Reply
 
Thread Tools Search this Thread
Old 23rd February 2012, 08:11 PM   #1
fotios is offline fotios  Greece
diyAudio Member
 
fotios's Avatar
 
Join Date: Feb 2007
Location: Δραμα - North Greece
Default Remotely Controlled Motorized Volume Pot. + Free Software

Of course, there are a lot of similar projects on the market that offered either like pre assembled units or like kits. Here the difference is that the HEX code to program your own PIC16F88 is FREE!
The unit is remotely controlled with the use of RC-5 protocol. A brief description of unit: It offers the VOL+ and VOL- functions plus STBY and MUTE.
The micro is programmed to communicate with any RC5 compatible remote control handset. Each handset transmits a unique address code, e.g. TV address = 0 and Preamplifier address = 16. To initialize the micro for communication with a remote handset, we have to turn off the supply of micro and then to turn it on again. Then immediately the red LED starts to blink fast 10 times. Within this time we have to press firmly the button mounted on PCB until LED stops to blink and remains constantly glowing and then we release the button. Now, and within 3 seconds we have to press firmly a button (MUTE is preferred) on remote control. If address has been stored successfully, then the LED blinks slowly 6 times and we can release the button. If we don’t press any button on remote control then the TV address code = 0 is automatically stored in micro and the LED does not lit. If the remote control is incompatible with RC-5, then the LED starts to blink fast for 10 times and in micro is again stored the TV address = 0. That is all. The internal EEPROM of micro retains constantly the address code that stored.
In the picture you can see that I have connected the IR receiver with a screened cable of 20cm to the PCB. This not cause interference or missed signal problems and, at the same time, offers flexibility in the mounting of IR receiver IC on front panel of device.
For more details, schematics, PCB drawings and... of course to download the free HEX file (with it you can use any programmer able to program a PIC16F88) please here:

Matrix Multimedia user forums • View topic - Remotely Controlled Motorized Volume Pot.
Attached Images
File Type: jpg MotPotRC5_4.jpg (150.9 KB, 1378 views)
__________________
Best Regards FOTIS ANAGNOSTOU

Last edited by fotios; 24th February 2012 at 09:19 AM.
  Reply With Quote
Old 26th February 2012, 12:35 PM   #2
diyAudio Member
 
Join Date: Sep 2009
Hi fotios,

nice project.

Could you tell me how you managed the behaviour of the pot for single push/constant push oh the remote control ?

Thanks,

Max
  Reply With Quote
Old 26th February 2012, 06:56 PM   #3
fotios is offline fotios  Greece
diyAudio Member
 
fotios's Avatar
 
Join Date: Feb 2007
Location: Δραμα - North Greece
Quote:
Originally Posted by coolnose View Post
Hi fotios,

nice project.

Could you tell me how you managed the behaviour of the pot for single push/constant push oh the remote control ?

Thanks,

Max
Thank you Max
I hope you know some things about RC-5 transmition protocol. The process is based on the examination "If Toggle Bit flips state". When a button on remote control is firmly pressed the "Toggle Bit" does not change state, while if button released it does. In program code and for VOL+ and VOL- functions, the test "If Toggle Bit flips state" is omitted and a time delay of 100ms in the specific program loops prevents empty intervals between succesive train of pulses. So, as long as VOL+ or VOL- buttons on remote control are firmly pressed, the potentiometer is rotated continuously. When button is released the rotation stoped.
On the contrary, for STBY and MUTE functions "If Toggle Bit changes state" is taken into account in program code. So if e.g. the STBY button is firmly pressed, the receiver does not change continuously state. We have to release and to press again the button to do so.
Hope i was somehow understandable.
__________________
Best Regards FOTIS ANAGNOSTOU

Last edited by fotios; 26th February 2012 at 06:59 PM.
  Reply With Quote
Old 26th February 2012, 08:11 PM   #4
fotios is offline fotios  Greece
diyAudio Member
 
fotios's Avatar
 
Join Date: Feb 2007
Location: Δραμα - North Greece
Quote:
Originally Posted by coolnose View Post
Hi fotios,

nice project.

Could you tell me how you managed the behaviour of the pot for single push/constant push oh the remote control ?

Thanks,

Max
Max, here is a FlowChart that might help you understand better?
Attached Images
File Type: jpg MOT POT FLOWCHART.jpg (206.6 KB, 1254 views)
__________________
Best Regards FOTIS ANAGNOSTOU
  Reply With Quote
Old 26th February 2012, 10:11 PM   #5
diyAudio Member
 
Join Date: Sep 2009
Thanks Fotios,

your answer is spot on and much more precise than my question actually.

Max
  Reply With Quote
Old 4th March 2012, 01:58 AM   #6
fotios is offline fotios  Greece
diyAudio Member
 
fotios's Avatar
 
Join Date: Feb 2007
Location: Δραμα - North Greece
Default PCBs and microcontroller

Though i offered the program code free as a gift to diyAudio members instead a money donation to forum (is the same thing) some people asked me for availability of PCBs and pre-programmed micros. Most of them are users of "Lightspeed attenuator". For this use, there is no need for an expensive ALPS Blue Velvet motorized pot (23 Euro the lowest price on e-bay) or for the RK16 series (16 Euro). Recently, the well known for its quality BOURNS launched a range of economic motorized potentiometers for audio use. Mouser has stocked some values (10K, 50K) of these potentiometers for 9,50 Euro/piece. I allready ordered two pieces to try them. So, i will draw a second PCB with the footprint of BOURNS.
I think BOURNS will make the job pretty good.
Well, I can offer you pcbs and micros in the less possible expense. To this, pcbs will be simply tinned - no solder mask, no silkscreen - for saving cost, like this on the first picture.

1) A simple PCB with the programmed micro mounted on it:
18 Euro + 4,5 Euro p&p (registered parcel) + 1 Euro PayPal fees = 23.5 Euro (see picture 2)

2) Ready assembled PCB (see picture 3):
30 Euro + 6 Euro p&p (registered parcel) + 1.6 Euro PayPal fees = 37.5 Euro

It should be noted that the PCB can be divided in two parts with the use of a blade. The one part is for the potentiometer while the other for the control circuit.
For any question or help, please don't hesitate to contact directly with me in the e-mail address shown bellow in my signature.

P.S. Please Mr. moderator, don't move the post in Swap-Meet forum.
Attached Images
File Type: jpg MotPotRC5_PCB.jpg (156.6 KB, 1126 views)
File Type: jpg MotPotRC5_6.jpg (94.0 KB, 1061 views)
File Type: jpg MotPotRC5_5.jpg (188.4 KB, 1044 views)
File Type: jpg MotPotRC5_3.jpg (171.1 KB, 330 views)
__________________
Best Regards FOTIS ANAGNOSTOU
  Reply With Quote
Old 4th March 2012, 10:55 AM   #7
fotios is offline fotios  Greece
diyAudio Member
 
fotios's Avatar
 
Join Date: Feb 2007
Location: Δραμα - North Greece
Default REMOTE CONTROL HANDSET

A remote control handset with just 4 functions (i.e. 4 buttons for VOL+, VOL-, STBY, MUTE) as many as supports the microcontroller in the current project will be available very soon. The program code is ready and tested with success on actual hardware. Simply i am on the search to find a suitable ABS handheld case in the lowest possible price. I don't want the price of the final device to be more than 7 to 8 Euro.
In this way i will save myself and other people from those universal remote controls cluttered from 30 to 50 useless buttons. Another one benefit of this custom handset will be its transmition address = 16 or 19 which are the RC-5 protocol predefined addresses for preamplifiers. So, no messing with TV sets, CD-Players and vice-versa.
To the present i have located 3 - 4 good plastic cases in small dimensions. This in the first photo is a TEKO that costs arround 4 Euro. It is nice, but to obtain a better price i should place an order of 200 pieces at least.
__________________
Best Regards FOTIS ANAGNOSTOU
  Reply With Quote
Old 4th April 2012, 12:31 PM   #8
diyAudio Member
 
Join Date: Feb 2012
Wow, great work man. Very nice of you to free the knowledge and source.

I have a old JDM Programmer and a spare PIC16F84 lying around from a old infrared project.
Can I use the PIC16F84 instead of the PIC16F88 with your plans?

Time to go to the basement and get my etchant, toner-transfer paper and copper boards.

Cheers,
deChrLAm
  Reply With Quote
Old 5th April 2012, 08:24 PM   #9
Leon08 is offline Leon08  Germany
Banned
 
Join Date: Sep 2010
Location: at Home
I think PIC16F84 can be used as any other PIC also, but you need to change the code.
  Reply With Quote
Old 5th April 2012, 09:42 PM   #10
fotios is offline fotios  Greece
diyAudio Member
 
fotios's Avatar
 
Join Date: Feb 2007
Location: Δραμα - North Greece
Quote:
Originally Posted by deChrLam View Post
Wow, great work man. Very nice of you to free the knowledge and source.

I have a old JDM Programmer and a spare PIC16F84 lying around from a old infrared project.
Can I use the PIC16F84 instead of the PIC16F88 with your plans?

Time to go to the basement and get my etchant, toner-transfer paper and copper boards.

Cheers,
deChrLAm
Thanks for your kind words
Unfortunatelly P16F84 does not includes internal oscillator block. P16F88 includes INTOSC block and i use it. It is callibrated at 8MHz. I suggest you to buy a P16F88, is not so difficult to find it and is cheap. Otherwise - in the case you insist in the use of P16F84 - except code changes you should make and changes on PCB layout because you have to add an external XTAL of 8MHz and the associated caps (2 X 15-33pF).
For me, is not so difficult to change in program code the mcu and its configuration settings, but i haven't a P16F84 to test the changed code on actual hardware.
Please let me know.
__________________
Best Regards FOTIS ANAGNOSTOU
  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
SIMPLE remote volume control with alps motorized pot ChopperCharles Tubes / Valves 22 7th October 2014 04:36 AM
Slowing Adcom motorized volume pot bcmink Digital Source 1 17th January 2010 12:48 PM
Alps RK27112 10K Motorized Blue Velvet Volume Pot raghoser Parts 4 28th January 2008 03:24 PM
I need the infrared remote control schematic for motor controlled volume pot noyan Parts 4 24th July 2007 04:05 PM
FS: Remote volume control w/motorized pot theAnonymous1 Swap Meet 2 29th June 2006 12:38 AM


New To Site? Need Help?

All times are GMT. The time now is 04:21 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