ESP32 Engine Doctor
Use your smartphone web browser to view engine performance and sensor data
🐦 Twitter
| 📺 YouTube
| 🌍 mkme.org
Support this project and become a patron on Patreon.
Chat: Discord!
Engine Doc for all chainsaws, small engines and automotive.
Buy a kit on my store here: https://store.mkme.org/?product=diy-engine-doctor-esp32-egt-engine-tuning-temp-kit
The original ideea is to use this for performance chainsaw tuning by monitoring the EGT (exhaust gas temp) or cylinder/head temp we have valuable information we can use to track/correlate our changes and even monitor saws with autotune or needs.
An ESP32 microcontroller with a high temp thermocouple interface you can mount in or stick to any surface you want to measure.
The ESP32 makes its own Wifi AP (shows up as Engine Doctor wifi network) you can log in to with your phone- open any browser to the IP in the pic and it will graph the data real time asynchronously on the web page as long as its powered on.
Also has a separate BME280 temp/baro and humidity sensor that will be in the box enclosure or you could remote mount it in an airbox or anywhere you desire.
Future Expansion- I may make a one-wire inductive tachometer pickup too which will be interrupt driven and may need amp circuit. All the spare GPIO are broken out on the PCB for this. Lipo battery plugs in to ESP32 and is charged by USB https://amzn.to/3kI5tL8
Buy a kit on my store here: https://store.mkme.org/?product=diy-engine-doctor-esp32-egt-engine-tuning-temp-kit
Component | Source |
---|---|
ESP32 Wemos 32 Lite V1 | https://amzn.to/2QzS8t3 |
MAX 6675 Thermocouple | https://amzn.to/3tyqds0 |
BME280 | https://amzn.to/3x99uhg |
BMP280 (cheaper) | https://amzn.to/3kTSyYb |
https://www.youtube.com/watch?v=tzVUzIC2Xmo
-
Solder BME 280- note SDC pin (furthest from VCC) is not used- Cut the pin or remove from header
-
Use female headers (not supplied in kit) if you would like to make the components removeable
- Two flavours of code are now offered:
-
BME280 Version- This has Temp, Pressure and HUMIDITY with Thermocouple
-
BMP280 Version - This uses the cheaper BMP280 sensor without HUMIDITY
To upload the code you must install ESP32 board support- Google for tutorials
You must be using a fairly recent Arduino IDE to upload spiffs (the web page files)
Set up your IDE using these settings for the board:
Upload the board (if you get any errors make sure you have installed the Adafruit libraries for the BMP or for BMP280: https://github.com/MartinL1/BMP280_DEV#bmp280_dev_library
Upload web page files Spiffs using the command "Tools> ESP32 Sketch Data Upload"
-
Install the thermocouple where you would like to monitor (use a magnet mount if desired)
-
Power on the EngineDoctor
-
Connect to EngineDoctor Wifi with your phone or tablet (no password required)
-
Open your web broswer to this url: 192.168.4.1
-
Watch the live values in real time while you test/tune!
-
Adjust the code if desired to alter the sample display rate (currently 1hz)
Export PCB Footprint to make a case in fusion: https://forum.kicad.info/t/kicad-to-dxf-or-dwg/7994/2
Make the case in fusion: https://www.youtube.com/watch?v=mhXUqtS4mDg&ab_channel=FixedUntilBroken
Make an awesome snap fit case - Thanks Noe! https://www.youtube.com/watch?v=VVmOtM60VWw&ab_channel=AdafruitIndustries
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. https://creativecommons.org/licenses/by-nc/4.0/ See comments in main code for more info