Free YouTube views likes and subscribers? Easily!
Get Free YouTube Subscribers, Views and Likes

Super simple Arduino BLE Thermostat controlled with a mobile application

Follow
Taste The Code

A thermostat is probably the single most influential piece of automation gear that you can add to your house or apartment. Its job is to monitor the temperature of your environment and based on a set of rules, it then turns on or off the central heating so it maintains a constant temperature in the room.

In this example, I'm using the XIAO BLE board by Seeed Studio to make a thermostat that is controlled by Bluetooth Low Energy via an Android app that I also made using the MIT App Inventor platform.

The MIT App Inventor platform allows you to make Android and iOS applications directly in the browser by using a graphical designer to make the UI and a visual code blocks editor that is very easy to learn.

This was my very first time working with the App Inventor platform and I was able to create an app that can connect to the XIAO nRF52840 board and interact with the thermostat over Bluetooth Low Energy.

The thermostat uses the DHT22 (AMs302) environment sensor to measure the current temperature and humidity in the room, and then based on the set temperature and its state, it turns on a relay that can then connect any central heating system that has an input for an external thermostat.

Since BLE has a substantial range, the finished thermostat can be placed directly at the stove and it can then be controlled by the app from anywhere in the house or apartment.

XIAO nRF52840 (BLE) board
https://www.seeedstudio.com/SeeedXIA...

MIT App Inventor Platform
http://appinventor.mit.edu/

Tools and materials used in the project:
XIAO BLE nRF52840 https://s.click.aliexpress.com/e/_Dkc...
5V Single Channel Relay https://s.click.aliexpress.com/e/_DBC...
Mini SPDT Switch https://s.click.aliexpress.com/e/_DCf...
DHT22 Temperature & Humidity Sensor https://s.click.aliexpress.com/e/_DkK...
Mini breadboards https://s.click.aliexpress.com/e/_De5...
Mini breadboard jumpers https://www.tindie.com/products/taste...
Breadboard jump wires https://s.click.aliexpress.com/e/_DkQ...
LiPo Battery https://s.click.aliexpress.com/e/_Dla...
Soldering Rework Station https://s.click.aliexpress.com/e/_onZ...
Cheap Android phone https://s.click.aliexpress.com/e/_DCD...

For written instructions, check out the project Instructable:
https://www.instructables.com/Arduino...

The Arduino code and the App Inventor project file can be downloaded from the GitHub repository for the project:
https://github.com/bkolicoski/arduino...

Project on Hackster:
https://www.hackster.io/tastethecod...


Support my work on Patreon so I can continue producing free content and tutorials!
  / taste_the_code  


My recording gear:
Canon M50 Mark ii https://s.click.aliexpress.com/e/_ALp9Sp
GT10 Pro 5G Android Phone https://s.click.aliexpress.com/e/_oDn...
Dragon Touch 4K Action Camera https://s.click.aliexpress.com/e/_mrc...
USB Condenser Microphone https://s.click.aliexpress.com/e/_mq5...
Tripod https://s.click.aliexpress.com/e/_ooa...
Phone tripod mount https://s.click.aliexpress.com/e/_s9WaiJ


Super simple Arduino BLE Thermostat controlled with a mobile application
#bluetooth #arduino #android #appinventor #tastethecode


Main Site and blog: https://www.tastethecode.com
Facebook:   / tastethecode  
Instagram:   / taste_the_code  
Twitter:   / taste_the_code  


Get exclusive Taste The Code tshirts and merch at
https://teespring.com/tastethecode


Design great PCBs with Altium designer and get great discount!
http://aklam.io/vb3uTw


Click on the link below to get two months of free premium access to Skillshare and start learning today!
https://skl.sh/37LnRua


Get $50 off your order on hosting for all of your website needs and learning projects on Dreamhost!
https://www.dreamhost.com/r.cgi?24057...

posted by wenwynderuw