这是本文档旧的修订版!
NANO 33 BLE NRF52840 basic usage
Table of contents
1.Hardware preparation
2.ArduinoIDE-2 environment construction
3. Download the program
1.Hardware preparation
Prepare a data cable (note: capable of data communication!). The main body of the development board is as follows:
Same as Nano33 Ble: same Pinout pin layout, same RGB three-color LED, factory preset Nano 33 Ble Bootloader Differences from Nano 33 Ble: Added lithium battery charging management, the back pad can adjust the charging current (default 100ma, short circuit 500ma) Reserved sensor pin package (no device attached): MP34DT06JTR (microphone) Sensor pin packages are not reserved (but related pin pads are lead out): LPS22 (pressure sensor), LSM9DS1 (accelerometer gyroscope), HTS221 (humidity sensor) sensor), APDS-9960 (gesture sensor)
Note:
B-:Lithium battery 3.7V-
B+:Lithium battery 3.7V+
MAXIMUM Output current per pin is 15mA
MAXIMUM Input current per pin is 5mA
MAXIMUM External current is 25mA for the sum of all GPIO currents and the current drawn from VDD
VIN 5V input to the board
Note: CIPO/COPI was formerly known as MISO/MOSI
2. ArduinoIDE environment construction
1. Download the development environment (official website address: https://www.arduino.cc/en/software) Here I use the latest version of ArduinoIDE2.3.2.
2. After the software is installed, as shown in the figure:
As shown in the picture, the software has been installed successfully! You can set your favorite theme here.
3. Download the firmware package of the development board, as shown in the picture: The development board here is NANO 33 BLE (core NRF52840) and is compatible with the official NANO 33 BLE development board. Look carefully at the red mark in the picture.
In the picture, I have marked the download order 1, 2, and 3 respectively. Red mark 2 enters the search content BLE 33. When the firmware is not downloaded, mark 3 is in INSTALL. If the download is successful, mark 3 is in REMOVE. I downloaded it in advance here.
4. Select the development board in Tools, as shown in the figure:
Also select according to the marking order 1, 2, 3, 4.
5. Select the port (COM?), as shown in the picture:
here is COM5 (choose according to your actual situation, everyone’s computer is different, so the COM? is also different)
3. Download the program
1. Select a program routine in the software, as shown in the figure:
Also select according to the red mark order. This is just a test here, it’s up to you what functions you want to implement!
2. Start downloading the program, as shown in the figure:
Tag 1 compiles the program.
Mark 2 Download the program to the development board.
Mark 3 is successfully downloaded (if no error in red font appears, it means the download is basically successful), there is a video below:
The yellow LED light on the development board will light up every 1 second.
The video is as follows: Double-click the image to open the video!
评论
Hello, can you share schematic diagram?
I cannot connecti with studio.edgeimpulse. Do you know if this is compatible?