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...
Type: Posts; User: Michael; Keyword(s):
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...
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...
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 ...
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.
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...
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...
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...
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
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. ?
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...