กลับไปหน้ารวมไฟล์
blink-an-eye-fb83ca-en.md

If it gets darker, the lights are blinking faster and faster. When it's completely dark, the lights stop blinking and stay on. If you gently press the pressure sensor, the lights will go off again.

I made this for my robot Jerry. Jerry is afraid in the dark. The lights will become his eyes and will make it look like he's blinking. The pressure sensor will end up in his hand, so if you hold his hand, he'll calm down and close his eyes.

Robot Jerry

EXPANDED TECHNICAL DETAILS

Animatronic Vision Simulation

This project uses a single high-speed display or mechanical lid to simulate the complex, non-linear movement of a human blink.

  • Natural Saccade Algorithm: The Arduino manages the speed and frequency of the "Blink." Instead of a fixed timer, it uses a Gaussian random distribution to create an organic, realistic blinking pattern that doesn't feel robotic.
  • OLED Graphical Eyelid: (Features) Renders a high-contrast eye graphic on a small SSD1306 display. The firmware performs a "Vertical Wipe" animation to simulate the eyelid closing and opening in less than 300ms.

Interactive Modes

  • Motion-Triggered Blink: (Advanced version) Integrates a PIR sensor; the "Eye" only blinks if no motion is detected for a certain period, creating a "Staring" effect that surprises viewers.

ข้อมูล Frontmatter ดั้งเดิม

title: "blink an eye"
description: "the darker it gets, the faster this robot blinks with his eyes, until he freaks and doesn't blink at all anymore, until you hold his hand."
author: "MingerMM"
category: ""
tags:
  - "environmental sensing"
  - "lights"
views: 3908
likes: 1
price: 435
difficulty: "Easy"
components:
  - "2x Resistor 10k ohm"
  - "1x pressure sensor"
  - "1x light sensor (LDR)"
  - "2x LED (generic)"
  - "2x Resistor 221 ohm"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles: []
documentationLinks: []
passwordHash: "f0c8a11ab027e2c6b965ca66a104b48ca33b89dcf321ff81e1fbdcf8d4c2243a"
encryptedPayload: "U2FsdGVkX1+83jGYsdgiS/Q/Mpubbl4pPcOUiN1S+xDYekYrMw0oYCEM13pUrZ5EHz4OjIUi/ZxwAPiFkhdycpTZT1Ir1hAnFqKFhkj3kOg="
seoDescription: "An Arduino Robot that blinks faster in the dark and stops when panicking, until you hold its hand."
videoLinks:
  - "https://www.youtube.com/embed/xyAZd2rtFl4"
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/blink-an-eye-fb83ca_cover.jpg"
lang: "en"