Pulse proportional thermostat


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Always use an 18F part if you aren't concerned about cents.
    Charles Linquist

  2. #2
    Join Date
    Jan 2005
    Location
    Puerto Rico
    Posts
    133


    Did you find this post helpful? Yes | No

    Post

    I use LM358 read from 0c to 1000c and thermocouple type k
    NumSamples CON 48
    'ADCIN EGTChannel, EGTSample '0 to 255 EGT sample
    EGT=0
    EGTSample=0
    For i = 0 TO NumSamples - 1
    ADCIN EGTChannel, EGTSample
    EGT = EGT + ((EGTSample * 255) / 60) 'The equation gives the actual Celcius reading
    Pause 5
    Next i 'Add it all into EGT.
    EGT = EGT / NumSamples 'Divide EGT by the Number of samples
    Last edited by jetpr; - 12th December 2009 at 02:03.
    My Hobbies is PicBasic PRO

Similar Threads

  1. 4 Channel Thermostat using PID loops
    By malc-c in forum Code Examples
    Replies: 36
    Last Post: - 18th March 2013, 10:17
  2. Pulse Capture and byte building
    By boroko in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st July 2009, 01:59
  3. Single digit 7 Seg LED clock - PIC16F88
    By thirsty in forum Code Examples
    Replies: 4
    Last Post: - 17th July 2009, 08:42
  4. Replies: 3
    Last Post: - 13th September 2008, 17:40
  5. Pulse Frequency Multiplication
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st August 2005, 10:39

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts