Temperature Controller Problem - Page 3


Today 18:52
Forum: Absolute Beginners Section
Starter: amod
Views: 0
Replies: 37
Today 16:52
Forum: The Lounge
Starter: fanie
Views: 0
Replies: 10
Go to last post By: top204
Today 10:49
Forum: The Lounge
Starter: towlerg
Views: 0
Replies: 11
+ Reply to Thread
Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 38

Thread: Temperature Controller Problem29 days old

  1. #21
    Administrator John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,680
    Thumbs Up
    Received: 124
    Given: 32
    Total Downloaded
    3.69 GB

    0 Not allowed!

    Default Re: Temperature Controller Problem

    It's better to stick to one compiler otherwise everyone including yourself will get confused.
    John

  2. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  3. #22
    Junior Member amod's Avatar
    Join Date
    Mar 2018
    Posts
    98
    Thumbs Up
    Received: 102
    Given: 5
    Total Downloaded
    10.35 MB

    0 Not allowed!

    Default Re: Temperature Controller Problem

    I got it.i was only trying.pls help me for my problem.

  4. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  5. #23
    Senior Member Stephen Moss's Avatar
    Join Date
    Jan 2006
    Posts
    470
    Thumbs Up
    Received: 38
    Given: 7
    Total Downloaded
    2.88 GB

    0 Not allowed!

    Default Re: Temperature Controller Problem

    How could you get anything resembling a V and R on a 7 segment LED display? I would think the closest would look more like U and A.
    Do you need the display size and visibility at distance you get from a 7-segment display?
    If not then consider an alphanumeric display instead as you only need to update it once per loop or when you have new data to display, whereas with a 7 segment display you have to update the entire display at least once every 20mS for persistence of vision. So for a 4 digit display you need to update a digit every 4ms, consequently if you program execution time is shorter you can update within your main loop, if it takes longer than 4ms then you will have to use a timer interrupt to ensure the display is updated and the correct intervals.

    As for the Code have you looked the the Dig command?
    You could use that to extract a value and then Select Case statement to set the ProtB values, i.e.
    Case = 1
    PortB = $06 'Display 1
    Case = 2
    PortB = $5B 'Display 2

  6. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  7. #24
    Junior Member amod's Avatar
    Join Date
    Mar 2018
    Posts
    98
    Thumbs Up
    Received: 102
    Given: 5
    Total Downloaded
    10.35 MB

    0 Not allowed!

    Default Re: Temperature Controller Problem

    Need example for DIG command.

  8. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  9. #25
    Fanatical Contributor top204's Avatar
    Join Date
    Feb 2002
    Posts
    3,228
    Thumbs Up
    Received: 372
    Given: 131
    Total Downloaded
    1.58 GB

    0 Not allowed!

    Default Re: Temperature Controller Problem

    There already is an example on this thread of using Dig. For the seven segment multiplexing.

    Also, a search on the forum come back with a few threads concerning Dig, and this one is the most helpful:

    http://www.protonbasic.co.uk/showthr...79-Dig-Command

  10. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  11. #26
    Junior Member amod's Avatar
    Join Date
    Mar 2018
    Posts
    98
    Thumbs Up
    Received: 102
    Given: 5
    Total Downloaded
    10.35 MB

    0 Not allowed!

    Default Re: Temperature Controller Problem

    I tried many times but can't make a peak hold temperature.need help.

  12. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  13. #27
    Administrator John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,680
    Thumbs Up
    Received: 124
    Given: 32
    Total Downloaded
    3.69 GB

    0 Not allowed!

    Default Re: Temperature Controller Problem

    Amod, put your best effort In a post and there may be someone who can see where you are going wrong.
    John

  14. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  15. #28
    Prolific Poster joesaliba's Avatar
    Join Date
    Sep 2004
    Posts
    2,415
    Thumbs Up
    Received: 102
    Given: 24
    Total Downloaded
    5.09 GB

    0 Not allowed!

    Default Re: Temperature Controller Problem

    Amod,

    I would suggest that you first write a small code that prints to an LCD. As LCD's are widely used, there is more chance that forum users can do test of your code and come up with a solution. Speaking for me I am not able to setup 7-segment display hardware to test your code.

    I would also suggest that if your final code will be large, do write parts of the code separately, then implement them in your final code once you are happy with the results.

    This will also enable users to tackle parts of the code that are giving you trouble.
    Regards

    Joseph

  16. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  17. #29
    Junior Member amod's Avatar
    Join Date
    Mar 2018
    Posts
    98
    Thumbs Up
    Received: 102
    Given: 5
    Total Downloaded
    10.35 MB

    0 Not allowed!

    Default Re: Temperature Controller Problem

    Code for peak hold which I tried.

    Dim value as word 'raw ADC value
    Dim newvalue as word. ' peak hold value

    Main:
    If newvalue > value then
    Gosub display ' display subroutine for seven segment display
    Gosub digitcalc ' subroutine for seven segment display
    Last edited by amod; 13th June 2019 at 19:30.

  18. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  19. #30
    Prolific Poster joesaliba's Avatar
    Join Date
    Sep 2004
    Posts
    2,415
    Thumbs Up
    Received: 102
    Given: 24
    Total Downloaded
    5.09 GB

    0 Not allowed!

    Default Re: Temperature Controller Problem

    Again Amod,

    You are missing to give a small program code which you think it works.

    Please forget the 7-segment display and instead write a small code that it prints to an LCD so I can track what you are doing. Once that small piece of code, which will hold the peak value is tried and tested then implement it in your full code.

    What you have given is very vague, so fir example I cannot see what your 7-segment will look for to print.

    I have done, very successful, a battery monitor which holds the peak value, and believe me it is very simple, but please, make a small code which you think it will work.
    Regards

    Joseph

  20. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)

     

Similar Threads

  1. Temperature Sensor
    By chuckieboy in forum The Lounge
    Replies: 9
    Last Post: 26th May 2012, 06:17
  2. Replies: 4
    Last Post: 23rd September 2010, 13:33
  3. temperature sensor
    By chuckieboy in forum Proton Plus Compiler v3
    Replies: 3
    Last Post: 30th June 2010, 20:10
  4. Temperature Controller using PIC16F628A
    By bentech4u in forum Proton Plus Compiler v3
    Replies: 9
    Last Post: 29th October 2008, 17:39
  5. Operating temperature...
    By Hans Chr in forum The Lounge
    Replies: 3
    Last Post: 8th August 2006, 12:16

Posting Permissions

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