Skip to content

Software Installation

Alejandro Mora edited this page May 15, 2026 · 1 revision

If you already installed all required software components, you can proceed to configure and install ESP32Kiln on your ESP32 board.

In Arduino IDE choose the proper "Board" (your ESP32 variant) and set "Partition scheme" to one that includes SPIFFS.

  • For production use, disable serial debug in ESP32Kiln.ino - set #define DEBUG false (around line 53)
  • By default the sketch is configured for Wroom (without PSRAM). If you have a Wrover with PSRAM, uncomment the Wrover defines and comment out the Wroom ones in ESP32Kiln.ino:
// If you have Wrover with PSRAM
#define MALLOC ps_malloc
#define REALLOC ps_realloc

// if you have Wroom without it
//#define MALLOC malloc
//#define REALLOC realloc
  • If you have a second MAX31855 for housing temperature, uncomment it in ESP32Kiln.h:
// MAX31855 variables/defs
#define MAXCS1  27    // for hardware SPI - HSPI (MOSI-13, MISO-12, CLK-14) - 1st device CS-27
//#define MAXCS2  15    // same SPI - 2nd device CS-15 (comment out if no second thermocouple)
  • If you have a power sensor, uncomment it in ESP32Kiln.h:
// If you have power meter - uncomment this
//#define ENERGY_MON_PIN 33       // if you don't use - comment out
  • Compile and upload the sketch.
  • Open data/etc/pidkiln.conf and edit your WiFi credentials (if you want to use networking). You can also set additional parameters there.
  • Upload sketch data (from the data/ directory) to ESP32 SPIFFS: in Arduino IDE go to Tools > ESP32 Sketch Data Upload.

Clone this wiki locally