Hi All,
I’m currently debugging my first midibox and need your help, guys…
I’ve build one CORE and one AIN modules. The CORE is ok, I can dowload code into the PIC with no problem all seems to be ok (display correct messages on the LCD).
The problems begin to pop-up when trying to access the pots via the AIN module. I already solve the problems of the random value (the classical newbie bug… :-)).
The problem is that when I try the ain_example3_v1_3 application, I can turn whatever pots but nothing happens.
So I try then the ain_example1_v1_3 with a pot directly connect to RA0 on the PIC and that’s working.
I’ve checked my AIN for connections/soldering problems several times and all seems fine. I’ve also checked that when I move the first pot, the voltage is also moving at the pin5 of the first 4051. I’ve test different 4051 with no success…
I begin to think that the problem come from the 4051 themselves.
So, two questions:
-
Is the HCF4051BE a correct replacment for the CD4051 ?
-
How can I test that a particular 4051 is working? I would like to adress statically a particular input of the 4051 in the main of the application to test with the multimeter values at input and output of the 4051, but I’m not yet familiar enough with MIOS and PIC ASM to do this…
Who can help me on this topic ?
Thanks in advance
Xan