Good Afternoon,
I have purchased 2 series 1 Xbee units and have been having a blast with the direct IO. Everything works fine when passing an analog signal. A pot controlling the brightness an an LED for example. However, I cannot for the life of me get a digital OUT line to START low, then be pulled high when a button is pressed on the remote. It can be pulled low no with no problem. Being that my communication is perfect with the ADC (PWM), I assume (probably where I’m going wrong…) that my network setting are fine; PAN ID’s same, Incoming address set to FFFF (accept data from all Xbees), Change detect set to monitor all etc… I am using DIO4 on the remote side set to 3 (Digital input) and DIO4 and the base set to 4 (Digital Low). I am using a Sparkfun USB Explorer as my base connection. RSSI is a nice bright yellow, and the remote is happily associated with its blinking indicator.
It is my understanding that setting the DIO4 OUTPUT to Digital LOW means it will normally start low until I toggle my switch on the corresponding pin of the remote. What I am doing is pulling DIO4 LOW on the remote strictly with a 1K resistor (no other components). I chose that logic because I didn’t want to disable any of the internal pullups as I was not sure if disabling them left the pin floating or pulled low.
Now, my question is this:
Can I in fact change the starting logic level of base (DIO4 OUT) or does it ‘mirror’ its remote? It appears to be configurable, yet it does not change states. Perhaps I am missing an initialization step of sorts?
If I am at all unclear please let me know. I am at work and pulling this off of the top of my head.
- Murph