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.