Skip to content

Optional Hardware

Every exercise runs in the Wokwi simulator, so no hardware is needed. Schools that want to build the circuit for real need only these parts — one set per pair of students.

Board and basic equipment

  • ESP32 DevKit (ESP32-DevKitC V4 or similar)3.3V safe

    Its GPIO pins use 3.3V logic and are not 5V tolerant. Power the sensors from the 3V3 pin.

    Used in exercises: #1, #2, #3

    1 pcs
  • USB cable (data capable; micro-USB or USB-C depending on the board)3.3V safe

    Charge-only cables carry no data — if the board does not show up on the computer, try another cable first.

    Used in exercises: #1, #2, #3

    1 pcs
  • Breadboard (830 tie points)3.3V safe

    The ESP32 DevKit is wide; use a full-size breadboard so that free rows remain on both sides.

    Used in exercises: #1, #2, #3

    1 pcs
  • Jumper wires male-male (at least 15)3.3V safe

    Used in exercises: #1, #2, #3

    1 pcs

Sensors

  • DHT22 (AM2302) temperature & humidity sensor3.3V safe

    Measures the motor temperature in our scenario. Powered from 3V3, its data line is 3.3V too — safe. Wait at least 2 seconds between readings.

    Used in exercises: #1, #2, #3

    1 pcs

Actuators and indicators

  • 5 mm red LED3.3V safe

    The alarm lamp. Long leg (anode) to the resistor, short leg (cathode) to GND.

    Used in exercises: #1, #2, #3

    1 pcs
  • 5V 1-channel relay moduleCaution

    Switches the cooling fan. Connect VCC to the 5V pin. Most 5V relay modules work with the ESP32’s 3.3V signal, but some do not trigger — then use a 3.3V-compatible module or a transistor driver. NEVER switch mains voltage (230V) in class.

    Used in exercises: #1, #2, #3

    1 pcs
  • 5 mm yellow LED3.3V safe(optional)

    Only for the early-warning task in Exercise 1 (GPIO 4, with its own 220 Ω resistor).

    Used in exercises: #1

    1 pcs

Passive components

  • 10 kΩ resistor3.3V safe(optional)

    Only for a bare 4-pin DHT22: pull-up between the data line and 3V3. A 3-pin DHT22 module has one on board; not needed in Wokwi.

    Used in exercises: #1

    1 pcs
  • 10 kΩ potentiometer3.3V safe

    Stands in for the machine’s vibration level. Outer legs to 3V3 and GND — NOT 5V — middle leg to GPIO 34.

    Used in exercises: #1, #2, #3

    1 pcs
  • 220 Ω resistor3.3V safe

    Limits the LED current. At 3.3V it gives about 5–6 mA — bright enough and safe for the pin.

    Used in exercises: #1, #2, #3

    1 pcs