|
|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Parts Where to get, and how to make the best bits. PCB's, caps, transformers, 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 |
|
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
|
I'm looking for digital pots for audio volume control (32 position)that are easy to control with a pic. I have read about the serial control protocols, but I'm looking for something that is easier to control using a pic. I'm also looking for digital switches, which can be used to select the input; also controllable with a pic. Any suggestions are appreciated.
|
|
|
|
|
#2 |
|
Banned
Join Date: Apr 2002
Location: Germany, Clausthal
|
switches http://www.maxim-ic.com/SwitchMux.cfm
digital pots http://para.maxim-ic.com/compare.asp...,114379,114380 serial protokoll _is_ easy some more steps you get with a PGA2310, ready working with pic it woul look like: http://home.tu-clausthal.de/~tpa/PGA/index.html also a useing the search butto on this board will show loads of information for digital pot, PGA2310, ... |
|
|
|
|
#3 |
|
diyAudio Member
|
I did a search on the PGA2310, and I thought that maybe there was something easier to control, so that's why I asked. I'll get some PGA2310s and I'll try to figure out the serial interface. Thanks for the reply.
|
|
|
|
|
#4 |
|
Banned
Join Date: Apr 2002
Location: Germany, Clausthal
|
What language do you use, what pic do you want to use?
In assembler its straight forward: PGA_WR BCF SCLK BCF CS_PGA ; Chip select CALL WAIT10 BTFSC volume,7 BSF SDI BTFSS volume,7 BCF SDI BSF SCLK ;Bit1 BCF SCLK BTFSC volume,6 BSF SDI BTFSS volume,6 BCF SDI BSF SCLK ;Bit2 ........ BSF SCLK ;Bit15 BCF SCLK BTFSC volume,0 BSF SDI BTFSS volume,0 BCF SDI BSF SCLK ;Bit16 BCF SCLK CALL WAIT10 BCF SDI CALL WAIT10 BSF CS_PGA ; Chipdeselcet RETURN of corse you can also make it nice and pretty with a loop... |
|
|
|
|
#5 |
|
diyAudio Member
|
I'm gonna try to use C. I dont know assembly, but I think I can figure out C. As for the pic, I was thinking about the 16f887a.
|
|
|
|
|
#6 |
|
Banned
Join Date: Apr 2002
Location: Germany, Clausthal
|
We (Pieter and me) have this http://home.tu-clausthal.de/~tpa/space/IM002696b.jpg
device running, but firmware is made is assembly. To me it looks there is not much difference between assembly and high level languages on a MC, as most time you need to server hardware of the chip. Advantage is you are not involved in any compiler license and may distribute assembly code and binary free as you want on the net. Also a compiler is limited or does cost money. An assembler is not limited and for free. Its also with 16F877A, i will put some information on it on my homepage in short time. |
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help needed with digital pots | poodina | Digital Line Level | 0 | 30th March 2009 08:25 AM |
| Digital Pots | Dynsdale | Tubes / Valves | 5 | 14th September 2005 04:02 AM |
| FS: heatsinks and OPA549 +opamps/digital pots | needtubes | Swap Meet | 0 | 8th September 2004 07:26 PM |
| Digital Pots in 5.1 System | abid_rehan | Chip Amps | 25 | 20th April 2004 08:07 AM |
| PCB For Digital Pots? | PHilgeman | Parts | 0 | 23rd December 2003 12:50 PM |
| New To Site? | Need Help? |
| Page generated in 0.08210 seconds (77.21% PHP - 22.79% MySQL) with 10 queries |