Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    9,582

    Re: VS1838B remote

    Thanks Ioannis. That pdf will be my reading later. I may want to do more sophisticated RC stuff also.
    This simple on/off is working great -- only sees NEC remotes. Tried others and no go which is...
  2. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    9,582

    Re: VS1838B remote

    it's working fine but I added leader = 0 to clear it out (duh)
    should have thought of that.
    I need to put the breadboard in the sunshine and see if it stays stable.
    if not, I'll just add his...
  3. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    9,582

    Re: VS1838B remote

    Pulsin works great. Heck, I just used the first part of that rentron code and did this with it --
    I get a perfect momentary on/off with a bit of needed pause.


    Main:
    PULSIN PORTB.0,0,Leader ...
  4. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    9,582

    Re: VS1838B remote

    I found that Rentron code. Wow. It's all there and well commented -- I'll try it out. His comments really spell it out and teach.
  5. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    9,582

    Re: VS1838B remote

    Never used pulsin. So if I knew the pulse width of the 38khz signal, I can compare it to a result pulsin gives? I just read something where it says it measures just one pulse, either low or high...
  6. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    9,582

    Re: VS1838B remote

    I remember the Rentron stuff -- excellent. Thanks for that code, I'll look into it and play with pulsin. It should be more accurate sounds like.

    It's working 98% of the time but alas, that isn't...
  7. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    9,582

    Re: VS1838B remote

    Presto -- thought I had the count set at 10 (was 20) -- working great now.
    Like the way I have conversations with myself on the forum? :)

    Kind of a cool way to use these ired units for a simple...
  8. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    9,582

    Re: VS1838B remote

    Bummer. Never used COUNT before, maybe I'm missing something?

    CT VAR WORD

    COUNT portb.5, 1000, CT
    IF CT > 10 then
    HIGH porta.7
    CT = 0
    ENDIF
  9. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    9,582

    Re: VS1838B remote

    I'm thinking the way to do it is use COUNT and just look for X amount of pulses from the 38khz ired xmtr. If > X then high a pin.
    Should work I hope. ?
  10. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    9,582

    VS1838B remote

    These popular 3 pin infrared receivers --

    https://www.amazon.com/gp/product/B07PXV5DDF/ref=ox_sc_act_title_1?smid=A5I5XFYWMWKVM&psc=1

    are used a lot with the arduino stuff but has anyone run...
Results 1 to 10 of 10