
A way of estimating resistance for external sensors without a mixed signal ADC. Excites an external RC cicuit with a step, and measures the time taken for the circuit to rise. This rise is assumed to be when input digital pin that is connected to the analogue RC rising voltage flips from 0 to 1. Uses this time to calculate resistance.
First pulse the reset high, then once the circuit is enabled, will output step voltage, measure time for step input to be seen and then will output 32 bit calculated resistance value via the uart pin.
Only require a resistor and 10 nF capacitor.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | reset_in | step_set | |
| 1 | enable | uart_tx | |
| 2 | step_input | ||
| 3 | |||
| 4 | |||
| 5 | |||
| 6 | |||
| 7 |