Greetings and happy holidays,
I have a potentially silly question/observation, as well as a question.
I’m working on the standard path: interfacing a couple of XBee’s to a PIC and a PC and have been struggling.
Hardware is usb explorer + regulated explorer + level shifter, all from Sparkfun.
The first thing I did after configuring 1 as ZNet 2.5 Coordinator AT and 2 as ZNet 2.5 Router/Endpoint AT and updating their firmware was run a rangetest.
On the endpoint I crossed DIN/DOUT and started the test. Lots of errors, which I found odd. I clicked the RSSI checkbox, few to no errors, what gives? I thought RSSI was just an indicator, does it do more?
I moved to interfacing levelshifter/pic to the endpoint. Is this advisable? I attempted the same test: cross at the HV side of the level shifter (having both sides powered properly and grounded). I find that the test fails with no received packets. A scope shows something happening however.
Putting a 12F683 on the HV side of the level shifter, I find that I can pretty consistently RX bytes from the USBExplorer to the PIC over Znet (I’ve got it driving an LCD and printing the output), however, I rarely, if ever, receive a byte from the PIC to the USBExplorer connected coordinator. I’m basically eating the character that’s sent from the terminal, and writing it back out; so I backed up to test a loopback at the level shifter and had the results described.
I am using Software Uarts (MikroC Pro), so, I thought I’d sort out the hardware for certain before fighting the software end.
I know the XBee’s see one another OK, I guess. an ATND shows the endpoint XBee, and, as mentioned, I can get mostly reliable from the PC Terminal to the PIC, just not the other way 'round. But, at this point, mostly concerned with the role of the level shifter.
Thanks,
Joe