Anela deLaveaga
Published © GPL3+

BLE Temperature Control

This device allows a heater [or any other outlet-powered device] to activate and deactivate based upon user-set temperature triggers.

IntermediateFull instructions provided2.5 hours1,564
BLE Temperature Control

Things used in this project

Hardware components

Breadware Inc Mega-B Development Kit
Use code CKIRK17 at Breadware checkout for a 10% discount
15 Amp - Duplex Receptacle Outlet
4-Port Relay Expansion Board
Wire cable
14 gauge wire (green, white, black preferred) -About 15 - 20 inches of length for black, and about 10 inches of white and green

Software apps and online services

Breadware Inc BreadConnect
Only currently compatible with iOS
Breadware Inc Breadware IDE
Main software web app to develop firmware, mobile app, and data stream customization.
Arduino IDE
Arduino IDE
Alternate possible IDE compatible with the Mega-B Dev Kit.

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)


Read more


BLE Temp Code

This is the code to activate your outlet when the temperature is low, and deactivate your outlet when it is too hot.
if ( < 19 ) {
  digitalWrite(outlet1, LOW);

if ( >= 22) {
  digitalWrite(outlet1, HIGH);



John Kirkpatrick

Posted by Anela deLaveaga
Thanks to John Kirkpatrick.