Get started with MicroPython
Other terminal programs
Digi XBee® 3 802.15.4 RF Module User Guide
48
1. In the XCTU MicroPython terminal, click the green
Close
button
.
2. Click
Close
at the bottom of the terminal to exit the terminal.
3. In XCTU's Configuration working mode
, change
AP API Enable
to another mode and click
the
Write
button
. We recommend changing to Transparent mode
[0]
, as most of the
examples use this mode.
Other terminal programs
If you do not use the MicroPython terminal in XCTU, you can use other terminal programs to
communicate with the XBee 3 802.15.4 RF Module. If you use Microsoft Windows, follow the
instructions for Tera Term; if you use Linux, follow the instructions for picocom. To download these
programs:
n
Tera Term for Windows, see
.
n
Picocom for Linux, see
developer.ridgerun.com/wiki/index.php/Setting_up_Picocom_-_Ubuntu
n
Source code and in-depth information, see
github.com/npat-efault/picocom
.
Tera Term for Windows
With the XBee 3 802.15.4 RF Module in MicroPython mode (
AP
=
4
), you can access the MicroPython
prompt using a terminal.
1. Open Tera Term. The
Tera Term: New connection
window appears.
2. Click the
Serial
radio button to select a serial connection.
3. From the
Port:
drop-down menu, select the COM port that the XBee 3 802.15.4 RF Module is
connected to.
4. Click
OK
. The
COMxx - Tera Term VT
terminal window appears and Tera Term attempts to
connect to the device at a baud rate of 9600 bps. The terminal will not allow communication
with the device since the baud rate setting is incorrect. You must change this rate as it was
previously set to 115200 bps.
5. Click
Setup
and
Serial Port
. The
Tera Term: Serial port setup
window appears.
6. In the
Tera Term: Serial port setup
window, set the parameters to the following values:
n
Port
: Shows the port that the XBee 3 802.15.4 RF Module is connected on.
n
Baud rate
: 115200