This is a fun and creative Arduino project where a thermistor (temperature sensor) is used to detect when someone places their finger on it.
After detecting the touch, the LCD screen shows an "Analyzing..." loading animation with percentage progress, and finally displays the message:
"Prom with me?"
- Arduino Uno (or similar)
- 16x2 LCD Display (with 6 digital pins connected)
- Thermistor (temperature sensor)
- 10kΞ© resistor (for thermistor voltage divider)
- Breadboard and jumper wires
- USB cable for uploading code
- Arduino IDE (free software)
-
Startup Message
The LCD shows:
β"Place finger on sensor..." -
Finger Detection
When a warm finger touches the thermistor, the Arduino confirms the touch by averaging multiple readings for accuracy. -
Loading Animation
The LCD displays:
β"Analyzing..."
β Followed by"Progress: 0%","Progress: 20%", ...,"Progress: 100%" -
Prom Invitation
Once the "scan" is complete, it displays:
β"MATCH FOUND!"
β Then finally:
β"Prom with me?"
-
Wire the thermistor in a voltage divider setup:
- One side to 5V
- Other side connected to analog pin A0 and a 10kΞ© resistor to GND.
-
Connect the LCD display:
- RS β Pin 12
- E β Pin 11
- D4 β Pin 5
- D5 β Pin 4
- D6 β Pin 3
- D7 β Pin 6
- RW β GND
- VSS β GND
- VDD β 5V
- Contrast pin (V0) β Middle of a 10kΞ© potentiometer (or set to GND for max contrast)
-
Upload the code using Arduino IDE.
- Adjust the
touchThresholdvalue in the code if detection is unreliable. - Typical values:
- No touch: ~500
- Finger touch: ~540β580 (depending on hand warmth).
const int touchThreshold = 540;
const int noTouchThreshold = 500;Feel free to use, modify, and share this project however you want! Good luck asking your special someone to prom! π
Made with <3 by Realjs