Volume / Source selector - open source project ?
This forum contains a very large amount of projects, more or less ready to build or tweak, ranging from good to extremely good for the amplifier part. There is one system part that we all need, though, that is rarely presented in more than a half-finished way - the volume / source selector.
Quality pots and switches are slowly becoming extinct or economical unobtanium, as uP / remote control rules the commercial market. A good selector setup can be built with relays and common switches, but quality volume control is just another hurdle.
As for myself, I used to write programs for 8/16 bit uP using assembly and compiled BASIC :( , later some PASCAL, but never got around to learning C, as other work and tasks needed focus. Thus it will take me a looong time to build an write a stable control system. It seems that my situation is comparable to a lot of folks around here ;)
OTOS - there's a few guys (gals?) around here that do master this "art", - Danzup seems to be one to mention, and there are a few others..
Maybe obvious by now, but what I'm looking for , is a sort of an open "group project" to develop a sort of "universal DIY-Audio" volume/selector system around a given set of parameters - say 5 to 8 inputs, 8 bit volume, and remote control, just for starters (!)........
The project should contain files for programming, PCB files etc, for anyone to copy and use. PCB group buys are of course also possible, but there will always be late comers and basement tinkerers.....
For reasons given above, my own contribution can only be in the area of ideas, surrounding circuitry, PCB etc....
EDIT: Just another idea on the same foot - this project, along with e.g. various PSU designs could be part of a new sticky section - a sort of "ancillary" refrence designs...?????
If this project will use Atmel Atmega I'm in for hardware and software design ( software in Bascom and source commented for easy modifying by diy-ers with a lot of support from me , if you want... ).
What type of volume method do you want to use ? I think this is the most important choice to be made .
As for 8 bits are more than enough, no matter what type of volume is choose .
About the other parts everything else can be adjust.....
Hi Danzup - I sort of expected you to chime in...:)
Whether one uses Atmel or PIC, which to me seems the two most logical alternatives, doesn't really make a difference.......?
Both types have extensive support and free software, and can be programmed with very simple tools. Personally I prefer Atmel, but that's another story.
At the moment, I'm fiddling with a P1.7 clone, which uses an 8 bit output attenuator, but input or output attenuators mostly needs different resistor values.
I just started reading through your thread again, and I think you mostly have it covered already, although I do have to sort through which files belong to which version. There's quite a few of them already - and BTW - thanks for your open minded support.
Maybe we should give this a few days, just to see who else chimes in with ideas.
Somehow there should be some established commongrounds and limits. Otherwise there is the danger of endless permutations.....
How about max 7 inputs and 1 output ...= 1 port - or I2C....
8 bit volume - 1-2 lower bits can always just be left out...
RC5 remote protocol....
I'll watch this with interest, maybe add some input and definitely grab some ideas and suggestions.
I'm building a combined 2CH/HT with biamped mains, and triamped surrounds and would like to include the potential for 6 subs. All VC's will be on the outputs of 4 DCX2496's. It'll also have input selection and gain (mains only) and maybe a few other functions beyond the scope of what you guys are talking about, but I'm not trying to make mine a universal project, just suit what I need to do.
I got a big bunch of PGA2310's last week and have access to a Mikroe AMTEL development board at times until I get my own and I have the Bascom compiler. I've programmed in BASIC before but not for a few years so capability is rusty.
Whenever I mention this to others I get a 'wow, I'd like a 2CH + input selection version' response, but I'm not interested in designing PCBs or supporting it, so it would be nice to have something to refer them to.
This is a very good idea and something I thought was always lacking too. I thought Twisted Pear filled this gap very well with the Joshua Tree and Darwin but they have been out of stock for a long time and mainly focus on digital these days.
The main barrier for most DIY people I think is the PIC/software side of a good relay based input/volume controller. There are a few options available from DIY sites or Ebay but for me they are always lacking in some respect. They are not customizable and using PIC etc is not a very beginner friendly option....
So how about using an arduino for control? They are cheap, available everywhere, come in many shapes and sizes and are all very easy to write software for, even for a complete novice. With arduino it would also give flexibility to use switches, rotary encoders, pots, remotes and any displays too. Not to mention all the other off the shelf accessories you can get like bluetooth control, wifi etc.
If we had separate volume and input selector PCBs that are controlled via I2C one could use an arduino or anything that does I2C. One PCB for single ended or just double them up for balanced.
The flexibility to interface to anything you want : switches, rotary encoders, pots, remotes and any displays too is in software and not in platform .
No problems about writing for arduino for me , but I do not pay a dime never for arduino : it is only an atmel AVR chip with a lot of pins ! Nothing else !
The way I see it, is that the reason why no volume/selector project has been very popular is that every wants something different in a preamp but very few have the skills (or motivation to learn) to code for their own requirements like displays, buttons, encoders, remotes etc.
If each module was I2C controlled then at least it opens up options for more beginner users which will get more interest, perhaps?
I have something like this on my desk :
All I was saying was why to use arduino as a platform .
I am intended to help everyone ( how easy is ) to write modification in Bascom firmware
I will write for this project in a way as everyone to alter the firmware for his own needs .
this is something that I am also looking for.
To start off we need to set basic characteristics.
I would like a controller board that can control:
For the beginning I will suggest something like in attached files .
The project was designed modularly so that:
- Who wants to make only volume controller plate and plate volume only.
- Who wants to make only source selection board controller and only source selection board.
- Who wants only the volume and selection make controller board and the two boards.
- Who wants to make all facilities will make one controller card and all cards.
Beauty lies in the fact that the draft boards volume / source selection / control bass / treble controls are universal wiring modules with the same chip PCF8574 only address each plate will be different.
Micro-controller at start scan his bus I2C and see which modules are present and will change on the fly to display and settings and facilities.
On the volume pcb can be used to a max of 8 relay , so everyone can test : r2r , shunt , decade , hybrid ladder or combination of that !
Only the routine with volume part must be altered according with what type of volume you implement
It is an idea of mine .
Waiting for your input !
|All times are GMT. The time now is 10:41 AM.|
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright ©1999-2014 diyAudio