I've been messing around with a pair of XBees trying to get them to transmit data, but I've been sort of unsuccessful. I'm trying to send serial data from a radar detector's LCD screen over to another screen, but I haven't been able to do so successfully.
I have the XBees configured to pass DIO, but it's way too slow... I need them to xmit on the order of 8 MHz... Do you all think that is possible with XBees?
Thanks for the replies! I'm using a pair of series 1 XBees. The problem I'm running into isn't that they aren't transmitting fast enough, but rather, they aren't sampling fast enough. Looking at the logic analyzer, I get a sample about every 2.5 mSec, where I need one every 10 uSec or so...
Do you think that I can get better results if I have an arduino sample all the inputs really fast and shove the data through a serial link? I'm not worried about the delay between the XBees, as long as all the data gets transmitted.
Well, can't u ask to sample faster with the Arduino Software? (i know it's like the application called :Processing)
have a look a this:
Timing
The Arduino delayMicroseconds() function creates the shortest delay possible from within the Arduino language. The shortest delay possible is about 2 us (microseconds).
For shorter delays use assembly language call 'nop' (no operation). Each 'nop' statement executes in one machine cycle (at 16 MHz) yielding a 62.5 ns (nanosecond) delay.
asm("nop\n\t");
asm("nop\n\t""nop\n\t""nop\n\t""nop\n\t"); \ gang them up like this
Fréquence : 431 à 478 MHz (résonateur de 1 KHz)
Puissance : 20 mW Tension : 3,3 à 5,5 V
Courant : <35 mA à 10 mW Transfert des données : 1 200 à 19 200 bits/s
Taille du paquet : 512 octets
Température de fonctionnement : -20 °C à 70 °C
Portée : 305 cm (sans obstacle)
Dimensions : 39 mm x 19 mm x 2,8 mm
I hadn't seen that function before... I'll have to try it out and see if it works out. I'm planning to have the 5 I/Os I need to sample connected to the arduino, have it sample each as fast as needed (about every 10 uSec) create a packet, and send it to the XBee to be transmitted.
Now, with that much serial data... do you think it will cause an overflow on the XBee?
i don't know about the xbee but i know the rf apc220, have a buffer in case of overflow...
it's all about testing and testing the limits... but at least get it documented on the forum