How to Make a Robot Face Out of a 7 Segment Display
by Splat in Circuits > Arduino
54 Views, 1 Favorites, 0 Comments
How to Make a Robot Face Out of a 7 Segment Display





This project is a cool idea that uses a seven segment display to make a robot face. It can make 4 different expressions, so it is not a good as an OLED display, but it is cheaper and easier for beginners to make.
Supplies







Here are the supplies that you will need to make the robot face.
- Arduino Nano
- Seven Segment Display
- 4 x 6 cm PCB
- Press Switch
- 2 LEDs
- Wire
- 2 220 ohm resistors
- Soldering iron
Attach the Arduino Nano




We will start by attaching the Arduino Nano to the PCB.
If you are using a 4 x 6 cm PCB, you will have to remove the VIN and TX1 pins as shown. Then solder it onto the bottom of the PCB.
Attach the LEDs



Now solder the LEDs onto the top of the PCB as shown.
Attach the Press Switch


Then, get the press switch and solder it in between the LEDs.
Attach the Seven Segment Display



After that, solder the seven segment display below the press switch
Wire Everything Up













Now that everything is soldered, we will wire them to the Arduino Nano.
Seven segment display
- a: pin 2
- b: pin 3
- c: pin 4
- d: pin 5
- e: pin 6
- f: pin 7
- g: pin 8
- ground: GND
Press switch: pin 9
LEDs: pin 10
Solder the ground pin of the seven segment display to the GND pin of the Arduino Nano via a 220 ohm resistor, and the anodes of the LEDs to pin 10 via a 220 ohm resistor.
The Code

Below is the code for the robot face. Once you upload it to the Arduino Nano The robot face should work.
How to use: Press the nose (press switch) to change what face the robot face is making.