Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Current sensor output modification. PIC or opamp or something else?

    Hi, Peter

    I wrote = the number the ADC returns ...

    Whatever processor you use ( of course, a PIC is much better :rolleyes: )

    Have a nice day
    Alain
  2. Re: Current sensor output modification. PIC or opamp or something else?

    Hi, peter

    why not use a TL431 or similar " zener effect diode " that will draw some current past 2.5v ...
  3. Re: How is this data being formed from the values given?

    Hi, Peter

    I suggest you to try :

    count = ( 1001 x Voltage - 9891 ) / 8 ;)

    Alain
  4. Re: Converting PULSIN reading to RPM, from PC Fan?

    You're Welcome Ioannis ...

    AND we are old friends !!! ;)

    8959

    Alain
  5. Re: Converting PULSIN reading to RPM, from PC Fan?

    Hi, Ioannis

    No, no ... it's not an error : if you divide the pulse train per 2 ( D Flip-flop ...) ... the High or low pulse you get @ output has the exact rotation period ... ( remember how you...
  6. Re: Converting PULSIN reading to RPM, from PC Fan?

    1) https://noctua.at/pub/media/wysiwyg/Noctua_PWM_specifications_white_paper.pdf

    2) @ these very low frequencies, the use of a divider per 2 ( so ... to measure the rotation period ! ) and using...
  7. Re: Converting PULSIN reading to RPM, from PC Fan?

    Hmmm ...

    Here I do recognise THE Curious one ...

    Are you really sure you open your manual on page 129 ??? ... I think ( and I am sure !!! ) you open it on page 131 ...

    BTW ... open your...
  8. Re: Converting PULSIN reading to RPM, from PC Fan?

    Hmmm ...

    I do not think at all PULSIN is the command to use ...

    just open your Holy manual :rolleyes: on page 129 ...

    May be you should consider closer the waveforms to choose the good...
  9. Re: ADC keyboard and fast response to user input, possible?

    Some readings about the very powerful ... BUTTON command could be helpful, then ...

    but, of course, you can rewrite it by your own ...

    :wink:

    Alain
  10. Re: ADC keyboard and fast response to user input, possible?

    Hi,

    What's YOUR time lag for " immediate " ...

    as always, this is a highly subjective point of view ...

    Generally ... " immediate " means ... Interrupt !

    Knowing your general way of...
  11. Replies
    19
    Views
    2,719

    Re: Unable to execute MPASMX

    I really do think the IDE is going to be not so far from the Arduino one ... :D:D

    in the " ever better " versions list ... we have forgotten the last MPLABX release that showed a ( useful )...
  12. Replies
    19
    Views
    2,719

    Re: Unable to execute MPASMX

    BTW ...

    I see MCS allows to select using MPASMX assembler or not ... ( View / Compile and program options )

    could be useful here ... if not using latests chips ( ? )

    I still use MPLAB 8.92...
  13. Replies
    19
    Views
    2,719

    Re: Unable to execute MPASMX

    Hi, Shane

    You're right ... the "bug " is confirmed with MPLABX 5.40 ... ( and as always ... no news from [email protected] Melabs ... )

    PBP works fine with previous MPLABX 5.35 ...

    Alain
  14. Replies
    27
    Views
    3,190

    Re: How to prevent variable going below zero?

    Using MAX and MIN operators provided by the compiler ????

    4 times IF-THEN in a row, ... Time to have a look to SELECT CASE ...

    BTW ... if you want your number staying between 0 and 255 ......
  15. Replies
    21
    Views
    3,300

    Re: Battery power back-uped circuit

    Hi, Flotul,

    Those BMS are not always installed ...

    I have dozens of LiPo / LiFe batts home and only one has it included ... so, consider it's not mandatory !!!

    sometimes, there's only a fuse...
  16. Replies
    7
    Views
    2,394

    Re: Value of temperature

    Hi, Ioannis,

    for those calculations ... I suggest you to have a look here : https://www.miscel.dk/MiscEl/miscel.html
    especially here : https://www.miscel.dk/MiscEl/miscelIntegerMath.html

    the...
  17. Replies
    21
    Views
    3,300

    Re: Battery power back-uped circuit

    Hello, Flotul,

    LiPo batts are somewhat tricky to use ...

    I suggest you to use something called " BMS " with your battery ... it's a device that cares with every problem that could occur :...
  18. Replies
    7
    Views
    2,260

    Re: 26K80 Configuration and Port C 0, 1

    8852

    was a moment we had not seen that one ...

    Good ol' times far away ...

    :rolleyes:

    Alain
  19. Replies
    31
    Views
    4,446

    Re: Asm sleep - pbp sleep

    I read somewhere in microchip datasheets there might be a @NOP just past the @SLEEP ...

    INT1 is the wakeup event.

    here it has been working fine for me ... for about 15 years ! ( Lawn tractor...
  20. Re: Which is most common PIC chip, after 16F628A?

    I just answer the question as it is asked ... :D

    ... for my own use, chips come from Conrad, Reichelt, RS, Farnell or other well known sellers ... :rolleyes:

    Alain
  21. Re: Which is most common PIC chip, after 16F628A?

    could that be what you mean ???

    https://fr.aliexpress.com/popular/16f648a.html

    Alain
  22. Re: Which is most common PIC chip, after 16F628A?

    a look to 16F648 ???

    nothing to change in the S/W ...

    Alain
  23. Replies
    5
    Views
    2,197

    Re: PICKIT-3 installation in PBP 3.1

    viewing this one ?? : https://www.youtube.com/watch?v=AVSMP-z4WGE

    Alain
  24. Replies
    18
    Views
    2,932

    Re: VS1838B remote

    Hi,

    I think the best way would be to use the PULSIN command ( or use the PIC Capture HW function ...) ... just to be sure no false signal incoming : you can have one or two valid pulses windows (...
  25. Replies
    21
    Views
    4,571

    Re: Better code check before compile?

    Hi,

    As one RETURN statement can match more than one GOSUB's ...

    even math can't do anything for you ... just verify if there's at least one RETURN for one GOSUB ...or number of RETURN is...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4