Arduino IDE to Seeed nRF52840 Sense BLE board setup for “BLINK”

Just gone thru the typical cycle of IDE install, add 3rd party board libraries, install packages, compile fail-fixes together with the usual rounds of “Google” and tech support emails. So this post is to help some get it right first time.

The “install and “Hello World” compile success!” result ..

Arduino IDE showing success in compile and upload of our BLINK "Hello World" code to the nRFS52840 Sense board


This is how to install and setup for the following situation (works for now … in 6 months …. )

Ubuntu 22.04 LTS (i7-1260P)
Arduino IDE 1.18.19
Seeed nRF52840 BLE Dev Board

1) Install Arduido IDE

$ sudo apt update
$ sudo apt install arduino
$ arduino --version

Picked up JAVA_TOOL_OPTIONS:
Loading configuration…
Initializing packages…
Preparing boards…
Arduino: 1.8.19

Then launch your Arduino IDE with $ arduino

2) Update Seeed nRF52840 libraries

First we need to add the following external Board Manager URL under File > Preference
https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json

Arduino Board Manager external source URL


Next, go to Tool > Board > Boards Manager and choose “Seeed nRFS2 Boards ver. 1.1.1” .. somehow, I had tried other versions .. just had all sorts of issues. So, I would start with proven version (if there is a newer version by now) ..

Boards Manager device


If all goes good. Plug in your nRFS52840 board to your laptop’s USB port (I used a USB-C to USB-A cable) then choose .. that board at whatever serial port it attaches to on your system. Next,
Tools > Board > Seeed nRFS2 Boards > Seeed Xiao nRF52840 Sense

Seeed nRFS52840 chosen


Settings so far ..

Arduino IDE 1.8.19 Tools page


For testing, I will use the IoT “Hello World” … Blink!
So … chose File > Examples > 01.Basics > Blink and Click “Upload”!

BLINK


BLINKING


Ok! It is a little anti-climatic but we have crushed the new IDE/packages/library install chaos and now we spend some time to do some IoT sensor BLE data testing with our IMX8 gateway. Maybe even try out a few TinyML based vibration/noise time-series prediction tests for future applications in HVAC or mining sectors here.

Related posts

Latest posts