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"
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.
I have a Zephyr branch but there is also something about this board on there website
If you want to use n-able, here is what to put in platformio.ini



