Project 4: Logging and analyzing data

Project proposal

One team member should send a 2-3 sentence email to Prof. Bell explaining what you want to do.

Your project must:

  • Use the ESP32 to log data from a sensor over time
  • Use more than one data stream
  • Try to answer some question related to food, cooking, or kitchen devices

See the collaborative ideas document for ideas to get your thinking going.

How to use various components

Smart plugs

  1. Email me the part of the MAC address written on your smart plug
  2. I will give you the full MAC address, and you can then register it on the network just like your ESP32
  3. Connect the smart plug to the wall and plug in your device
  4. Make sure the device is receiving power (you’ll probably need to press the power button on the plug)
  5. Data should now be streaming to the MQTT logging server

MAX6675/MAX31855 thermocouple

You’ll need to copy a small library to the ESP32: - MAX6675 thermocouple

See the example in the textbook for how to use it: - MAX6675 thermocouple example

Going in the freezer

The MAX6675 has a minimum temperature of 0C, so we have some alternative sensors if you need to measure temperatures in a freezer. The MAX31855 works like the MAX6675 but operates down to -270C (which should be good enough for any freezer you can find on campus!).

The AHT20 should work down to -40C, which should be good enough for normal freezers!

Project writeup

See this page for information about the writeup for this project.