Skip to content

Latest commit

 

History

History
56 lines (31 loc) · 2.37 KB

installArduino.md

File metadata and controls

56 lines (31 loc) · 2.37 KB

Install Arduino IDE to compile and upload the code

  • Download and install the Arduino IDE https://www.arduino.cc/en/Main/Software

  • Start Arduino IDE, choose "File" > "Preferences" and copy this line below into the "Additional Boards Manager URLs" field

    https://adafruit.github.io/arduino-board-index/package_adafruit_index.json

  • Go to "Boards Manager"

  • Enter "nRF52" in the search box and then install "Adafruit nRF52 Boards". This will take a while to complete...

  • Choose "Adafruit Bluefruit nRF52832 Feather"

  • Go to "Manage Libraries"

  • Enter "vl53" in the search box and then install "VL53L0X by Polulu"

  • Connect the Adafruit Bluefruit board to your computer's USB and choose the corresponding COM port

Note: Make sure the board is turned on if you have a power switch mounted on the board. Yes, been there, done that...

  • If you get error messages when trying to upload first check that you've chosen the correct COM port number and that the board is connected properly.

  • If you get error messages looking something like this below (and you are sure you are using the correct COM port) you need to update the bootloader to a newer version, follow the guide on the link below.
    File "nordicsemi\dfu\dfu_transport_serial.py", line 243, in send_packet
    File "nordicsemi\dfu\dfu_transport_serial.py", line 282, in get_ack_nr
    nordicsemi.exceptions.NordicSemiException: No data received on serial port. Not able to proceed.
    https://learn.adafruit.com/bluefruit-nrf52-feather-learning-guide/updating-the-bootloader

  • When done you can open the "Serial Monitor" under the "Tools" menu and view the Arduino board's status and data transmitted. Temperatures are in degrees celsius times ten.

  • Have fun!