@ Charles ..thanks a million for the tips will check them out as soon as I have the array(s) built up.
@ Al .. Thanks for the tip there , has me wondering how I can put the 2D array to use for my...
Type: Posts; User: Dennis; Keyword(s):
@ Charles ..thanks a million for the tips will check them out as soon as I have the array(s) built up.
@ Al .. Thanks for the tip there , has me wondering how I can put the 2D array to use for my...
AHA...
That's where I'm stuck ....at step 1 I mentioned earlier ...
I this is the line I am using to receive the data
DEBUGIN [WAIT(SYNK),WNUM,XNUM,YNUM,ZNUM,CHECKSUM]
@ Dave
OK cool
So I Will
1. Capture all 4 lines into and array each one is 4 bytes and a checksum byte so array needs to receive 20 bytes total.
2. Check 4 for checksum match
Continue on...
Hi Dave
Send same thing 4 times
so
1
2
3
4
and compare instance 3 and 4 'cos usually correction occurs on 1 and 2
If 3 and 4 match then TX was good.
@Charles and Dave
I definitely agree with the checksum idea , in fact, it is the checksum concept that has led to the confusion
As a reference let's use this thread (thanks Art for his input!)...
Al I don't think that link of yours works anymore
Kind regards
Dennis
Hi nodCarlos
Do you have anything working ?
Can you blink an LED ?
Have you got the correct defines for registers and clock speeds ?
What crystal/clock source are you using are you using...
Dave :-)
Thanks a million for the tip ...very helpful indeed.
Still bashing around with the options.
Now this is what prompted me to post this thread, if I use an array , should I use a byte...
In my frustration @ myself and my rush to post I really messed up the english for this line
What it should read is :
I am trying to do a kind of wireless capture and compare but I have a problem...
Hi Guys
Haven't been around in a while and I hope everyone is well :-)
I am trying to do a kind of wireless capture and compare but I have a problem on the receiving end that I lookings for...
Hi all
Still no light !
Now I am wondering if SHIFTIN would work for catching the incoming pulses.
Has anyone tried capturing a pulse train using SHIFTIN ?
Any info would be appreciated.
...
Could someone please explain PULSIN to me !
First off here some code as a starter to test PULSIN
' Philips RC5 IR decoder for 12F629 @ 4MHZ
'set for samsung TV on universal rae-1000 (or...
So it seems to decode the RC5 code, after detecting the initial pulse, some sort of check must be done at a regular time interval at the mid-point of each half bit-time since a full bit-time is...
@Steve
To add an alarm(s) , would I just store a date and time in flash and then use an IF ..THEN statement as a matching trigger ?
Kind regards
Dennis
Steve - that does look like a nice gadget indeed :-)
Bruce - sounds like you have been through a lot of work in efforts to decode the signals.
@Anand ..that's a nice site :-)
Unlike SONY...
@Bruce - thanks for the cool tips nad the code there, I'm dying to try that as soon as I can source some 18F2431's..order placed but still waiting for them.
Did you ever manage to get any reliable...
@Steve ...Seems like I am finally making some headway ..YAY
Hey I recognize that code ... it's from 'Controlling the world from your armchair' aka article.pdf by Les Johnson :-)
I tried it and...
@ Dave Houston and @ Bruce
Hi Guys
I think I finally got it !!
I decided to measure the incoming pulses with PULSIN and debug :-), next step is a scope :-)
So for the PULSIN command
@...
Nice one Isaac :-)
Thanks for resurrecting it :-)
Dennis
YAY it works :-)
@ Steve .... :-) so easy to miss a pin soldering sometimes or on a breadboard test even forget to put the PIC back into its socket after programming and then watching a blank...
Hi Polymer
Here you go , I am using an 18F4520 but this should work on any pic with a parallel LCD wired in 4 bit mode , just change the LCD defines as you need.
...
@ Charles
Once again thanks for the reply ...!
Will feedback once I have something functional :-)
Kind regards
Dennis
Look at the circuit I posted here
http://www.picbasic.co.uk/forum/showthread.php?p=84777#post84777
You can actually add this functionality to to a PIC timer (one that acts as a timer using timer0...
Other like PROTON and ZBASIC have some nice command like :
For infrared remotes:
(Proton)
RC5in and RC5out
SONYin and SONYout
etc
For keyboard input:
(Zbasic)
Hi all
The code in earlier posts works but produces some strange results and I'm sure it has to do with timing and the bit tests I'm doing.
I have been reading up on the RC5 code at this...