Go Back   Home > Forums > Source & Line > Digital Source
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, 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 4th December 2004, 08:35 PM   #1
diyAudio Member
 
Mr. Triatic's Avatar
 
Join Date: Feb 2002
Location: SWE EU
Default control a preamp with PIC-processor

Hi guys and gals!
i´m looking for schematics and possibly software (.hex/.asm) for PIC16F84 or similar..

what do i want it to do?
*switch at least between two different inputs (..relay of course)
*a power-up timer for switching on the tube powersupply (delay ~40 seconds or so..)
*mute switch

so there will be a count of 3-4 button inputs and about 4 outputs on the PIC

any links?
anybody who would like to write a program for me?
-i can program the PIC myself so all i need is the proper code in hex or asm

any help appreciated!!
__________________
www.joddla.net/audio/
  Reply With Quote
Old 4th December 2004, 08:46 PM   #2
jwb is offline jwb  United States
diyAudio Member
 
jwb's Avatar
 
Join Date: Mar 2002
Location: San Francisco, USA
Send a message via AIM to jwb
Are you only considering PICs, or other micros as well? I'm working on an AVR preamp program and would be happy to share.
  Reply With Quote
Old 4th December 2004, 08:54 PM   #3
jleaman is offline jleaman  Belgium
Banned
 
Join Date: Apr 2002
Send a message via AIM to jleaman
Interesting ? Got any schematic's so far ?
  Reply With Quote
Old 4th December 2004, 08:58 PM   #4
diyAudio Member
 
Mr. Triatic's Avatar
 
Join Date: Feb 2002
Location: SWE EU
thanks for reply jwb!
although PIC would be the best for me, since i already have got the programmer for PIC and a handful of 16F84´s... 8-)

(is it difficult to build a programmer for AVR´s?)
__________________
www.joddla.net/audio/
  Reply With Quote
Old 4th December 2004, 11:28 PM   #5
jleaman is offline jleaman  Belgium
Banned
 
Join Date: Apr 2002
Send a message via AIM to jleaman
i want to keep an eye on this thread / project because id like to build one also. and p[robably buy a pre - programed pic as im a mac'y and dont use pc : O )
  Reply With Quote
Old 5th December 2004, 11:40 AM   #6
diyAudio Member
 
Join Date: Jan 2004
Location: Brecey
Hi,

I'm skilled on PIC programming, and I can write a program in ASM or C .
What the PIC is suppose to do precisely ?
How many input and output do you need ?

NETeagle
__________________
if I like it, I just do it !
  Reply With Quote
Old 5th December 2004, 12:02 PM   #7
diyAudio Member
 
Mr. Triatic's Avatar
 
Join Date: Feb 2002
Location: SWE EU
hi neteagle!
what i want the pic (16F84-4) to do is this;

*at power-up there should be a delay on one pin, about 30-40 seconds, for the tube powersupply or speaker switch-on if used in a power amplifier
(in that way this circuit would be universal for DIY tubes, preamps or amps..)

*two buttons for switching between two inputs (CD/TAPE)
that is two inputs and two outputs from the pic

*one button for mute or any other function i would like, one input and one output on the pic

i would like to use momentary switches, so the output from the pic should change state everytime i press the button, the button should be de-bounced with 20ms or so..

i attached a simple schematic over the PIC with the buttons 8-)
as you can see there would be a total count of three inputs and four outputs (it can be simplified thrue only using one button for switching between the two inputs)
Attached Images
File Type: jpg pic_schematic.jpg (12.6 KB, 630 views)
__________________
www.joddla.net/audio/
  Reply With Quote
Old 5th December 2004, 03:46 PM   #8
mcs is offline mcs  Denmark
diyAudio Member
 
Join Date: Aug 2003
Location: Denmark
Have you seen the stuff on my website? I could supply you with a cheap chip

Best regards,

Mikkel C. Simonsen
__________________
My personal electronics website
Remote control kits website
  Reply With Quote
Old 7th December 2004, 08:09 AM   #9
diyAudio Member
 
Mr. Triatic's Avatar
 
Join Date: Feb 2002
Location: SWE EU
thanks mcs, you have a alot of interesting kits and parts!!
but i´m somewhat stubborn, i still want to use a pic processor, in that way i can modify the code and maybe learn myself how to write my own code someday 8-)
__________________
www.joddla.net/audio/
  Reply With Quote
Old 7th December 2004, 09:19 AM   #10
diyAudio Member
 
Join Date: Jan 2004
Location: Brecey
Hi Mr. Triatic


I have design a simple schematics for your application .

Tell me if it is ok !

@+

NETeagle
Attached Images
File Type: png pic16f84a interface with 3i-4o.png (14.6 KB, 569 views)
__________________
if I like it, I just do it !
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Attempt a fix, or get it fixed ... preamp processor not quite right :( Deaf Cat Solid State 2 17th January 2009 10:46 PM
i need preamp schematics w/o tone control or volume control hernanstafe Parts 7 30th January 2008 03:12 AM
My ForePlay Processor Controlled Preamp Algar_emi Tubes / Valves 34 14th December 2005 05:38 PM
HT Preamp-processor... Luke123 Digital Source 0 22nd January 2004 04:54 PM
New Preamp, Processor, Speakers (A Culmination of several projects) PaulHilgeman Multi-Way 9 30th June 2003 04:57 PM


New To Site? Need Help?

All times are GMT. The time now is 10:48 PM.

Page generated in 0.12411 seconds (73.96% PHP - 26.04% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio