--To mister
@marconi , yes you send me one 7 x 5 LED matrix, but dont worry, it is a very interesting component for me, especially for testing stuff. I will make a light game with it after everything is finished up. Also showing some letters on it as you initially intended, though your project was way more challenging than mine here. At least is how I perceive it.
--To mister
@SparkyChick - your Max6818 is a --- VERY interesting IC !!! --. I never heard of it and is completly new to me. Definitely I will consider it in the near future, if not in something practical then as a curiosity and still will be a gain for me. I really like cool practical IC's like these, very specific and dedicated. Very cool chip, I like it ! I am unsure how many components around it will be necessary, OR if it will be by itself, input and output and nothing else than that, just clean connections between the analog buttons and the digital pads.
If its simple like this:
then is very nice, I like it.
I also read the intro in its datasheet, (I always do), and it "
feature single-supply operation from +2.7V to +5.5V" and then "
switch/buttons inputs ±25V " which is very interesting.
You'd only need to worry about ADC's if you're looking at analog devices like potentiometers, thermistors, LDRs etc.
- So I was right to assume I will have to convert with an ADC. ---Thank you very much--- to confirm it back to me. In a sense, now that I stay and remember "stuff" that I know but long time on the shelf of memory, full of dust and some crap, I remember that I had some trouble with some PIC's that did not had ADC included on them. So I had to debounce a button using a delay made from a fixed capacitor like 100nF to gnd, I have the circuit somewhere in my PC specific for it. Also I could debounce it directly in code. So 2 ways. Also, you may remember me using a lot of 12F508, who does not have ADC incorporated so I had to be very smart about inputs. It worked fine for buttons but I could not advance to other inputs types... So the idea I am saying here, is that I confirm that the --digital-- PIC had to have an ADC, and the same goes for my --digital-- pads I have here, the same as for the PIC, must be made a conversion first.
-
What is the cheapest ADC chip ? and doing good job and easy to mount in circuit that you guys recommend to me? I usually buy 100pcs, but at a very low price - if possible.
--To mister
@timhoward , I actually thought on multiple PICs as you suggested, but the biggest problem was the price per PIC , so for a large number of them, the price got very high very quickly. Also, interfacing them, programming through them, probably its a nightmare. I never use them like this and I think is an interesting idea, but remains to be experimented in the future. So I'll put it on my shelf of memories. I actually used shift registers in my very first experiments back in 2000's and I got hooked up by them very quickly. Back then I was programming in Pascal !!! and I had to find a special library to access the LPT printer port or something... but 90% of those memories are a blur, I largely forget everything I did back then, how I did it and the circuits I used. Im glad I got this new way using I2C which is more simple to program and to make the circuit. Someone suggested to use it, and I listen and I did it. Good stuff !