Thanks Dick,
Tried that but no luck.
Seems from info from the user forum that they are faulty.
I can see signal applied to module from pic but there's no output, the main module is clocking but the rf output part isn't responding.
Rob
Thanks Dick,
Tried that but no luck.
Seems from info from the user forum that they are faulty.
I can see signal applied to module from pic but there's no output, the main module is clocking but the rf output part isn't responding.
Rob
Rob,
I will be following your story with great interest. I have a similar project underway. I've purchased two XRF transceivers for breadboard testing. Not fired up yet ... still waiting for 3.3 V regulators from Digikey. My ultimate plan is a long range, one-way link with an ARF on the sending end a SRF receiver ... very much like your project.
Yes, saw your thread on the Ciseco forum. It does sound like your parts are defective .. Will be interested in how it resolves. BTW, I was not able to join the forum ... verification not working.
Regards,
Dick
Dick,
Yes it was interesting to say the least on their forum.
They didn't seem to like it when I gave them test results. What exactly did they want as a post "It doesn't work" perhaps, with no details of tests carried out.
Can't believe he thought that scope results weren't useful.
Trouble is for me, my friend paid for all the parts for this project. So far he's up to $200 ish for everything for the two units. That's not far off a commercially available solution. If I return the modules for a refund, which I don't want to do I prefer a tested pair, then there's still the ancillary parts to account for.
If you need a simple design for a yagi aerial for greater range I have a doc with details of one.
Rob
Last edited by tasmod; - 28th April 2013 at 10:43.
I am intersted in the yagi design. If you can post it I 'd be oblidged.
Regarding the modules of yours, I am not familiar with these, but have tested xbee pro 868 and are more than great.
Also have tested y-lynx.com modules and they are even better but larger in size and price.
Ioannis
Hi Loannis,
I have two docs in Word format which are pages from the internet. (Can't remember where from)
I will try to add them as attachments here. If they don't attach I will post a link to a hosting for a few days downloading.
Rob
Hi Rob. Thanks for the files. I found also the corresponding sites too.
Ioannis
Rob,
I now have my two XRF transceivers set up and functioning. However, I'm experiencing the same problem as you have reported ... unable to communicate rf from a PIC and PBP.
The hardware and wiring checks out good. Using a terminal program (TeraTerm) and a USART to USB Bridge cable (CP210x), the radio loop-back link works perfectly. Also, the AT command mode functions correctly for both devices.
The comms do not work when driving the radio from a PIC USART. Sample code:
I saw your latest post on the Ciseco forum. You are not getting much help there. Do you have any further test results?Code:'************************************************************************** '*Program to test XRF radio communications via loopback method * '*Uses a pushbutton switch on porta pin 4 * '*Target processor is PIC 12f1822 * '*321 program words, revised 05/05/2013 * '*Program by Dick Ivers * '*All rights reserved * '************************************************************************** 'set 12f1822 configurat1on #CONFIG __config _CONFIG1, _FOSC_INTOSC & _MCLRE_OFF & _CLKOUTEN_OFF & _WDTE_ON __config _CONFIG2, _PLLEN_OFF & _LVP_OFF #endconfig 'set registers OSCCON = %01101000 '4 mhz osc OSCTUNE = 0 'factory calibration ANSELA = 0 'all digital inputs OPTION_REG.7 = 0 'global pullups enabled WPUA = %010000 'porta pin 4 weak pullup enabled CM1CON0.7 = 0 'comparator disabled TRISA = %011110 'PORTA.0 & porta.5 are outputS, all others input while OSCSTAT.0 = 0 'wait for stable freq. wend define OSC 4 '4 mhz oscillator 'Define hserout parameters define HSER_RCSTA 90h define HSER_TXSTA 20h define HSER_BAUD 9600 define HSER_CLROERR 1 'clear overflow error APFCON.7 = 1 'rx on ra1 (12f1822) APFCON.2 = 1 'tx on pin ra0 (12f822) i var byte char var byte For i = 1 to 3 porta.5 = 0 'led on pause 333 porta.5 = 1 'led off pause 333 next asleep: nap 2 'delay 4 ms if porta.4 = 1 then asleep DT: hserout [dec 5] hserin 100,blink,[dec char] if char = 5 then porta.5 = 0 'led on goto halt endif blink: porta.5 = 0 'led pause 50 porta.5 = 1 'led off pause 50 if porta.4 =1 then asleep goto DT halt: stop
Dick
Last edited by Dick Ivers; - 5th May 2013 at 17:01.
Bookmarks