Want to make creations as awesome as this one?

Step-by-step guide for using an Arduino nano 33 BLE SENSE board by pairing it via Bluetooth to your smartphone using the phyphox application.

Transcript

Pairing an Arduino nano BLE 33 sense to your smartphone

a three-part guide...

(to measure the world)

What it can do…

Connect and Measure!

Ready the Smartphone

1

Ready the Arduino Nano

2

3

1

Ready the Arduino Nano

The communication program must be installed on the nano board.For this you will need a computer connected to the internet.

1

1. On your computer, install the “Arduino IDE” program(Click here)Open this program.

1

2. Download and open the nano_phyphox_vx.ino program(Click here)Optional: you can change the name of the board that will be used for the Bluetooth configuration (“board_name []” variable)

1

3. Plug the nano card into a USB port on the computer.“Arduino IDE” software, “Tools > Board > Boards Manager” menu, choose “Arduino Mbed OS Nano Boards”

1

4. Plug the nano card into a USB port on the computer.“Arduino IDE” software, “Tools > Port” menu,choose the port on which your Arduino board is connected.Before uploading a program, always (re)check that the correct port is selected!

1

5. “Arduino IDE” software, “Tools > Manage Libraries” menu, install:

phyphox BLE, by RWTH Aachen UniversityArduino_LSM9DS1, by ArduinoArduino_LPS22HB, by ArduinoArduino_HTS221, by ArduinoArduino_APDS9960, by Arduino

These libraries are programs that will enable Bluetooth communication with the smartphone (“phyphox BLE”) and communication with the sensors installed on the Arduino nano 33 BLE SENSE board (the “Arduino_xxxx” libraries).To install a library, type the name in the manager's search bar, select the library from the list and click “Install”.

1

6. Upload the program onto the nano board (arrow icon)It may take a whole minute...If a connection problem occurs, check the board port number (“Tools” menu)

1

A red LED comes on: the nano board is ready!You can close the “Arduino IDE” software

2

Ready the Smartphone

2

1. Install the free and open-source application “phyphox”Works on iOs and Android

2

2. Open the “phyphox” application, press the “+”, and choose “Add experience from a QR code” using the image above.(The appearance of phyphox is different on Android and iOS,hover over the images to see the iOS look.)

2

3. Select “Save all”.The experiments to communicate with the nano board sensors are now available in the list of phyphox experiments, in the category “Arduino Nano 33 BLE Sense”.

2

Your smartphone is ready!

3

Connect and Measure!

Let's go…

3

1. Power the Arduino nano board:

– either by connecting a charger or a computer to the board USB port;– or by connecting a battery to the dedicated pins (requires soldering). The supply voltage should be between 4.5 and 21 V; a single 9 V battery or two 3 V button cells are suitable.

3

2. On your smartphone, enable Bluetooth and location (GPS).

3

3. On your smartphone, open phyphox and choose an experiment from the list.

3

4. When the experiment opens, the smartphone scans for nearby bluetooth devices. Choose the name of your Arduino nano board from the list.When the nano board is connected, the red LED turns green.

3

The measurement can begin!It's up to you now…

credits

This project was developed by the “Physics Reimagined” group,part of the Gautier Creutzer internship.Thanks to the phyphox team for their availability,and Jacques Vince for his tests.More information: https://vulgarisation.tiny.us/nano-ENwww.PhysicsReimagined.com