+ Post New Thread
Results 1 to 12 of 12
  1. #1
    Full Member level 3
    Points: 736, Level: 5

    Join Date
    Dec 2012
    Posts
    169
    Helped
    1 / 1
    Points
    736
    Level
    5

    Tiny Digital Thermal Sensor using PIC18F4520

    Hello everyone ,

    I am doing a Tiny Digital Thermal Sensor using PIC18F4520 as my project. The requirement of this project is to allow us to see the room temperature in the room and displaying the temperatre readings at the LCD screen . If the temperature exceeds a limits that i set , AST1109MLTRQ which is a buzzer will be activated to alert us.

    The schematic of my board is on page 10 of the Pdf.

    Schematic.pdf

    i'm using C programming n MPLAB IDE tool.

    Click image for larger version. 

Name:	4520.PNG 
Views:	4 
Size:	69.6 KB 
ID:	84095

    This is the Pin diagram.

    Click image for larger version. 

Name:	IMG_0085[1].JPG 
Views:	6 
Size:	295.2 KB 
ID:	84096
    This is my board..

    i need some inspiration on how to start the project as i only learned C# in the polytechnic...

    Thank You very much :)

    Regards,

    In Real Need Of Help

  2. #2
    Advanced Member level 1
    Points: 2,867, Level: 12
    picgak's Avatar
    Join Date
    Oct 2011
    Posts
    407
    Helped
    101 / 101
    Points
    2,867
    Level
    12

    Re: Tiny Digital Thermal Sensor using PIC18F4520

    You can get good inspiration from Mr Tahmids Blog in this forumhttps://www.edaboard.com/entry1809.html



    •   AltAdvertisment

        
       

  3. #3
    Banned
    Points: 23,048, Level: 36

    Join Date
    Dec 2012
    Location
    Bangalore, India
    Posts
    4,294
    Helped
    830 / 830
    Points
    23,048
    Level
    36

    Re: Tiny Digital Thermal Sensor using PIC18F4520

    Are you using CCS C, Hi Tech C or C18 Compiler? May I know why there is 3 PIC's in the schematic you have posted?

    Here is a mikroC Pro Code.
    Last edited by jayanth.devarayanadurga; 7th December 2012 at 07:03.



    •   AltAdvertisment

        
       

  4. #4
    Full Member level 3
    Points: 736, Level: 5

    Join Date
    Dec 2012
    Posts
    169
    Helped
    1 / 1
    Points
    736
    Level
    5

    Re: Tiny Digital Thermal Sensor using PIC18F4520

    picgak: but im doing pic18f and not pic16f , will the programm work ?
    jayanth : C18 Compiler. im only using MircoChip U1 . The rest can be ignore

    - - - Updated - - -

    jayanth : to be exact im using the 40pins chip



    •   AltAdvertisment

        
       

  5. #5
    Banned
    Points: 23,048, Level: 36

    Join Date
    Dec 2012
    Location
    Bangalore, India
    Posts
    4,294
    Helped
    830 / 830
    Points
    23,048
    Level
    36

    Re: Tiny Digital Thermal Sensor using PIC18F4520

    I have used PIC18F452 and not PIC16F. You can use any PIC which has I2C support. I don't have C18 and I don't know the coding method of C18.



  6. #6
    Full Member level 3
    Points: 736, Level: 5

    Join Date
    Dec 2012
    Posts
    169
    Helped
    1 / 1
    Points
    736
    Level
    5

    Re: Tiny Digital Thermal Sensor using PIC18F4520

    F4520 and F452 got any difference?? what is I2C ?



  7. #7
    Banned
    Points: 23,048, Level: 36

    Join Date
    Dec 2012
    Location
    Bangalore, India
    Posts
    4,294
    Helped
    830 / 830
    Points
    23,048
    Level
    36

    Re: Tiny Digital Thermal Sensor using PIC18F4520

    Check the datasheet of PIC18F4520 and PIC18F452.

    what is I2C?
    http://www.i2c-bus.org/



  8. #8
    Full Member level 3
    Points: 736, Level: 5

    Join Date
    Dec 2012
    Posts
    169
    Helped
    1 / 1
    Points
    736
    Level
    5

    Re: Tiny Digital Thermal Sensor using PIC18F4520

    what do you mean by I2C support?
    For my case , I2C is connected to Pin SDA and SCL of PIC18F4520..



  9. #9
    Banned
    Points: 23,048, Level: 36

    Join Date
    Dec 2012
    Location
    Bangalore, India
    Posts
    4,294
    Helped
    830 / 830
    Points
    23,048
    Level
    36

    Re: Tiny Digital Thermal Sensor using PIC18F4520

    what do you mean by I2C support?
    If your PIC has SCL, SDA, SDI lines then it supports SPI and I2C communication. I2C is a kind of serial communication. Your TC74 is a serial decice.



    •   AltAdvertisment

        
       

  10. #10
    Full Member level 3
    Points: 736, Level: 5

    Join Date
    Dec 2012
    Posts
    169
    Helped
    1 / 1
    Points
    736
    Level
    5

    Re: Tiny Digital Thermal Sensor using PIC18F4520

    TC74 is the sensor to see if is high or low temperature.. my PIC doesnt have SPI AT ALL



  11. #11
    Banned
    Points: 23,048, Level: 36

    Join Date
    Dec 2012
    Location
    Bangalore, India
    Posts
    4,294
    Helped
    830 / 830
    Points
    23,048
    Level
    36

    Re: Tiny Digital Thermal Sensor using PIC18F4520

    I told you TC74 used I2C. You need and you have I2C in your PIC. You don't need SPI.



  12. #12
    Full Member level 3
    Points: 736, Level: 5

    Join Date
    Dec 2012
    Posts
    169
    Helped
    1 / 1
    Points
    736
    Level
    5

    Re: Tiny Digital Thermal Sensor using PIC18F4520

    so how do start doing the program?



--[[ ]]--