artemis Redboard and bluetooth

I have experience using arduino but not with bluetooth. I bought an artemis redboard to drive an Evil Mad Scientist Simple Relay shield.

I believe I was able to download the appropriate addon since I could modify the blink example to turn the relay off an on.

My goal is to be able to turn the relay off and on with an app on my phone. I downloaded the Arduin0BLE library but have not been able to decipher how to connect to the artemis. In a topic on this forum I saw references to version a version 2.0 library, but the only one I could find through the IDE’s Library Manage was 1.2.

Need some advice on where to look for help next.

Ken

on the version 1.2.x there is no Bluetooth stack anymore. In order to use ArduinoBLE you will need to have library version 2.0.3. Follow the instructions to install https://learn.sparkfun.com/tutorials/ar … rduino-ide. That said 2.0.3 has a number of issues, but I don’t think they will be in your way on what you want to do.

That is the tutorial I have been following.

I installed the Sparkfun Apollo3 Boards 1.2.1 board definitions by using the Arduino IDE Boards manager, but there is no version 2.0 listed. I am using version 1.8.13 of the IDE. I just noticed the note about only being compatible with version up to 1.8.12…so I am going to back up and install version 1.8.12 and see if that helps.

I uninstalled 1.8.13 and tried 11 and 12, but still does not give me an option for version 2.0 on the Apollo boards… I must be doing something really stupid. Still stuck.

From the Aarduino IDE, choose File | Preferences

click the little box to the right of Additional Boards Manager URL’s: (a list box will pop up)

go to the end of the line or the end of the last line if you have several lines and hit return to add a new line…

Copy this next line and paste it into that list box. Click OK. Exit Arduino and then re-start it. Now when you got to Boards Manager you should see the 2.0…cores

https://raw.githubusercontent.com/spark … index.json

Thank you I was not able to get the 2.0.3 version of the Apollo3 Boards installed. But when I try to compile the Blink example from the examples>incompatible>ArdinoBLE>peripherals>LED I get an error message that it cannot find

Swinney\AppData \Arduino15\packages\Sparkfun\hardware\apollo3\2.03\variants\SFE_ARTEMIS/mbed/mbed_config.h

I am assuming that these files were supposed to be downloaded when I did installed the apollo3 using the Boards Manager. Where are these files typically installed? Is away to change the search path the Arduino IDE is using? (hope these questions are making sense)

I can find the ArudinoBLE library, but not any directories identified as apollo3.

These files would all have been installed when the installation instructions are followed. Best for now :

close down IDE

remove the folder 2.0.3 in Swinney\AppData \Arduino15\packages\Sparkfun\hardware\apollo3.

Restart IDE

Boards manager

look for apollo3 and install the 2.0.3 version

Select the right board in the IDE

recompile