It's a pair of animatronic eyes: two servos (left/right and up/down), a frame I designed and 3D printed, and an Arduino UNO.
The hardest part wasn't the mechanism, it was making it easy to program. I wanted someone who has never coded to get it moving without fighting with IDE installs, drivers and libraries. So I made a web app:
- Block-based programming (Scratch-style) in Spanish: "look left", "wait 1 second", "nod yes"...
- A simulator that shows how the eyes will move before you plug anything in.
- Plug the Arduino in over USB and upload straight from the browser (Chrome or Edge).
- Every block shows its C++ line, so you can see the real code or download it as an .ino.
Video of it working below.
I'd like to turn it into an educational kit eventually, but I'm still refining a lot, so I'd love your feedback:
- What would you improve in the mechanism or design?
- If you were teaching someone with this, what blocks or features would you add?
- Anyone used Web Serial for something like this? Any pitfalls I should know about?
Happy to chat by DM if anyone wants to know more or has ideas.
Hice unos ojos animatrónicos y una app web para programarlos con bloques, sin instalar nada
Hola! Soy estudiante de Ingeniería en Control Automático y Robótica y llevo un tiempo trabajando en este proyecto personal.
Son unos ojos animatrónicos con dos servos (uno para los lados y otro para arriba/abajo), una estructura que diseñé e imprimí en 3D, y un Arduino UNO.
Lo que más me costó no fue el mecanismo, sino la parte de programarlo. Quería que alguien que nunca ha programado pudiera hacerlo moverse sin pelearse con instalar el IDE, drivers y librerías. Así que hice una app web:
- Programas con bloques en español (tipo Scratch): "mirar a la izquierda", "esperar 1 segundo", "decir que sí"...
- Tiene un simulador para ver cómo se moverían los ojos antes de conectar nada.
- Conectas el Arduino por USB y lo subes desde el navegador (Chrome o Edge).
- Cada bloque muestra su línea en C++, por si quieres ver el código real o descargarlo como .ino.
Les dejo un video de cómo funciona.
Mi idea es convertirlo en un kit educativo para que más gente aprenda así, pero todavía estoy afinando muchas cosas, por eso me encantaría su opinión:
- ¿Qué le mejorarían al mecanismo o al diseño?
- Si fueran a enseñarle a alguien con esto, ¿qué bloques o funciones le agregarían?
- ¿Les ha tocado usar Web Serial en proyectos así? ¿Algún problema que deba tomar en cuenta?
Si alguien quiere saber más del proyecto, busca apoyarlo o tiene ideas, con gusto platico por mensaje privado.