Parts
This example uses an Adafruit ESP32-S2 TFT Feather. This board is perfect for IoT projects!
This board has all the features of a Feather main board: the comforting warmth of an ESP32-S2 WiFi microcontroller, and the crispness of a 240x135 pixel color TFT display. This feather comes with native USB and 4 MB flash + 2 MB of PSRAM, so it is perfect for use with CircuitPython, WipperSnapper, or Arduino with low-cost WiFi. Native USB means it can act like a keyboard or a disk drive. WiFi means it's awesome for IoT projects. And Feather means it works with the large community of Feather Wings for expandability.
However, you can use any Arduino-compatible hardware the Adafruit IO Arduino library. Platforms supported are: ESP8266, ESP32, ESP32-S2, ESP32-S3, ESP32-C3, RP2040 and SAMD51 + Airlift.
You will also need the following parts:
You will need to connect the following pins to the photocell and 10k resistor:
- Feather GND to one leg of the 10k ohm resistor
- The second leg of the 10k ohm resistor to one leg of the photocell
- Feather A0 to the same leg of the photocell as the 10k ohm resistor.
- Feather 3V to the second leg of the photocell
Page last edited
Text editor powered by tinymce.