getting started with sn 6675


Posted on Feb 5, 2014

In order to measure the temperature without using the thermometer, thermocouples are the option to do so. However, the thermocouples need a reference temperature(normally take 0°C ) as to detect the difference of the temperature in between the materials of the thermocouples and is very inconvenience for the user to use it. Hence, SN-6675 is introduced to do everything for you.This SN-6675 breakout board comes along with MAX6675 and a bypass capacitor. Specification: Works with K type thermocouple 0°C to +1024C output in 0.25 degree increments Internal temperature reading SPI data output requires any 3 digital I/O pins.


getting started with sn 6675
Click here to download the full size of the above Circuit.
getting started with sn 6675 - image 1
Click here to download the full size of the above Image.

The following show some part of the sample source code.. The microcontroller used for this tutorial is PIC16F887. The MPlab X version 1.20 and XC8 compiler version 1.0 can be downloaded from here Please refer here for MPlab X tutorial main function: This function was functioning as to read the temperature from the SN-6675. Sub-function: Since the MAX6675 receive 12 bits of data at once, this function detects the data received by shifting the bits received as much as 16 times before sending it back to PIC16F887. The following code shows the virtual SPI function generating the clock pulse 16 times in order to receive the data in 16 bits. Sub-function: Since the MAX6675 was received 12 bits of data at once, this function was detected the data received by shifting the bits received as much as 16 times before send it back to main function. The code following was using the virtual SPI function by generate the clock pulse by 16 times in order to received the data by 16 bits. This sub-function can be found from the MAX6675 library.




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    Negative Voltage Generator Schematic
    Ignition monitor strobe
    Low resistance continuity tester
    Programmable-amplifier
    Bipolar Stepper Motor Driver Circuit
    12W Audio Amplifier Circuit with TDA2006
    Simple Metal Detector
    PHOBoS DIY Synth schematics
    Simple Portable Thermometer
    Stabilized Adjustable Power Supply 0-15V/5A
    Digital Radar Speedometer
    gmcounter
    Automatic Switch Project



    Top