This repository contains an Arduino sketch for controlling the built-in LED and reading the temperature from the humidity and temperature sensor on the Arduino Nano 33 BLE Sense board. The sketch uses Bluetooth connectivity to enable remote control of the built-in LED and monitoring of the temperature readings.
For a detailed description and explanation, please refer to the external article here.
Note
You can also run the sketch on the Arduino Nano 33 BLE, but the temperature value will be simulated (randomly generated numbers).
- Connect the Arduino Nano 33 BLE Sense board to your computer.
- Open the sketch in the Arduino IDE (version 1.8.13 or later).
- Select the appropriate board and port in the Arduino IDE.
- Upload the sketch to the Arduino Nano 33 BLE Sense board.
- Install the companion mobile app from the iOSArduinoBLE iOS App repository for controlling and monitoring the built-in LED and temperature readings.
- Establish a Bluetooth connection between the Arduino Nano 33 BLE Sense board and the mobile app.
- Use the mobile app to control the built-in LED and view the temperature readings.
This sketch relies on the following libraries:
- ArduinoBLE for Bluetooth connectivity
- Arduino_HTS221 for humidity and temperature sensor support
Please install these libraries through the Arduino Library Manager before uploading the sketch.
This project was developed by Leonardo Cavagnis.