nRF52832

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
IronKnight888
 
Posts: 6
Joined: Tue Jul 26, 2022 3:39 pm

nRF52832

Post by IronKnight888 »

Hi

I have been working on a project that takes input from a temperature sensor and sends it over Bluetooth to an ios device. I had done this previously using an arduino and HM-10 chip but wanted to use something sleeker for the final project. I had bought a nRF52832 and have been trying to get the chip to work. While I have downloaded all of the libraries needed for the arduino and updated the bootlegger, anytime I try and run one of the example programs to connect to the iPhone, I get the error message "Error compiling for board Adafruit Feather nRF52832."

Do you think you can help me with my problem?

Thank you

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: nRF52832

Post by adafruit_support_carter »

Need more of the text messages associated with the error. To get those, turn on verbose output:

File -> Preferences...

Show verbose output during: -> check both boxes

Then compile the code again and paste all the text here.

User avatar
IronKnight888
 
Posts: 6
Joined: Tue Jul 26, 2022 3:39 pm

Re: nRF52832

Post by IronKnight888 »

Here is a picture of the error message
Attachments
image_2022-07-26_164031067.png
image_2022-07-26_164031067.png (183.86 KiB) Viewed 110 times

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: nRF52832

Post by adafruit_support_carter »

The adafruit_Test_2.ino sketch has several undefined references. Can you link to where that example is originating?

User avatar
IronKnight888
 
Posts: 6
Joined: Tue Jul 26, 2022 3:39 pm

Re: nRF52832

Post by IronKnight888 »

I'm not really sure where the errors are originating from. I have been following this tutorial
https://learn.adafruit.com/bluefruit-nr ... bootloader
And was trying to run the BLE Pin I/O code. Is there anything else I can send that can help you out?

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: nRF52832

Post by adafruit_support_carter »

Are you getting the same errors if you try uploading the basic test sketch?
https://learn.adafruit.com/bluefruit-nr ... ch-2860620

User avatar
IronKnight888
 
Posts: 6
Joined: Tue Jul 26, 2022 3:39 pm

Re: nRF52832

Post by IronKnight888 »

No the Basic Test sketch seems to be working. The beacon code also can be downloaded but I have been unable to connect. I think that it might have to do with the use of the packetParser.cpp in the UART controller code as I am unsure how to implement it.

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: nRF52832

Post by adafruit_support_carter »

Can you link to the specific example you are trying to run that is generating the error messages.

User avatar
IronKnight888
 
Posts: 6
Joined: Tue Jul 26, 2022 3:39 pm

Re: nRF52832

Post by IronKnight888 »


User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: nRF52832

Post by adafruit_support_carter »

That example is compiling OK here for a target board of Adafruit Feather nRF52832.

Note that there are two separate pieces to the code. Make sure your Arduino IDE is showing the two tabs, similar to this:
ard.jpg
ard.jpg (16.94 KiB) Viewed 70 times
The tab on the left can be named something else - just whatever your sketch name is.

User avatar
IronKnight888
 
Posts: 6
Joined: Tue Jul 26, 2022 3:39 pm

Re: nRF52832

Post by IronKnight888 »

I was able to get this example working thanks to the packerparser.cpp thank you!

Do you know where I can find any examples for code that sends data from the chip to the phone app?

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

Return to “Feather - Adafruit's lightweight platform”