Bluetooth Weather Station

Exploring the basics of Bluetooth by polling Arduino Nano 33 Sense temperature, humidity and barometer readings from Raspberry Pi.

Sep 29, 2020

13302 views

7 respects

Components and supplies

1

Android device

1

Raspberry Pi 3 Model B

1

Nano 33 BLE Sense

Apps and platforms

1

nRF Connect SDK

Project description

Code

read_model.py

python

Another example from the Bleak home page with the MODEL_NBR_UUID slightly tweaked for the Arduino Nano. Must be run with sudo or it will fail.

read_temperature.py

python

Python code to read GATT characteristic temperature from Arduino Nano. Must be run with sudo or it will fail.

read_pressure.py

python

Python code based on samples from the Bleak library home page, but changed to read and display barometric pressure. Must be run with sudo or it will fail.

read_humidity.py

python

Python code to read GATT characteristic humidity from Arduino Nano. Must be run with sudo or it will fail.

read_temperature.py

python

Python code to read GATT characteristic temperature from Arduino Nano. Must be run with sudo or it will fail.

read_model.py

python

Another example from the Bleak home page with the MODEL_NBR_UUID slightly tweaked for the Arduino Nano. Must be run with sudo or it will fail.

read_humidity.py

python

Python code to read GATT characteristic humidity from Arduino Nano. Must be run with sudo or it will fail.

discover.py

python

This is the device discovery code from the Bleak library home page. Remember to run it with sudo or it will fail.

read_pressure.py

python

Python code based on samples from the Bleak library home page, but changed to read and display barometric pressure. Must be run with sudo or it will fail.

Comments

Only logged in users can leave comments

dhorton668

0 Followers

0 Projects

Table of contents

Intro

7

0