Site icon Making Studio

Manya’s Final Project Proposal: IoT Bookmark


Objective:

Design and create an innovative, minimalist bookmark that enhances the reading experience using subtle, sensory-driven tech. The project aims to explore how a smart bookmark can help readers focus and enjoy the reading experience, with limited distractions. The bookmark itself will be delightful to handle and look at, but is secondary to the book itself.

Features & Functionality:

Potential Additions:

Design Notes:

Next Steps:

Parts

Tools

Sample Arduino IDE Code for ESP32 Touch Sensor & LED

ESP32 uses the touchRead() function, which is straightforward and highly sensitive.

// ESP32 Bookmark: Touch pad turns LED ON when NOT touched (book open)
const int touchPin = T0; // Touch pin (e.g., GPIO 4; see ESP32 pinout)
const int ledPin = 4; // LED pin (GPIO 4, use any available GPIO)

int threshold = 30; // Set experimentally; touchRead() value when not touched is higher

void setup() {
pinMode(ledPin, OUTPUT);
Serial.begin(115200); // Optional: For debugging
}

void loop() {
int touchValue = touchRead(touchPin);
Serial.println(touchValue); // For calibration

if (touchValue > threshold) {
// Not touched (book open)
digitalWrite(ledPin, HIGH); // LED ON
} else {
// Touched (book closed)
digitalWrite(ledPin, LOW); // LED OFF
}
}

Exit mobile version