Skip to content

Using the (Not)Xbee Joint

Michael Shipman edited this page Mar 15, 2024 · 1 revision

Hi! Apologies in advance, this was done in a fury of genius inspiration (caffeine).

Using it is pretty simple but not the most intuitive since it doesn't explain itself well.

Note: To reset/power cycle you need to unplug and replug the usb cable.

Below is what you'll see when the joint first boots, it currently dumb waits for 5 seconds on boot until it starts printing to the serial monitor so I would get the monitor set up and then plug it in, sometimes if you don't get connected before it starting printing you'll just see nothing, you can press Enter to get the prompt to come back.

============Xbee Joint: E461691127523E31============

RP2040$ 

Note: Receiving radio packets will appear to break the prompt since they get printed out no matter what's happening at the time, if you're not sitting in the lstn command (explained in a second) just press Enter to get the prompt back. Below it what it looks like when it "breaks"

============Xbee Joint: E461691127523E31============

RP2040$ DIO1 ISR
RX ISR
Reading Radio Buffer
GHOUL hello!
RSSI: -9 dBm Signal RSSI: -10 SNR: 7 dB

Sending data

Right now the system can send up to 100 characters using the 900 MHz radio. Below it what it looks like to use the send command. There is extraneous information provided as well that won't be of much use during the launch but make sure to capture it for analysis incase of an issue.

============Xbee Joint: E461691127523E31============

RP2040$ send
CMD - Device ID: 0, OP: send
ARGS: 0 0 0 0 0 0 0

Enter string to send: cut
Transmit Test
DIO1 ISR
TX ISR
status: ac
err: 0
err: 0

Receiving data

The lstn command is the primary way to receive data. Once it is run once though (or any data is sent) the radio will stay in continuous receive mode and show any further received data as it is received.

When the (Not)Xbee Joint is in lstn mode it will also send acknowledgements of received messages but it will not send acknowledgements of acknowledgements.

============Xbee Joint: E461691127523E31============

RP2040$ lstn
CMD - Device ID: 0, OP: lstn
ARGS: 0 0 0 0 0 0 0
DIO1 ISR
RX ISR
Reading Radio Buffer
GHOUL hello!
RSSI: -8 dBm Signal RSSI: -9 SNR: 7 dB
Transmit Test
DIO1 ISR
TX ISR
status: ac
err: 0
err: 0

While in lstn mode you can press c to exit and run a different command or press s to send placeholder radio message. This second one is nice because you can stay in lstn mode while still seeing if the balloon will send acknowledgements.

============Xbee Joint: E461691127523E31============

RP2040$ lstn
CMD - Device ID: 0, OP: lstn
ARGS: 0 0 0 0 0 0 0
Transmit Test
DIO1 ISR
TX ISR
status: ac
err: 0
err: 0
DIO1 ISR
RX ISR
Reading Radio Buffer
ack - GHOUL alive
RSSI: -7 dBm Signal RSSI: -8 SNR: 9 dB
Clone this wiki locally