I understand that with the latest firmware update for the MKR Wifi1010 board that you can use the ArduinoBLE library to communication with other BLE devices... however, I'm trying to communicate with an Arduino Leonardo board that has a DF Robot Bluetooth Bee module. According to its specs, I think it only uses the older v2.0 Bluetooth specification to communicate. Can the MKR boards receive these bluetooth serial port messages? I haven't been able to find much documentation about the MKR boards and their bluetooth capabilities (outside of the BLE library page which may not help me in this instance.). Thanks.
Hello Andyopayne,
Thank you for sharing your issue with the Arduino community.
Please find data sheet for the MKR WIFI1010 michrochip module:
WIFI NINA W-102
This microchip provides both WIFI and Bluetooth connectivity to your board, so you can find all detailed specifications on the document above.
If you have any further questions please feel free to ask.
Thank you nachoherrera. It looks like the NINA-W10 chip only supports Bluetooth v4.2. So that brings me to my next question.
My ultimate goal is to get a wireless gamepad to communicate to an Arduino MKR Wifi1010 board. The gamepad is essentially just an Arduino Leonardo board connected to the various joysticks, buttons, etc. However, it has a port to connect an XBee style connector and you can use bluetooth modules here as well (which is what prompted my original question about bluetooth v. 2.0).
I found out that there is a Bluetooth v.4.0 module that can be used instead of the one I had linked previously. This would appear to be what I want because in theory this would allow my Leonardo to send BLE 4.0 notifications to the MKR board. However, I'm having trouble getting it setup.
The first issue I've run into is the library compatibility with the Leonardo board. When I try to include the ArduinoBLE.h header into my code, and then select my board type to be Leonardo, the compiler says that I have an unsupported board type.
WARNING: library ArduinoBLE claims to run on samd, megaavr, mbed architecture(s) and may be incompatible with your current board which runs on avr architecture(s).
C:\Users\MyName\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCIUartTransport.cpp:29:2: error: #error "Unsupported board selected!"
#error "Unsupported board selected!"
SO, I've got a module which SHOULD enable my board to send Bluetooth v.4 notifications, but the compiler seems to fail. Any suggestions around this?