georgypaul
- Nov 13, 2018
- 1
- Joined
- Nov 13, 2018
- Messages
- 1
I was working on an Automated Resistor Sorter Project with GUI found on internet. Here they have chosen the ADC output limits to be 99 (0.32v)
although the PIC 32 is using a 10 bit ADC which have levels upto 1023.
(http://people.ece.cornell.edu/land/.../anp56_bwg38_nol5/anp56_bwg38_nol5/index.html)
"The measurement autoranging feature and the CTMU is controlled by the PIC software. We first initialize the CTMU by modifying CTMUCONbits to turn on the CTMU module, disable the discharging, and enable the charging of the circuit. We initially start off with current level 1, the lowest possible current output by the CTMU. If the ADC reading is greater than 99 (~0.32 V) then we break out of the loop and use this value of current to calculate the resistance. Otherwise, the loop iterates through increasing current levels until an ADC value of 99 or the maximum current is reached. Therefore, we keep the current safely low and gradually step it up only when we know the next step will not exceed the tolerable voltage"
This is what is given in the project description. Can anyone let me know why 99 was taken and also how to find the value of max resistor that can be sorted. Please
although the PIC 32 is using a 10 bit ADC which have levels upto 1023.
(http://people.ece.cornell.edu/land/.../anp56_bwg38_nol5/anp56_bwg38_nol5/index.html)
"The measurement autoranging feature and the CTMU is controlled by the PIC software. We first initialize the CTMU by modifying CTMUCONbits to turn on the CTMU module, disable the discharging, and enable the charging of the circuit. We initially start off with current level 1, the lowest possible current output by the CTMU. If the ADC reading is greater than 99 (~0.32 V) then we break out of the loop and use this value of current to calculate the resistance. Otherwise, the loop iterates through increasing current levels until an ADC value of 99 or the maximum current is reached. Therefore, we keep the current safely low and gradually step it up only when we know the next step will not exceed the tolerable voltage"
This is what is given in the project description. Can anyone let me know why 99 was taken and also how to find the value of max resistor that can be sorted. Please