- Remove the Arduino Nano 33 BLE Sense board from the box
- Hold the Arduino with the USB connector toward the left
- Plug the Arduino into the bottom of the mini solderless breadboard
- You should see 4 rows of holes above the Arduino board
- Take the button and gently insert it into the breadboard
- The right side of the button should be in the ground pin, which is denoted by a white mark
- The left side of the button should be in pin D3. (The pin labels are on the bottom of the board, so match your setup with the picture below.)
Clone or download this git repository. If you're familiar with git, clone this repository, otherwise, click the [green button]((https://github.com/sandeepmistry/aimldevfest-workshop-2019/) to download a zip file with all the code.
- Plug the micro USB cable into the board and your computer
- Open ArduinoSketches/HardwareTest/HardwareTest.ino in the Arduino IDE
- Choose the board
Tools -> Board -> Arduino Nano 33 BLE
- Choose the port
Tools -> Port -> COM5 (Arduino Nano 33 BLE)
Note that the actual port may be different on your computer - Upload the code to the board
Sketch -> Upload
- Press the button and the on-board LED will light up
- Release the button and the on-board LED will shut off
- Open the serial monitor
Tools -> Serial Monitor
to see debug messages
You can try the example sketches that came with the LSM9DS1 library.
- Open the Simple Accelerometer sketch using
File -> Examples -> Arduino_LSM9DS1 -> SimpleAccelerometer
- Upload the sketch to the board using the
Sketch -> Upload
menu or the right arrow button from the tool bar. - Open the Serial Monitor
Tools -> Serial Monitor
to view the text output - Open the Serial Plotter
Tools -> Serial Plotter
to view the output on a graph