Chengdu Ebyte Electronic Technology Co., Ltd
Copyright ©2012-2023, Chengdu Ebyte Electronic Technology
Co., Ltd
14
4.3 Introduction to the routines
Routines include: Factory, OLED, Radio Example, Sleep Test.
Compiling different routines requires a different src_dir in platformio.ini, and you cannot have more than
one src_dir enabled at the same time.
Routine Factory is the factory default program, the main function pin test, LoRa RF transceiver, establish
WIFI hotspot, drive OLED to display different contents, etc. The interface can be switched by Boot button,
and long-pressing Boot button can enter the hibernation mode for 30 seconds (the hibernation current needs
to be measured under the battery power supply).
Routine OLEDs provide additional display styles.
The Radio Example provides simple RF transceiver functionality.
The routine Sleep Test provides a test of the development board's hibernation program. The hibernation mode
will reawaken after 30 seconds.
4.4 Antenna Interface Switching
LoRa module antenna adopts SMA interface by default, if you want to switch to IPEX interface you need to
change the 0R resistor connecting to SMA interface (horizontal resistor as below) to the resistor position
connecting to IPEX interface (vertical resistor as below).
The WIFI/BLE module antenna adopts 3D metal antenna by default, if you want to switch to IPEX interface you
need to user to change the 0R resistor connecting the 3D antenna (vertical resistor as below) to the resistor
position connecting the IPEX interface (horizontal resistor as below).