ProMicro nrf52840

Recently bought a few ProMicro nrf52840's to make a bunch of my projects Bluetooth as iv used Promicros on them all the Promicro nrf52840 advertises it has the same pin out as the pro micros witch it probably does but theres not a single custon board config/board file i can find that has a nrf52840 and shares the same pinout as my boards. closest board that functions is adafruit itsybitsy nrf52840 express in Arduino ide but half the pins dont work and are not correct (had to test code/pins for 3 hrs to find out) im assuming the pins break out on the board differently for the chip. is there anyway or is someone that willing to help make a custom board file to get these pins corrected?

i have sovled the problem by risking editing the variant files from a board that uses the same chip. worth the risk

1 Like

If you save them in another location or back them up there is no risk. I do this a lot. Many times I simply add the date (240201) (YYMMDD) as part of the file name.

1 Like

thank you I sure did before hand. I just wasn't sure if the board would survive the attempt but all is ok. Now to code this thing been having trouble getting a analog joystick reading as the library's I'm use to don't apply to the library I'm using. wish me luck

It is very hard to destroy a board with software but mistook s in wiring can be instantaneous.

1 Like

good to know thank you. wiring wise I'm aware. its also good to be safe than sorry in my opinion yet I'm real sorry I bought these ProMicro nrf53840's as i am having trouble getting analog readings from x y of my joystick to report. Its a one handed controller (15 buttons, 1 joystick) iv got the buttons functioning but cant seem to figure out the code for the joystick as iv never messed with nrf52840 chips. got any experience? might post about it in specific.

I am trying to do exactly what you did: programming the same board using arduino. Would you mind sharing what you did? Thanks.

You will need to edit the variant.h file and save it as your own. Currently there's no board that has the actual pin out for this PCB so you will need to make one yourself. Google and youtube will help you a lot that's how I figured it out. My variant file would not work for you as it's very custom to the needs that I had for my boards(2 boards acting as one for more peripherals).

This is something worth learning as if you ever want to make your own PCBs this would be the way that you get Arduino IDE to communicate with them.

Makes sure u make a back up of any files you modify so if something goes wrong you can just use your backups and start over.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.