Project : Lab BP + PID CONTROL
Version : 2.4
Date    : 06.02.2010
Author  : Ildus
                              Comments & schematics:
// IIC LCD  TIC 107 (PCF2119) conect to Port D 0x12
// pin LCD              port d                            pin  MEGA8
// 4 - Vcc             +5v                                       7
// 3 - SDA             PD0        bit 0                          2
// 1 - SCL             PD1        bit 1                          3
// 6 - GND                                                       11
// 2 - POR - reset (1) PD2        bit 2                          4
// 5 - VDD2 +4.5v from diode
// 7 - VLCD - cap. 1 mkf to gnd
// if SA0 = GND - address 0x76, else 0x74  CHECK I2C ADDRESS!!!
// pin  15  PB1 OC1A to  VT1
// ADC3 pin 26 -  to R15 1 Ohm - real Curent from load  Curent monitor R15 = 1 Ohm
// ADC2 pin 25 -  to Voltage divider R13/R14 [(R13+R14)/R14] = 5, you can calibrate here the voltmeter:
// ADC1 pin 24  - to R7 100k - SET CURRENT
// ADC0 pin 23  - to R6 100k - SET VOLTAGE
Chip type: ATmega8  Fuses CKOPT  -  0, SUT1 - 0, SUT0 - 1, CKSEL 3, 2, 1, 0  -  1, 1, 1, 0  (0 -v)
Program type            : Application