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 28th July 2005, 04:46 PM   #1
diyAudio Member
 
Join Date: Jan 2005
Location: Gilbert
Smile Microcontrolers, what to use them for?

I have recently been given the following PIC chips and a programmer made by Microchip:

PIC16C64/JW 9503 CAT 3EA
PIC17C42-16/JW 9413 CBA NR 1EA
PIC16C55/JW-S1 9424 CFT 1EA
PIC16C71/JW-S1 9351 CAT 1EA

What can I do with them??? I would love to build a pre-amp, cd player, lcd something. Anyone have any ideas?


John
  Reply With Quote
Old 28th July 2005, 05:14 PM   #2
diyAudio Member
 
Craig405's Avatar
 
Join Date: Jul 2005
Location: Sussex
Its quite a lot of effort to program a microcontroller unless you have had experience with them before, but yes a good use for one (or 2 plus an EEprom chip maybe) is in preamps.

Assembler is an easy language to pick up once you have figured out what ports and various registers are for.

Display control/messages, volume control, automatic power up/down, saving bass/treble combinations with motorised POTS and remote control signal processing.

Anything to do with control you can think of really.

Thats what i'd do with them anyway but it is quite time consuming.

Regards
Craig
  Reply With Quote
Old 28th July 2005, 05:30 PM   #3
cbm5 is offline cbm5  United States
diyAudio Member
 
Join Date: Mar 2005
Location: Arkansas
Those are one-time-programmable chips, if you're really interested in microcontrollers, you might want to pick up some flash versions (contain F in the name). Microcontrollers are very cheap and small these days, it's to the point where using a microcontroller is often simpler and cheaper than traditional circuits for blinking a light, timing an event, generating a tone, etc. They're very good for tying together other circuits with a bit of logic, or as a communications center. Virtually any device that communicates with a computer will use a microcontroller. Recent developments include DSP functions on small microcontrollers, making some forms of signal processing very inexpensive.

The only thing directly audio-related I ever tried to do with microcontrollers was an electronic flute, obviously there are many other neat tricks out there.
  Reply With Quote
Old 28th July 2005, 06:16 PM   #4
oPossum is offline oPossum  United States
diyAudio Member
 
oPossum's Avatar
 
Join Date: May 2005
Location: Michigan
These are JW series, so they are UV erasable.

J = Ceramic DIP
W = Windowed (for UV erasure)

The 16C series have a very simple instruction set and minimal peripherals. The 17C series has an extended instruction set similar to the 16 series. There where only a few 17C series chips and they never became very popular. The 12F/16F series are the most popular right now.
  Reply With Quote
Old 28th July 2005, 06:20 PM   #5
oPossum is offline oPossum  United States
diyAudio Member
 
oPossum's Avatar
 
Join Date: May 2005
Location: Michigan
What to do with them??? Well.. They can talk to electronic volume control chips, analog switches (4066, 405x and similar), encoders, IR receivers, LCD displays, LEDs, tuner chips, etc... Lots of DIY audio apps, but mostly preamps.
  Reply With Quote
Old 28th July 2005, 08:14 PM   #6
diyAudio Member
 
Join Date: Jan 2005
Location: Gilbert
Thanks for the replys everyone. I have also received a couple of LM4550 chips that are audio codec chip for pc's. I was thinking I might be able to use a microcontroller along with a couple of these chips to create a preamp with multiple inputs, lcd display (tell input and volume level), volume, bass, lo-mid, mid, hi-mid, trebel eq's, and if possible have it control a pc cd-rom so I could have an integrated unit.
  Reply With Quote
Old 28th July 2005, 11:59 PM   #7
guido is offline guido  Netherlands
diyAudio Member
 
guido's Avatar
 
Join Date: Mar 2002
Location: diepe zuiden
If you are going to do something like this, get a controller which is flash programmable. Debugging is going to be a long story if you have to wait for the erasing time after time... And a 16F84 or a more modern device is cheap. Check if your programmer can handle those.

If not, build your own. Tons of stuff on that on the net. Only takes few zeners, one transistor and some resistors. In chip programmable, so not remove, put in programmer, put back on pcb all the time either.

Made a preamp myself with 16F84, hit www.
__________________
GuidoB
  Reply With Quote
Old 29th July 2005, 05:14 PM   #8
diyAudio Member
 
Join Date: Jan 2005
Location: Gilbert
Hello,

Thank you for the information. The link you listed is not complete. I would love to see your preamp.

Thanks,

John
  Reply With Quote
Old 29th July 2005, 10:50 PM   #9
guido is offline guido  Netherlands
diyAudio Member
 
guido's Avatar
 
Join Date: Mar 2002
Location: diepe zuiden
hit www next to the email button

Anyway, the pictures and info on the webpage is old. Went away from volumecontrol by motoralps to 6 relays. Made a new pcb for this, this time a 'real' one (olimex). After some debugging and ordering new parts it works fine. I''ll update the webpage someday (after i get a dig cam that is).

Also got a display with the parts, blue chars. Maybe i'll put one in after all....
__________________
GuidoB
  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
Teeny, Tiny, Microcontrolers. bigparsnip Digital Source 19 27th August 2003 01:44 PM


New To Site? Need Help?

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

Page generated in 0.11383 seconds (83.94% PHP - 16.06% MySQL) with 10 queries

Copyright ©1999-2012 diyAudio