• The swap meet forum is for private non-commercial transactions. Only unmoderated members can post here.

    diyAudio provides this forum for the convenience of our members, but makes no warranty nor assumes any responsibility. We do not vet any members. Use of this facility is at your own risk. Customers can post any issues in those threads as long as it is done in a civil manner. All diyAudio rules about conduct apply and will be enforced.

Remote relay volume control kit.

Status
Not open for further replies.
I imagine the the 4U can be used to control port such as the TI PCM 1792 (TDMCA or Serial Port (SPI/I2C))?

What do we need to have in order to be able to program it (hardware/software)?

What literature would be a good starting point to get going?

Is it possible to add a few el-cheapo ADC channels to the board to enable voltage monitoring?

Petter
 
APOX-4U

Petter,

I don't see any reason that the PIC couldn't control the TI PCM 1792.

I recommend the CCS C compiler. from www.ccsinfo.com
I like this compiler because it has so many built in hardware functions.

I would also get Microchips ICD2 for debugging your software.
Its not a fancy ICE (In circuit emulator), but it allows a real time breakpoint which is usually more than adequate to debug your software. (And I put the RJ-45 jack that interfaces directly to the ICD2 on the board)

Do you know how to program in C?
If not, then you should learn.
You could program in assembly for very small programs, but I
find what I can do in C in 5 minutes, might take 5 hours in assembly.

The best book for beginners is the "C programming language" its a little white softcover book written by
"Kernighan and Ritchie" the orginal creators of the C programming language.

I think you can get it at amazon.com

The PIC microcontroller has on board ADC's so no need to add anything.

It also has a Brownout detection circuitry which you can set to monitor if the power is about to shut off.

I hope that helps,
Craig Beiferman
 
Re: APOX-4U

dipchip said:
I recommend the CCS C compiler. from www.ccsinfo.com
I like this compiler because it has so many built in hardware functions.

Do you know how to program in C?
If not, then you should learn.
You could program in assembly for very small programs, but I
find what I can do in C in 5 minutes, might take 5 hours in assembly.

The best book for beginners is the "C programming language" its a little white softcover book written by
"Kernighan and Ritchie" the orginal creators of the C programming language.


That compiler is inexpensive. I've been dying to get into microcontroller usage and also do some real world DSP work (I've had a couple DSP classes, but that's hardly useful). I'm seriously toying with a digital domain active crossover.


As for "C" books, there are more bad ones that good ones. The one I like (which fits my engineering brain) is Kelly and Pohl's, "A Book On C"

Sheldon
 
apox-dk1 Redesigned

Peter Daniel,

Based on your suggestion, The APOX-DK1 now has only a single relay path for the input select lines.

I'll post the new schematic later today.

Thanks for your suggestions!

This morning Dale and I are going to get together to start kitting
boards. :yikes: for the May 8th shipment date.

We even got two of the boards in early. (Yee haw!)

-Craig
 
APOX-1 prototype

<h2>APOX-1 prototype board has been built!</h2>
😀 😀 😀 😀 😀 😀

The APOX-1 boards came in, so Dale and I decided we should
hold off on kitting, and make sure that the APOX-1 really functions as promised.

Yippee! it works! (at least with a multimeter)

Dale is going to wire it into his system at home for a listen test.
Thats the real test anyway!

-Craig
 
APOX-1 volume control

Dale was testing the APOX-1 volume control at home.

He said occasionally he heard popping when changing the volume.

But, I think I have a great idea too clean up the popping.
For the SHUNT relays.
Closing any relay will always LOWER the volume.
SO,
When we are switching volumes, we should close all of the relays that need to be closed before we open up any relays that needed to be open. That way the volume will always go down first, and then back up to where it needs to be.

For the PASS relays:
Closing any relay will RAISE the volume
SO,
We do the exact opposite.
We open all of the relays that need to be opened, and then we close all of the relays
that need to be closed.

A small pause between the opening and closing will allow time
for relay bounce, and will hopefully eliminate any loud popping noises.

I'll adjust the firmware on Monday to test this theory.:nod:


-Craig
 
Status
Not open for further replies.