eeprom


Posted on Feb 5, 2014

This PIC microcontroller EEPROM project saves the temperature from an LM35DZ IC to the PIC`s internal long term data storage area. The project follows on from the last project using the virtually the same hardware. It stores temperature readings internally at regular intervals until full and after this it turns on the LED. The LED is really just f


eeprom
Click here to download the full size of the above Circuit.

or showing that something is happening and in a real data logger you would not use it. Note: This project is not optimized for power consumption so the best way to use it is powered from a power block. The current consumed is about 13mA (LED off) 16mA (LED on at end). If you want to use a battery use a rechargeable PP3 and do not attach the LED. The 12F675 may not the best PIC microcontroller to use for low power data logging and a better choice would be the 16F88 as it can change its internal oscillator on the fly going into slow (current saving) mode. But you could use the 12F675 with a slow external 32kHz crystal. At every ADC reading the LED is flashed briefly and when you select a 500ms reading interval you can see the readings being taken. When 64 readings are accumulated the LED is lit permanently - showing that the data store is full. Note: For this chip you only get to store 64 results as you need to store an unsigned integer for every ADC result and this takes 2 bytes so 128 Bytes/2 = 64 results. The solderless breadboard and circuit diagram are nearly the same as used in the previous project so if you have already built it you don`t need to do any more. Just add the blue wire, D2 and R6. At start up the led is flashed three times. If you hold the button at start up the LED is flashed six times and the internal EEPROM will be erased ready to start logging the temperature again. As mentioned before setting GP3 high...




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    Calibrated-tachometer
    Strobe Alert System Circuit
    LED (IR LED1) and the phototransistor (T1) and wireless light switch
    Arduino Barometric Pressure WebServer
    mic 702 mictronics schematic diagram
    usb 5v to 12v dc dc step up converter
    Lead Acid Battery Charger #2
    1984 F-350: crew cab My fuel gage switch in the dash
    GSM Remote Control Module
    DIY Homemade Ignition Coil Driver
    GH-75 type circuit hydrogen atom welder



    Top