The demonstration Cube has two round screens on its front panel, each 3.25 cm in diameter (1.28 inches), at 240 × 240 pixels. Two discs, with no mouth and no eyebrows, are not much to make yourself understood with, but they are far more interesting than a screen when it comes to keeping (eye!) contact through the day and signalling that something worth coming to see is happening. So we went looking for what the scientific literature says about eyes and eyelids in robotics, and here is what we did with it for our demonstrator. It is up to you to “see” whether we keep it for your version.
Update of 28 November 2026.
The “Where we stand” box, further down, dates from 19 November. Since the following day, the eye module has been connected to the rest of the Cube: its board talks to the Walter, the main board, over a serial link with checked frames, and the two screens run together in the Cube. The wiring is no longer the one in the “The wiring” section: in the Cube, the screens are on pins GP0 to GP5 and the link with the Walter is on GP21 and GP22, at 921,600 baud. The downloadable archive is still version 1.0.0, with the wiring described here.
The Walter also updates the eyes, and their board checks the signature of each new version itself: 1.1.5 was the first to be installed remotely over 4G, on 20 November, and a steel-grey ring now follows the progress of an update, as described in Remote updates: from hawkBit to 4G. The Walter makes the eyes react to the events it writes to its log, using a single table, with priorities: access granted gives the acceptance, a refusal the red ring, any critical event the amber alert, a low reserve “on reserve”, and an alert is never masked by a greeting.
Since version 1.2.0, the access sequence has its own expressions: a violet iris when a badge is detected, yellow while it is being verified, and a gaze that follows the person as they leave. Since versions 1.3 and 1.4, the eye board also monitors the Cube’s power and lights its small LED according to the state of the battery, as described in Tracking the Cube’s power and movements.
Why eyes, and why not real ones
We explained in the article on the hardware how these two screens came to be on the front panel, and in the one on the clear line (“ligne claire”) where our taste for drawn robots comes from. That left a more serious question: what can a gaze say when there is no face around it?
More than you might think. In 1944, Fritz Heider and Marianne Simmel showed female students a short film in which two triangles and a disc move around a rectangle. Almost all of them described the scene as a story between animate beings: movement is enough for us to attribute intentions to a shape. So the eye does not need to be lifelike. Indeed, it is better if it is not: in his essay on the “uncanny valley”, the roboticist Masahiro Mori observes that a near-perfect resemblance to a human makes people uneasy, and that movement heightens this effect. He therefore recommends that designers deliberately aim for a non-human form. We had compared four styles as mock-ups, including two more realistic irises. In the end we kept the two most plainly drawn: a pupil in the manner of Hergé, and a plain coloured ring.
Nor are we the first to put eyes on a screen. Amazon writes that its home robot Astro communicates through “its digital eyes”, its movements and its sounds, and the small open-source robot Stack-chan has nothing for a face but the screen of its microcontroller.
What Smith and Scott’s table says
Our starting point is a table that Cynthia Breazeal reproduces in her 2003 paper on the Kismet robot, after the psychologists Craig Smith and Heather Scott. It starts from a simple idea: an expression is not a single block; it is made up of elementary movements, each of which carries a meaning. The table links eight facial movements to seven dimensions: pleasantness, obstacle, anticipated effort, attention, certainty, novelty and control. An upward arrow means that the movement grows stronger as the dimension increases, a downward arrow that it grows stronger as the dimension decreases. Four of these movements, however, concern the mouth and the chin, which the Cube does not have. Here are the other four, as we read them in the table.
| Movement | Grows stronger as these increase | Grows stronger as these decrease |
|---|---|---|
| Frowning | obstacle, anticipated effort | pleasantness |
| Raising the eyebrows | attention, novelty | certainty, control |
| Raising the upper eyelid | attention, novelty | control |
| Raising the lower eyelid | certainty |
The authors speak of a “possible” correspondence, and the arrows in the table come in two shades that its caption does not explain: we read nothing into them. The main thing to keep in mind is that the Cube has no eyebrows either. It still has two eyelids per eye, though, and everything the table does not cover.
What two discs still have
- Gaze direction. Admoni and Scassellati’s review of robot gaze distinguishes mutual gaze, gaze that points to an object and averted gaze, which can signal cognitive effort. It also reports that a simple face displayed on a robot’s flat screen increases the number of passers-by who stop. And it points out the limitation of on-screen eyes, the “Mona Lisa” effect: a flat gaze seems to follow everyone, so it is poor at indicating a direction.
- Blinking. A study of people watching short films shows that we hold back our blinks when the action demands attention, and release them in the lulls. A blink therefore reads as punctuation.
- The pupil. It constricts in light and dilates with arousal and mental effort, as summed up in a review of pupillometry.
- Rhythm. The principles of traditional animation, formalised at the Disney studios and carried over to computer animation by John Lasseter in 1987, say that a movement is understood through its duration (“timing”) and through the small gesture that prepares it (anticipation).
The three families that follow go through the expressions in our firmware, each with the name of its command. Each card shows a detail of the blue front panel with its two screens. The fourteen states in these families are coded; the captions say which ones we have not yet seen running on a screen.
Looking: idle and attention
At rest, the Cube is in “Point Hergé” style: an oval pupil, ink on cream, with its highlight. The gaze jumps to one of eight positions at irregular intervals, the eyelids blink, twice in a row one time in five, and the eyes narrow now and then. None of this carries information: it is the rhythm that says “I am switched on and I have nothing to report”, and the irregularity avoids a metronome effect. After twenty seconds without an event, the upper eyelid comes down halfway and the gaze drops. This is the “upper eyelid” column of the table read backwards, hence falling attention.
Two other states in this family have just been written into the firmware: they compile, but we have not yet seen them on the screens.
Someone approaches
In “Someone approaches”, the eyelid marks a slight beat of anticipation, the eye opens wide, the pupil widens, and the gaze goes off to one side before returning to face front. The state targets attention and novelty. The side is fixed, because the Cube still does not know where the visitor is coming from.
Detection, verification
“Detection, verification” replaces a mock-up in which the gaze swept from left to right: someone pointed out, rightly, that a Cube that detects something should look more suspicious. The eyelids narrow, the upper one slanting a little towards the nose, and the sidelong glance stops on one side and then on the other, slightly downwards, instead of sweeping. This is the table’s frown, hence obstacle and effort, carried over to an eyelid since the Cube has no eyebrows. The mock-up also constricted the pupil, whereas the literature says it dilates with effort. We spotted the contradiction while writing this article, and the firmware corrects it: there, the pupil dilates.
Idle coded
The gaze jumps from one point to another, the eyelids blink, sometimes twice.
command: idle
Drowsiness coded
After twenty seconds of calm, the eyelid comes down halfway and the gaze drops.
command: idle
Someone approaches coded
A beat of anticipation, then the eyes open wide, the pupil widens, the gaze goes off to one side and returns to face front.
command: approach
Detection, verification coded
Suspicious look: eyelids narrowed and slanted, pupil dilated, a sidelong glance that stops on the left, then on the right.
command: scan
Responding: the ring
To respond to an event, the eye changes register. A blink closes the drawn eye, which reopens on a coloured ring, on a black background, for three seconds, then a second blink brings the pupil back. The blink serves here as punctuation, as in the study cited above. We reserve three colours for these reactions, a blue-green (“teal” in the code), a red and an amber, so that they cannot be confused with anything else.
Acceptance and refusal
For acceptance, the ring fills and then leaves an arc, which our notes call “the happy eye”: it is the shape of an eye whose lower eyelid rises, which the table associates with certainty. The command is called accept, and it does just as well for an accepted badge, a completed backup, a conforming part at the end of the line or a game won. For refusal, the red ring is shaken and a slanted eyelid, lower on the nose side, cuts off its top: this is what a frown does to an eye, hence obstacle and falling pleasantness.
The alert and the order received
The alert and the order received owe less to the table than to the conventions of signalling. Flashing amber is a warning light (we have slowed it down on this page, out of consideration for readers’ eyes), and the turning arc followed by the pulse is an acknowledgement, for example for a scene launched from a phone. We wrote the alert for a rewiring, and our notes plan the same one for a power supply cut off for no known reason.
Acceptance coded
The ring fills, then leaves an arc: “the happy eye”.
command: accept
Refusal coded
Red ring, shaken, cut by a slanted eyelid, lower on the nose side.
command: deny
Alert, anomaly coded
Small flashing amber ring. Slowed down here; the firmware flashes twice as fast.
command: alert
Order received coded
An arc turns around the eye, then the ring closes and pulses once.
command: order
Informing: the scenes, and the state of the machine
We added the so-called topical scenes on 17 November, for short videos. They follow the same sequence as the reactions, only longer, with their own colours, since the other three remain reserved. Two of them are nonetheless of more than anecdotal interest. “Do not disturb” shows three pastel arcs, pink, green and gold, that turn slowly and breathe. The absence of a pupil is the message: the Cube is not looking at you. The breathing says it is running, and two half-closed grey eyelids say it is busy, not cross. The three colours are a nod to the GTA VI poster, which is, we are told, the main reason not to be disturbed.
“Parcel” plays out in three stages, green filling for “dispatched”, orange pulsing for “on its way”, pale flashing for “the doorbell rings”; it lasts ten seconds in the firmware and we have shortened it here. The firmware also contains a wink, where a single eye closes, and two other scenes tied to the release of the same game.
That leaves two signs for the state of the machine itself. The project’s written rule was that battery and charging should be read on a ring of LEDs at the back of the Cube, not in its eyes. In the end we chose to show it in the eyes as well, in steel grey, so that it is not confused with a reaction.
Update in progress
During an update, a thin ring serves as a track, a steel-grey arc goes round it, then the ring pulses once: the Cube is not available, and it knows how far it has got.
On reserve
On reserve, a gauge centred at the bottom of the same track shrinks little by little, under heavy eyelids that breathe slowly. These eyelids are grey, the same grey as the gauge, since black eyelids would not show on a black background. A one-off scene is easily missed: since version 1.4.9, a low battery also shows in the gaze at all times, with dark circles under the eyes, then a grey eyeball and a red dot when it has to be recharged. These states are coded and compiled, not yet seen on the screens. They have also used up the palette: each eye’s image is composed in sixteen colours, all sixteen are taken, so a new scene will have to reuse an existing shade.
Do not disturb coded
Three pastel arcs, pink, green and gold, turn slowly and breathe, between two half-closed grey eyelids.
command: dnd
Parcel coded
Green filling: dispatched. Orange pulsing: on its way. Pale flashing: the doorbell rings.
command: parcel
Update in progress coded
On a thin track, a steel-grey arc goes round, then the ring pulses once.
command: update
On reserve coded
On the same track, a steel-grey gauge centred at the bottom shrinks little by little, under grey eyelids that grow heavier.
command: lowpower
Low battery coded
Below 20%, on battery: mauve circles under the eyes, eyelids a little lower, the gaze carries on idling.
command: tired 1
Recharge required coded
Below 8%: grey eyeball, darker circles under the eyes, heavy eyelids, a red dot pulsing in the pupil.
command: tired 2
Two eyes, a single message?
In the fourteen states above, both eyes do the same thing. The firmware drives both screens, which share the same bus and each have only one chip-select wire of their own. When both eyes show the same image, it is sent only once, to both screens together, and when nothing moves, nothing is sent. This is compiled, not yet seen on two screens. The only differences between left and right are the wink, where only the right eye closes, and the slanted eyelids of refusal and detection, which are mirrored. These are also the only cases that need two transmissions.
This symmetry comes from the mock-ups, which drew the same eye twice, and the firmware followed suit. A question came up afterwards: why should one eye not announce a function while the other gives its status?
What the research says
We found no study that tests two robot eyes each carrying different information: the question is open, and what follows is only indirect evidence. On the one hand, very abstract eyes are enough to direct attention. In an online study from 2022, for example, stylised robot eyes trigger a reflexive shift of attention, which photos of human eyes do not, and the authors suggest presenting them in pairs. Two follow-ups by the same team, in 2023 and then in 2025, remain cautious. In the first, stylised eyes do no worse than arrows; in the second, they help people spot the target earlier than with no cue, with no measured effect on performance or on trust.
On the other hand, we are very poor at reading eyes that do not agree. Photographs retouched to simulate strabismus are judged more negatively than the original on eleven character traits, and a 2023 review concludes that this prejudice forms early in life. Admittedly, these are human faces, not drawn pupils, and carrying the result over remains a hypothesis. It is enough, though, for us to think that two pupils at odds would be read as a fault before they were read as two messages.
When the eye becomes an indicator light
That leaves the case where the eye stops being an eye. Now, on a black background, a ring is an indicator light, and research on indicator lights says something else. Well-designed lights help people understand a robot’s state, and in a recent comparison between eyes and icons, static icons are the easiest to interpret, whereas animation inspires more trust. Eyes can also carry content: “Mirror Eyes” show, in the robot’s eyes, a reflection of what it is looking at, and participants spot its errors earlier, but there both eyes show the same thing.
A grammar of three rules
Hence a grammar of three rules, which we put up for discussion rather than assert. As long as there is a pupil, the two eyes form a face: same gaze, same eyelids. Asymmetry, by contrast, is rare and reserved for a gesture everyone knows, the wink. Finally, when the Cube leaves the gaze for the ring, it no longer shows a face but an instrument, and nothing then prevents one eye from announcing while the other measures. This last rule is not coded. The two cards below show the same update in both notations: first the firmware’s, then the variant where the left eye says “I am working” and the right eye says how far it has got. The first rule rests on the literature, at some remove, while the third is our bet.
Both eyes say the same thing coded
The two rings advance together: one face, one message.
command: update
One eye announces, the other measures proposal
On the left, a turning arc: “I am working”. On the right, the gauge: how far I have got.
And how would you read them?
The vote is anonymous: no cookie, no account, only the choice is counted, by the site’s audience measurement. Your browser remembers only that you have voted, so as not to count twice.
The limits, and the opposite risk
We should be clear about what all this is worth. Smith and Scott’s table describes human faces, and the studies we cite were carried out in the laboratory, on people, films or robots that do not look like ours. Admoni and Scassellati’s review itself notes that it is not yet known whether displayed eyes produce the same effects as physical eyes. Carrying these results over to two glowing discs is therefore a design hypothesis, and we have run no user study: we do not know whether a passer-by reads “effort” where we wrote it.
The opposite risk exists too. Since people attribute intentions to two triangles, they will attribute them to two eyes, and an object that seems to feel lets people believe that it understands. It does not. The Cube signals a state, it does not simulate an emotion: “the happy eye” means that the rule said yes, not that the machine is pleased. That is why the reactions leave the drawn eye for an abstract ring, and why we prefer to name the states by what they signal. We do not claim that this is enough.
The code: the eye module, to download
We are publishing the firmware of the small board that drives the eyes: cube-eyes-1.0.0.zip (35 kB, sixteen files). To be precise about what it is: this module only, which is self-contained and knows nothing about the rest of the Cube. It displays the expression it is asked for, so any device able to write a line of text to a serial port can use it. The code and its documentation are in English.
The serial link
Expressions are triggered over a serial link, USB or UART, with the same text protocol on
both: one line per command, an ok or err reply, then an
evt done event when the expression ends. For an acceptance, the exchange takes three lines, the
first sent by the host board, the other two received:
> accept
< ok accept
< evt done accept The wiring
The two screens share all their wires but one, the chip-select wire: the second eye therefore costs only one more pin. If only one screen is connected, it displays the eye whose chip-select wire it is on.
| ESP32-C6-Zero | Goes to | Note |
|---|---|---|
| 3V3 | VCC of both screens | 3.3 V, not 5 V |
| GND | GND of both screens | |
| GPIO22 | SCL of both screens | Clock |
| GPIO21 | SDA of both screens | Data |
| GPIO20 | DC of both screens | |
| GPIO18 | RST of both screens | |
| GPIO19 | CS of the right eye | Wire specific to this eye |
| GPIO14 | CS of the left eye | The only extra wire |
| GPIO17 (RX) | TX of the host board | Optional, 115,200 baud |
| GPIO16 (TX) | RX of the host board | Optional |
| USB-C | Computer | Power, programming, commands |
The licence
We release the module under the GPL, version 3 or later, which can be summed up in one sentence: anyone may use it and modify it, and whoever distributes a modified version must publish its source code under the same licence. The archive contains only our files. The build downloads the libraries it needs by itself: LovyanGFX for the display (two-clause BSD, with parts under the MIT licence), ESP-IDF for the microcontroller (Apache 2.0) and the FreeRTOS kernel (MIT). The Apache 2.0 licence is compatible with version 3 of the GPL, but not with version 2 (in French), hence this choice.
Where we stand.
The firmware compiles. With an earlier version, we saw the idle state and the four reactions on one screen, at around twenty frames per second. The two screens together, the other expressions and the UART link have not yet been seen on the hardware: timings and smoothness therefore remain to be checked. Expressions are triggered over a serial link, USB or UART, but the module has not yet been connected to the rest of the Cube. The “one eye announces, the other measures” variant is only a proposal. The animations on this page are redrawn for the browser: they follow the gestures and colours of the firmware, except where we say we have slowed them down or shortened them.
29 November 2026. Eyes 1.4.9: the tired look complements the one-off “On reserve” animation, which was only seen if you looked at the Cube at the right moment. Below 20% on battery, dark circles and lowered eyelids; below 8%, grey eyeball and a red dot in the pupil. The displayed charge no longer goes below 1%.
Summary
| Interaction | What the eyes do | Target dimension | Status |
|---|---|---|---|
| Idle | Saccades, blinks | Attention | Coded |
| Drowsiness | Eyelid halfway down, gaze low | Falling attention | Coded |
| Someone approaches | Opening, gaze turning | Attention, novelty | Coded, not seen |
| Detection, verification | Slanted eyelids, sidelong glance | Obstacle, effort | Coded, not seen |
| Acceptance | Ring that fills, then an arc | Certainty | Coded |
| Refusal | Red ring, slanted eyelid | Obstacle | Coded |
| Alert, anomaly | Flashing amber ring | Novelty | Coded |
| Power cut | The same amber alert | Novelty, obstacle | Coded, to be connected |
| Order received | Turning arc, then a pulse | Attention | Coded |
| Do not disturb | Three turning pastel arcs | Control | Coded, not seen |
| Parcel | Green, orange, then pale | Certainty | Coded, not seen |
| Wink | A single eye closes | Pleasantness | Coded, not seen |
| Update in progress | Steel-grey arc going round | Certainty, control | Coded, not seen |
| On reserve | Shrinking steel-grey gauge | Falling control | Coded, not seen |
| Low battery | Dark circles, lowered eyelids, at all times | Falling attention | Coded, not seen |
| Recharge required | Grey eyeball, darker circles, red dot in the pupil | Falling control | Coded, not seen |
Sources
Expressions, gaze and movement
- C. Breazeal, Emotion and sociable humanoid robots, International Journal of Human-Computer Studies, 2003: its Table 1 reproduces Smith and Scott’s correspondence. We read it in the version deposited by the author.
- C. A. Smith and H. S. Scott, A componential approach to the meaning of facial expressions, in The Psychology of Facial Expression, Cambridge University Press, 1997: the source of the table.
- H. Admoni and B. Scassellati, Social Eye Gaze in Human-Robot Interaction: A Review, Journal of Human-Robot Interaction, 2017 (DOI 10.5898/JHRI.6.1.Admoni): types of gaze, on-screen eyes, open questions.
- F. Heider and M. Simmel, An Experimental Study of Apparent Behavior, The American Journal of Psychology, 1944: intentions attributed to moving geometric shapes.
- M. Mori, The Uncanny Valley, 1970 essay translated by K. F. MacDorman and N. Kageki, IEEE Spectrum, 2012: the recommendation of a non-human design.
- J. Lasseter, Principles of traditional animation applied to 3D computer animation, SIGGRAPH 1987: timing and anticipation, among other principles.
- T. Nakano and colleagues, Synchronization of spontaneous eyeblinks while viewing video stories, Proceedings of the Royal Society B, 2009: blinks held back during the action, released at the pauses.
- S. Mathôt, Pupillometry: Psychology, Physiology, and Function, Journal of Cognition, 2018: what constricts the pupil and what dilates it.
- Amazon, Meet Astro, a home robot unlike any other, 2021, and the repository of the open-source project Stack-chan: two examples of eyes displayed on a screen.
The question of the two eyes
- L. Onnasch and colleagues, Frontiers in Robotics and AI: Humans Can’t Resist Robot Eyes (2022) and The potential of robot eyes as predictive cues in HRI (2023); L. Naendrup-Poell and L. Onnasch, Predictive robot eyes enhance attentional guidance, Scientific Reports, 2025: abstract eyes as directional cues, compared with arrows.
- S. E. Olitsky and colleagues, The negative psychosocial impact of strabismus in adults, Journal of AAPOS, 1999, and J. C. Dohlman, D. G. Hunter and G. Heidary, The Impact of Strabismus on Psychosocial Equity, Seminars in Ophthalmology, 2023: the prejudice against misaligned eyes.
- K. Baraka and M. Veloso, Mobile Service Robot State Revealing Through Expressive Lights, International Journal of Social Robotics, 2018; M. Ebisu and colleagues, See What I Mean? Expressiveness and Clarity in Robot Display Design, 2025; M. Krüger and colleagues, Mirror Eyes: Explainable Human-Robot Interaction at a Glance, 2025: lights, icons and eyes to convey a robot’s state.
Code and licences
- Free Software Foundation, GNU General Public License, version 3, and its annotated list of licences (in French), for compatibility with the Apache 2.0 licence; the repositories of LovyanGFX and ESP-IDF and the FreeRTOS website: the libraries the module depends on.
On this blog
- Why a cube, and not one more screen: the shape of the Cube, and the place of the eyes on its front panel; Night Round: the small game that explains the Cube without a Cube; Making a connected device last: what ages inside an enclosure, and what needs to be monitored in service.
A question, an objection? contact@ops-devices.eu, or on Bluesky.