T
treez
Guest
Hello,
I wish to connect an LM35 temperature sensor into the ADC of a PIC12f675.
I wish to read the temperature once per second, and if the temperature is higher than the previous reading, then store the temperature reading as an eight bit byte in EEPROM of pic12f675.
If the temperature ever goes negative then it will put a negative voltage into the pic12f675, so i will have to add a resistor in series between pic adc and LM35.
10K should be ok?
Is writing to eeprom of pic12f675 just a case of movlw b'00011111' then movwf eedata ?
Because i hear that writing to eeprom is not an easy task, is this true?
The data must still be in eeprom even if the pic power supply is removed for a day, then switched back on again.
I wish to connect an LM35 temperature sensor into the ADC of a PIC12f675.
I wish to read the temperature once per second, and if the temperature is higher than the previous reading, then store the temperature reading as an eight bit byte in EEPROM of pic12f675.
If the temperature ever goes negative then it will put a negative voltage into the pic12f675, so i will have to add a resistor in series between pic adc and LM35.
10K should be ok?
Is writing to eeprom of pic12f675 just a case of movlw b'00011111' then movwf eedata ?
Because i hear that writing to eeprom is not an easy task, is this true?
The data must still be in eeprom even if the pic power supply is removed for a day, then switched back on again.