TIPS For Setting Up A Feather nRF52832 - What to know outsid

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
plasnid
 
Posts: 12
Joined: Fri Oct 16, 2020 11:36 pm

TIPS For Setting Up A Feather nRF52832 - What to know outsid

Post by plasnid »

So you have a project that requires bluetooth! Exciting! Best of all there is a guide to help you on your way. Definitely consult this first....but there may be some hiccups, so lets talk about workarounds. Just know, I do actually like this board very much, I just want to give you a shortcut in case you run into similar issues!

The URL for the guide: https://learn.adafruit.com/bluefruit-nr ... ning-guide

Language:
This board is Arduino only. Not a huge issue, though python is nice.

Flashing the bootloader:
The guide is great for this one, but as of this posting, here are a few things you should look out for:
-If you are on a Mac, be sure you are on OS 11 or higher. If you are on 10, you'll find an error message letting you know that is looking for a library that exists for OS 11 and higher only.
-SLAB_USBtoUART port. This may differ on a PC, but you don't need to choose this port on a Mac. In fact you board may not even be attached to that port when you are coding. Your board may instead be on a usbserial port. How will you know? Is the blue light for your bluetooth flashing blue when you port your code? No? And it even looks like the board has received the sketch....but strangely the serial monitor has nothing??? That means your board is not connected to the slab, instead connect to usbserial.

StandardFirmataBLE
In the samples, there in activity involving the microcontroller receiving messages from your phone to change the colour of lights. First of all be sure that your firmata.h file is up to date. If when you try to run the sketch, it says that there is an error in firmata.h, you may need to change line 131.

Code: Select all

friend void FirmataMarshaller::encodeByteStream (size_t bytec, uint8_t * bytev, size_t max_bytes = 0) const;
to

Code: Select all

friend void FirmataMarshaller::encodeByteStream (size_t bytec, uint8_t * bytev, size_t max_bytes) const;
The difference is very small. This difference is that the = 0 after max_bytes needs to be deleted.

After I fixed each of these, the samples worked great! With any luck, you won't run into any of these issues, but if you do, please try the steps above.

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”