กลับไปหน้ารวมไฟล์
2-animatronic-eyeballs-with-up-down-motions-a5839a-en.md

So basically I noticed that there wasn't a project on here for 4 servos to control 2 eyeballs. I therefore have done so, written the code and now am working on making this project better and easier to understand.

I have mounted the servos onto the cardboard, with glue and then bent the metal to the shape I need. The holes are a near perfect fit onto the servo heads. Mount the servo heads to the bracket, find the middle point on a 1 inch styrofoam ball. Drill through to the other side, and slide the bars through the eyeballs. Once it's all put together, now build a back plate that is slightly longer that the servo heads. Use digital calipers if you have them or eyeball them. Mount the other two servos, onto the back side of the cardboard plate, so that they are level with the top of the styrofoam ball. Use zip ties to mount the balls to the back servos, upload the code, open serial monitor and press, 1 then enter. I dare you!

Have fun and please if you use my code, tag me in the content, or project updates! Thank you!

EXPANDED TECHNICAL DETAILS

Bionic Visual Coordination

This animatronic project replicates the synchronized movement of biological eyes, creating a highly expressive and realistic character effect.

  • Dual-Servo Linkage: Uses two SG90 micro servos connected to a series of 3D-printed mechanical gimbals. The Arduino manages the "Pan" (left/right) and "Tilt" (up/down) movements, ensuring both eyes move in perfect unison to maintain a realistic "Gaze."
  • Smoothing & Jitter Control: Implements a software-based "Easing" function. Instead of the servos jumping instantly to a new position, the Arduino calculates a gradual acceleration and deceleration curve, mimicking natural ocular muscle movement.

Visual Polish

  • Randomized Blinking: Includes a secondary servo or LED logic to simulate a "Blink" at random intervals, adding a layer of autonomous "Life" to the character.

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

title: "2 Animatronic eyeballs with up & down motions!"
description: "Code and instructions all included!"
author: "proton1055"
category: "Motors & Robotics"
tags:
  - "Robots"
  - "Internet Of Things"
views: 1601
likes: 1
price: 1120
difficulty: "Intermediate"
components:
  - "1x The Old Duponts"
  - "1x Metal For Brackets"
  - "2x Styrofoam Ball"
  - "1x SG90 SERVO PACK"
  - "1x 30v and 10a Power Supply"
  - "1x Cardboard For Projects"
  - "1x Breadboard for Projects"
  - "1x Arduino Uno Rev3"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles:
  - "https://projects.arduinocontent.cc/21ff919f-46e4-4369-96cb-d7764143991e.ino"
documentationLinks: []
passwordHash: "746a1fb4dceaf25132dc5b5bcb2b1fa28883628b16d5d8d16266c8027035f061"
encryptedPayload: "U2FsdGVkX1/UQMBpQ1I33xmyaW0rLgTevrU6S1gR+oJFUFtY4LvKgBMZEoZFFpTWEI2cQk5gE0wnhkXOksMkQwdko4pnBj4hn4le3HtTjHA="
seoDescription: "Build 2 Animatronic eyeballs with up & down motions. Includes Code and instructions for your next DIY Arduino project."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/2-animatronic-eyeballs-with-up-down-motions-a5839a_cover.jpg"
lang: "en"