Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: cobuccit; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    23,206

    Re: Value of temperature

    Thanks louislouis you were very kind!
  2. Replies
    7
    Views
    23,206

    Re: Value of temperature

    define osc 4
    adcon1.7=1
    ANSEL = 0001 'Disable Inputs Tranne AN0
    ADCON1 = 001110
    OSCCON = 100000 'Internal RC set to 4MHZ
    TRISA = 000001 ' impostazioni INP/OUT
    TRISB = 000000 ' delle porte...
  3. Replies
    7
    Views
    23,206

    Value of temperature

    Hi, I'm always grappling with my firmware on the PIC 16F88 trying to dust some programming.


    1) Ascertained that as PIC I have 16F88
    2) My temperature sensor is an LM235H
    3) located on analog...
  4. Replies
    68
    Views
    63,495

    Re: Compare value ...

    Well I'm sorry. I don't know why you like to make all these insinuations.
    But I can guarantee you that I had no bad intention. And I don't think it's fair to judge a person like that, but what I've...
  5. Replies
    68
    Views
    63,495

    Re: Compare value ...

    :mad::mad: ...

    But please, thank you very much but don't make up stories.

    What does this phrase mean, which I pretended not to know how to do?
    A long time ago I was a more practical...
  6. Replies
    68
    Views
    63,495

    Re: Compare value ...

    Hello gentlemen forgive me, I think I put you in trouble. As I explained in some previous posts I pulled out an old "BreadBoard" to play on in this time of "Corona Virus".


    You are right, I...
  7. Replies
    68
    Views
    63,495

    Re: Compare value ...

    No, it doesn't work, the relay goes ON as soon as I see the display and then it doesn't move anymore
  8. Replies
    68
    Views
    63,495

    Re: Compare value ...

    OK ! NOW WORK !

    Where was the problem ?
    Can you explain to me ?

    can you also show me how you managed to show the hexadecimal value 665 on the display?

    I am truly grateful to you for taking...
  9. Replies
    68
    Views
    63,495

    Re: Compare value ...

    OK, the rele allways switched OFF



    after the display appears, the relay goes ON and remains there regardless of the temperature.

    NOTA

    As soon as I turn on, there is a quick initial...
  10. Replies
    68
    Views
    63,495

    Re: Compare value ...

    [QUOTE = louislouis; 145048] OK, si prega di registrare questo esadecimale e dire quale numero mostrato sul display. Quindi riscaldare il sensore con le dita o il saldatore. I numeri devono essere...
  11. Replies
    68
    Views
    63,495

    Re: Compare value ...

    [QUOTE = louislouis; 145045] Questo HEX compilato verifica il tuo PORTA.6 (pin 15) sul PIC se è cablato correttamente.
    Accedere e spendere il relè cinque volte, sul display LCD scrive: Rele ON se...
  12. Replies
    68
    Views
    63,495

    Re: Compare value ...

    Excellent, I tried. But it behaves the same way !! :eek::eek:

    I noticed that by entering your firmware the fuses are set automatically as I manually set them.
    And that's OK.

    But the behavior...
  13. Replies
    68
    Views
    63,495

    Re: Compare value ...

    It was a long time since I worked there, I pulled out old tools because I stopped at work for the "Corona Virus" and I wanted to have some fun.
    Some time ago I used a self-built ProPic2, which went...
  14. Replies
    68
    Views
    63,495

    Re: Compare value ...

    No, I have always used fuses since the first moment I started creating the project.
    I'm going crazy for this, I also changed PBP to version 2.47. I don't know what to think anymore.


    it is...
  15. Replies
    68
    Views
    63,495

    Re: Compare value ...

    Yes, compile without problems

    If I understand correctly, that's what I do when programming the chip, I set the fuses like this

    8810
  16. Replies
    68
    Views
    63,495

    Re: Compare value ...

    here the Screenshoot

    8809
  17. Replies
    68
    Views
    63,495

    Re: Compare value ...

    Your video is OK!
    and the code is similar to mine, except for the initial strings.



    #CONFIG
    __config _CONFIG1, _INTRC_IO & _WDT_ON & _PWRTE_OFF & _MCLR_ON & _BODEN_ON & _LVP_OFF & _CPD_OFF...
  18. Replies
    68
    Views
    63,495

    Re: Compare value ...

    ASCII code, one strange character, and it changes every time the temperature changes
  19. Replies
    68
    Views
    63,495

    Re: Compare value ...

    I tried, but nothing changes

    my code now is :


    ​'****************************************************************'* Name : 16F88_LM235.BAS *
    '* ...
  20. Replies
    68
    Views
    63,495

    Re: Compare value ...

    Hi, I added the loop at the beginning of the program:




    for sample = 0 to 3
    rele=1
    pause 1000
    rele=0
    pause 1000
  21. Replies
    68
    Views
    63,495

    Re: Compare value ...

    '****************************************************************
    '* Name : 16F88_LM235.BAS *
    '* Author : *
    '* Notice :...
  22. Replies
    68
    Views
    63,495

    Re: Compare value ...

    it's all very strange!
    Testing the code with temperature / 1000 in the same way PORTA.6 goes ON
    Not even dividing by 1000 is it possible to obtain the right comparison


    Then I added the Do .....
  23. Replies
    68
    Views
    63,495

    Re: Compare value ...

    hi,

    I have define Tcomp VAR WORD
    and now i have :




    tcomp=tmax*100
  24. Replies
    68
    Views
    63,495

    Re: Compare value ...

    OK, Perfect ;) this work well now




    I have modified code in this mode, but don't work yet

    If temperature > (Tmax*10) then
    PORTA.6=1
    else
  25. Replies
    68
    Views
    63,495

    Re: Compare value ...

    with this the Pic16F88 not working








    Display on LCD
Results 1 to 25 of 30
Page 1 of 2 1 2