Conversation Face
You are alone? Maybe in quarantine? Need someone to talk to? Or just a friendly listener? Or do you want to have a nice argument? Your robot needs a cute face?
Conversation face can help you.
Supplies
Arduino nano/Wemos D1 32 or any other Arduino
3x OLED 0.96‘‘ Displays
electret microphone
breadboard & wires / circuit board
cardboard/ hard paper
How Does Conversation Face Work?
You can use almost any type of Arduino: Mega, Nano, ESP8266, ESP32. I chose a Wemos D1 ESP32: I just had it there and you can plug the circuit board nice and compact.
Movement of the eyes is controlled by a random generator. The eyes themselves are very simple graphic figures. For blinking, an invisible white circle sweeps across the pupils. The control signals for both eyes are identical. For a more real effect, the pupils would have to look very slightly inward.
The electret microphone attached in the center controls whether the mouth is allowed to speak or not.
Sound is not (yet) provided for this project!
Preparation of the Displays
All displays can use the same I2C port (SCL, SDA). The eyes both show the same thing. The mouth, however, must be addressed separately. In the sketch the OLEDs are named display1 (eyes, address 0x3C) and display2 (mouth, address 0x3D). To change the address of the mouth, the SMD resistor on the backside has to be re-soldered.
Assembly - Soldering or Plugging
You can solder the face on a PCB, like I did it. Then you have everything compactly together. Or you plug all quickly with the help of a breadboard (see at step 1).
Software
Load the software ConversationFace.ino onto your microcontroller via Arduino IDE. Don't forget to change the settings for your type of Arduino and set the port.
In the sketch you can choose between two functions, depending on what you prefer:
In the subprogram void mouthmove() you can select
// if face should be silent when you talk * * * * * * * * * *
// if face should talk when you talk = = = = = = = = =
Downloads
The Face
Print the face template and cut out the eye holes and mouth opening. Cut and glue the edges of the face as shown in the picture.
Downloads
Conclusion
The funny thing is: Depending on your settings, conversation face only talks when you are silent or constantly interrupts you when you are talking.
Have a good conversation!