schéma partie Hardware
version Isis Lite 6.0 *.Datalogger_16F876_24C64_071102_isis692.DSN
ou 24C64.jpg
16F876
programmation par liaison serie IN CIRCUIT ICSP 9600
bauds
fonction UART (applicatif) 9600bds 8bits datas
pin17=RC6=Tx ------vert ---------- 3 de DS275 --- RS232
--> Ecran
pin18=RC7=Rx -----blanc/vert --- 1 de DS275 --- RS232
<-- Clavier
PORTA,5 (pin 7) <--------- Digital output for Led
blanche(Alive)
PORTA,3 (pin 5) <--------- +Ref
PORTA,2 (pin 4) <--------- Digital input level=0 pour
MAJ RTC
PORTA,1 (pin 3) <--------- Entree ANALOGIQUE mesure 2
PORTA,0 (pin 2) <--------- Entree ANALOGIQUE mesure 1
;------
PORTB,7 (pin 28) ---fil bleu-- output-->SDA (pin 1) --
SDA (pin 5)- I2C Devices----.DS1307----24C64----2.7K
pullup
PORTB,6 (pin 27) <--fil orange--in/out-> SCL (pin
2)-- SCL (pin 6)- -I2C
Devices---.DS1307----24C64----.2.7K pullup
Résultats
sur terminal
fichier log
capturé
Problemes
rencontrés:
delai à rajouter entre lectures successives!
questions ? mailto:paulfjujo@free.fr