This'll work with any one of thoes aliexpress nrf52840 devkits.
like; TENSTAR ROBOT ProMicro NRF52840
Super NRF52840 (the seedstudio xiao looking ripoff)
they have silkscreens of like,
102 for eg, which corresponds to the physical pin P1.02. In firmware you define it as PIN_102 eg. digitalWrite(PIN_102, HIGH);
I think thats easy enough...
Works with bluefruit and and all the fun lib's!
It seems like you need to press upload twice for it to upload. just a note,
lib_deps = https://github.com/adafruit/Adafruit_nRF52_Arduino
SPI
P1.11 (SCK), P1.13 (MOSI), P1.15 (MISO)
I2C
P1.06 (SCL), P1.04 (SDA)
Serial1
P0.06 (TX) P0.08 (RX)
Serial1.begin(9600);
if you want to change where i2c or spi pins are, you can go to variant.h which is in:
.platformio/packages/framework-arduinoadafruitnrf52/variants/nicenano/variant.h
currently its set to:
#define PIN_WIRE_SDA 36 #define PIN_WIRE_SCL 38
scroll up in the file, youll see #define PIN_104 36 // P1.04 so 36 is PIN_104, wanna change it to PIN_102? youll see
#define PIN_102 34 // P1.02 that the definition is 34 so just change #define PIN_WIRE_SDA 36 to #define PIN_WIRE_SDA 34
Before installing, make sure PlatformIO is fully installed, and so is nrf52 package, (make a project using any of the adafruit nrf52840 boards, build it, and you can follow the next steps:
-
Download ZIP
-
Unzip
-
Go to the downloaded .platformio and where .platformio is installed in another file manager window
Note, if you dont have hidden files shown, you wont see the .platformio folder downloaded. (on linux at least)
- Drag and drop the downloaded .platformio NEXT TO where your real .platformio is. (NOT INTO)
- merge
- make sure to check the "Apply this action to all files and folders"
- clone the source code using git
git clone https://github.com/bertrik/nicenano-example - enter the arduino source tree
cd nicenano-example/supermini(for windows I think it's\instead of/) - create python virtual env
python3 -m venv .venv(on windows change python3 topython3.13or whatever specific version you have) - activate the virtual env
source .venv/bin/activate(on windows it's.venv\Scripts\activate) - install platformio
pip3 install platformio - build the example program
pio run
The .ini is:
[env:nicenano]
platform = nordicnrf52
board = nicenano
framework = arduino
lib_deps = https://github.com/adafruit/Adafruit_nRF52_Arduino
Why does my nRF take so much power? Most likely because the charging IC is very leaky, if you want to use as little power as possible, use the "VDD" smd pad in the bottom side of the board, where the debugging pins are.
Zephyr = here
If you want to use n-able:
[env:pro_micro_nrf52840]
platform = https://github.com/LeeorNahum/platform-n-able-pro-micro-nrf52840.git#master
board = pro_micro_nrf52840
framework = arduino
lib_deps =
https://github.com/h2zero/NimBLE-Arduino.git#master




