User manual
7
1 Introduction
The principle of the TPS controller is simple. You have four digital inputs E1 to E4 and four
digital outputs A1 to A4. There are also two analogue inputs AD1 and AD2 and a quasi-
analogue PWM-output. A reset input with a connected reset button resets a programme to the
start. The controller is supplied with three AA cells with approx. 4.5 V and can work in a range of
2.2 V to 5.5 V.
Technical Data:
Microcontroller: HT46F47
Clock frequency: 2 MHz
Internal EEPROM: 128 Bytes
Power supply VCC: 2.2 V to 5.5 V
Current consumption: 1 mA at 4.5 V
4 output ports: resilient until 10 mA
1 PWM output: resilient until 10 mA
4 input ports: Quiescent condition 1
2 analogue inputs: 0 V ... VCC
2 key inputs: Quiescent condition 1
Components in the learning package:
Pinboard
Battery compartment 3 * AA
Wire
HT46F47 with TPS-firmware
3 Pushbuttons
4 LEDs 5 mm, red
1 LED 5 mm, green
1 LDR
3 disc capacitors 100 nF
1 electrolyte capacitor 47 ยตF
5 resistors 2.2 kO
1 resistor 10 kO
1 resistor 27 kO
2 resistors 100 kO
For programming, you need the two buttons S1 and S2 and a simple LED display of four LEDs
at the outputs A1 to A4. There is a total of 14 simple commands with associated data or
subcommands. Commands and data are each encoded as 4-bit binary numbers from 0000 to
1111 (decimal 0 to 15) and are directly visible at the display LEDs. The respective number is
programmed to S1 by pushing buttons when programming. S2 switches between command and
data and increases the address in the command line. The entire programme structure is so
simple that you will know it by heart with a little practice.