+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Banned
    Points: 598, Level: 5

    Join Date
    Sep 2013
    Location
    Ahmedabad
    Posts
    104
    Helped
    0 / 0
    Points
    598
    Level
    5

    LM35 withPIC16F887 using HTC C Compiler

    Hello

    can any one give me the suggestion for how to convert temeperture into analog and again it to into Celsius for display it into hyper terminal. I am using PIC16F887 and LM35 And HTC C Compiler.

    •   AltAdvertisment

        
       

  2. #2
    Full Member level 4
    Points: 1,333, Level: 8
    embRTS's Avatar
    Join Date
    Sep 2013
    Location
    Bangalore
    Posts
    216
    Helped
    36 / 36
    Points
    1,333
    Level
    8

    Re: LM35 withPIC16F887 using HTC C Compiler

    I think you define the function to read ADC in PIC
    and then apply following
    Code:
     sprintf(char Variable , " %d " , Integer Variable)
    and print the Char Variable ,
    and also make it simple like Check for The UART Code also in hyperterminal I mean whether it is simply reading char and printing char this will assure that uart is working and then
    make a function to read ADC and then read LM35's value on hyperterminal



--[[ ]]--