All right, so in case someone stumbles on this thread:
I've written some code for the PIC 16F887 microcontroller which is too big for a project like this (The chip is big, 40 pins, 35 I/O ports if I recall). There is no display for the moment.
I had problems with some portions of the code, but as usual .. Super heroes chimed in and saved the day .. You can go to the thread here
https://www.electro-tech-online.com...rol-adc-some-questions-some-code-here.128221/
Now the things to do:
-Port the code to a smaller chip. I'm thinking about the PIC 16F88. This is what I had first in mind. It's a nice 18 pin package which has enough I/O pins for:
-Add the display (dual or triple seven segment display).
Once I get those to work, I'll add stuff to it.
You can go to a page which has a similar project here:
**broken link removed**
This is the code I was going to use. It was a bit broken and I fixed some stuff, and then I didn't find the chip he used. Not being proficient yet to tweak it to a PIC 16F88 "rapidly" (it was for homework at that time), I decided to write my code from scratch eliminating the display for another chip. Now that I've done that, I can tackle porting and adding features, multiplexing, etc in a cleaner way.
I'll clean the comments not to be so messy, and update the thread whenever progress is made. I'm a bit busy right now, learning about oil extraction and well logging techniques, wireline, sensors they use, etc... (an internship with an oil service company) and I'm doing my "homework".
Thanks everyone.