Padauk version of Elektronic-labor TPS
This a port of the TPS system to a Padauk PFS154-S16 written in 'Mini-C'.
As this chip has no onboard EEPROM an external 24C02 I2C EEPROM is used.
Important reset for this system is by power cycling
The port mapping is as follows:
- PA0 = PWM output
- PA4 = ADC using the built in comparator
- PA3 = I2C Clock
- PA5 = I2C Data
- PA6 = Switch1
- PA7 = Switch2
- PB0-PB3 = A1-A4 and LED outputs
- PB4-PB7 = E1-E4 inputs
Timer 16 is used as a 1 Millisecond interrupt for the wait instructions
Instruction 5-9 is now PWM with the A register representing the pulse width
Instruction 5-10 gives servo style PWM between ~ 1 and 2 milli seconds.
Added Schematic, protype picture and a couple of videos of the ptotype running