last update: 2/11/2003
The MAX158 connects to the DSP's microprocessor bus, which is available on P2 of the EZ-Kit Lite.
Here is the Data Sheet for the MAX158 . You can also get a couple of *FREE SAMPLES* from this link!
Maxim also makes a 4-input version, the MAX154. However, if you're going to be part of the ezkitdev scene, you should really get the MAX158, since all of my future work is going to be based on it.
Use this Table to make the connections b/t the MAX158 and the EZ-Kit Lite.
Get 8 potentiometers or slider pots, etc. I recommend 100K Ohm Linear taper sliders, not audio taper. Radio Shack ones are big and clunky. You have to cut off the shaft because it's way too long. You're better off with something from digi-key or future-active. browse their catalogs.
Once you've got the knobs, build 8 voltage dividers.
Connect Vcc and Gnd to either end of every potentiometer. Then, take the wiper from each pot and connect it to the AIN inputs on the max158.
Congratulations, you now have 8 knobs which you can program to control any parameters in your DSP Programs!!!
The lowest 3 bits of the address in IO memory that you read from will select the pot to read from. E.G. read from addresses 0x0000 through 0x0007.
e.g. when you read from the pots in order 0,1,2,3,4,5,6,7,0,1,2,3.. you'll actually be getting values from 7,0,1,2,3,4,5,6,7,0,1,2...
Download it here.