Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4747

ADC Calculator

$
0
0
The Mr.E Calc has an ADC Calculator function, but it calculates clock times for reading the ADC port. I needed the ability to enter voltages and get a 12-bit ADC value (expected) for a long list of voltages. Again, I turned to my new-found skill of PC programming and created an ADC Calculator App. From the start page, you set the VREF+ voltage (defaults to 5.00) then enter the voltage. It spits out 8-, 10-, and 12-Bit ADC values. Click on "Calc Volts" and it allows you to work the program in reverse. Choose 8-, 10-, or 12-Bit from the Radio Buttons and enter an ADC value. The Volts give you the expected voltage for that ADC value.

Attachment 8511
Attached Files

Viewing all articles
Browse latest Browse all 4747

Trending Articles