PDA

View Full Version : Nexa control - Bruce



Dennis
- 1st December 2009, 00:13
Hi Bruce if you are reading this please could you reference thread...

http://www.picbasic.co.uk/forum/showthread.php?t=10347&highlight=nexa
I have the exact same modules at home and was hoping you could help me out with the matching receive code. I would like to have a modified PIC receiver for my security gate.
I spoke to Fredrick who can't praise you enough because his tx is still working 100% he also told me he only has the tx section too but would love the rx section as too wants to modify his.

Would appreciate any help

kind regards
Dennis

Bruce
- 1st December 2009, 21:51
Well, since you already know precisely how long each pulse width is for each data bit
being sent, and how many total bits are in each packet, it's just a matter of using PULSIN
in a short loop to read inbound pulses.

Put something together. If you get stuck, post what you have here, and I'm sure someone
will offer help with it.

Bruce
- 2nd December 2009, 20:10
This thread http://www.picbasic.co.uk/forum/showthread.php?t=6581 has a code example using PULSIN to decode an 8-bit Holtek encoder, which has a data output similar to the NEXA where 2 pulses are used for form a single bit.

Dennis
- 2nd December 2009, 20:55
Thanks a million

Will get going on it and see what I come up with ...

I have some RF modules from you , I bought them about 4 years ago over the internet. tlp-434 and RLP-434...
Was just wondering if they would indeed work for this type of setup or not.

kind regards

Dennis

Bruce
- 2nd December 2009, 21:02
Yep. They should work fine.

Dennis
- 2nd December 2009, 22:00
Now to get my head around the pulsein/pulesout thing !
It's all about crucial timing not so ?
With that in mind would it be a serious mistake to use the internal oscillator ?

Kind regards
Dennis

Bruce
- 2nd December 2009, 22:51
Internal osc should work just fine with PULSIN.