-
Download Arduino IDE
-
Open Arduino, open preferences-> add https://github.com/stm32duino/BoardManagerFiles/raw/master/package_stmicroelectronics_index.json to the board installation manager address list
-
Open the board installation manager, wait for the index update to complete, select 'STM32 MCU based boards' and click install
-
After the installation is complete, select 'Necleo-64' in the board list.Detailed configuration reference Q&A
-
Copy all the folders in the lib directory to
"C:\User\<YourName>\Documents\Arduino\libraries"
-
Search for the PlatformIO plug-in in the VSCODE extension and install it.
-
After the installation is complete and the reload is completed, there will be a small house icon in the lower left corner. Click to display the Platformio IDE home page
-
Go to file - > Open folder - > Select the LilyGO-T-Impulse folder and click the (√) symbol in the lower left corner to compile (→) for upload.
Product | Product Link |
---|---|
T-Impulse | Taobao AliExpress |
The version of SX1276 in the S76G is 0x13
. In most ARDUINO libraries the detection is judged to be 0X12
. Therefore, the sending is abnormal. It is recommended to annotate the version number verification or add 0x13
to register address 0x42
in different ARDUINO libraries
E.g:lora lib
// check version
uint8_t version = readRegister(REG_VERSION);
if (version != 0x12) {
return 0;
}
change into
// check version
uint8_t version = readRegister(REG_VERSION);
if (version != 0x12 && version != 0x13) {
return 0;
}
-
Please follow this guide Getting-started to complete the installation of
Arduino_Core_STM32
-
Select the following picture in Arduino=> tools
-
Copy all folders in the
libdeps
directory to the~/Arduino/libraries
directory, and put them in"Documents/Arduino/libraries"
for Windons users
-
Before writing, press and hold the BOOT button on the board, then insert the USB, and then click upload
-
After writing, you need to unplug it again, and then plug it in again, select the port and open the serial port to view the output information
- Please ensure that the board and antenna are connected reliably, and the positioning area is outdoors, please do not perform positioning indoors
-
Open the device manager, as shown in the figure, you will find
STM Device in DFU Mode
. At this time, the firmware cannot be uploaded. You need to use zadig to replace the original driver. The operation steps are as follows -
Choose
STM32 BOOLTOADER
,Note notNUCLEO_L073RZ CDC in FS Mode
. -
Click Replace Driver
-
Click upload again.
- When using the SoftRF firmware test, the lowest power consumption during sleep is about 124uA