PIC Microcontroller based resistor decade box

The old resistor decade boxes consisted of a bunch of rotary switches which make them little bulky and expensive. Stynus has built this microcontroller-based resistor decade box that uses one rotary encoder and 16 relay switches to switch on the various resistances. The microcontroller used in this project is PIC16F84A.