2 XBEES - -1 Arduino - 1 AdaFruit Joystick ID: 512
I have 2 Xbees Series 1. They communicate and send a packet with no problem, FiNALLY. :D
My Remote/Transmitter Xbee has an Adafruit Joystick with Sel Button and a common 3.3 volt supply and common ground to all (no arduino). I connected X wire to pin 20 on the Xbee, Y wire connected to pin 19 Xbee and in the setup I'm using those as ADC.
My Receiving/Coordinator Xbee will be connected to an arduino and control motors from the Xbee ADC signal of the remote eventually :D Still have to figure out how to extract the information from the packet in an arduino sketch. Every book and post I read never give a clear example of actually showing how to identify the part of the packet that came from a particular pin of the transmitting Xbee. But, that's another post................don't understand how to change from hex to decimal in a sketch.
For now the Receiving Xbee is connected to the PC via X-CTU. When I turn on the remote packets come through the receiver side, but when I push the joystick none of the values for the adc change. 00 00 03 FF 03 FF are the values I get and I have the settings to monitor any pin on the receiving side. I've uploaded my settings from each module.
Is it true that ADC only takes 1.2V because when I check the voltage of my joystick it registers 1.6V centered, 0V all the way to the left, and 3V all the way to the right. Is this OK ? If not how do I get the voltage on the joystick down to 1.2V for the first 2 wires that are ADC ? I hope someone can help me. I'm losing hair,.........pulling it out for days :x
Oh, do I need the Pull-Up Resistor on the transmitter end activated ? Does that setting cover all the pins ? I'm a Xbee noob, so thanks for your patience. If you live in Austin, TX and help me get this going - FREE LUNCH REWARD ! :D Thanks AGAIN EVERYONE !!!
- If you change file name to "transmitter.pro" you can load in X-CTU
- (615 Bytes) Downloaded 33 times
- If you change file name to "receiver.pro" you can load in X-CTU
- (622 Bytes) Downloaded 42 times