For CENG 355 - Microprocessor-Based Systems at UVic.
Complete code for a microcontroller that
- Reads an analogue voltage level
- Outputs an analogue control signal to a 555 timer (via optocoupler) based on the input voltage
- Measures the oscillation frequency of the 555 timer
- Displays controller resistance (determined from input voltage) and timer frequency on an LCD
Overly detailed design summary is here