Make a Bluetooth device

The connected hardware

This tutorial shows how to make a simple Arduino-based device that reads temperatures from a thermocouple and sends them to the app over BLE (Bluetooth Low Energy).

It assumes you have some experience with Arduino and know how to work with microcontrollers. When I have more time I'll add more details and pictures so beginners can follow it too. Until then, I hope people will share their own experience to help others.

Disclaimer. This tutorial is for guidance only and I take no responsibility. Only go further if you know what you are doing. If you don't, ask someone for help, or wait until pre-programmed ESP32 boards or ready-made devices are available. You can also send me a request and I'll try to make a device for you.

Things you need to buy

The MAX6675 and the thermocouple are often cheaper bought together as a bundle.

Connecting the hardware

ESP32 board

  • Red – V5 (+5 V)
  • White – GND (ground, −)
  • Yellow – G12
  • Orange – G14
  • Green – G27
ESP32 wiring

MAX6675 board

  • Red – VCC (+5 V)
  • White – GND (ground, −)
  • Yellow – CSK
  • Orange – CS
  • Green – SO
MAX6675 wiring

Flashing the code to the ESP32

  1. Download the Arduino code.
  2. Open the Arduino IDE.
  3. Install the libraries it needs (listed at the top of the code).
  4. Connect the ESP32 board to your computer with a micro USB cable.
  5. Choose the ESP32 board in the Arduino IDE.
  6. Flash the code to the board and reset it.
Choosing the ESP32 board in the Arduino IDE

If everything went well you can now connect the device to the app: in the app open Settings › Roaster & Bluetooth › Connect. The Auto mode (BT) roasting video shows it in action.

Happy roasting!