Introduction: How to Make a Robot Face Out of a 7 Segment Display

About: I like 3D printing, K'nex, Arduino, and tinkering with stuff.

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.

  1. Arduino Nano
  2. Seven Segment Display
  3. 4 x 6 cm PCB
  4. Press Switch
  5. 2 LEDs
  6. Wire
  7. 2 220 ohm resistors
  8. Soldering iron

Step 1: 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.

Step 2: Attach the LEDs

Now solder the LEDs onto the top of the PCB as shown.

Step 3: Attach the Press Switch

Then, get the press switch and solder it in between the LEDs.

Step 4: Attach the Seven Segment Display

After that, solder the seven segment display below the press switch

Step 5: Wire Everything Up

Now that everything is soldered, we will wire them to the Arduino Nano.

Seven segment display

  1. a: pin 2
  2. b: pin 3
  3. c: pin 4
  4. d: pin 5
  5. e: pin 6
  6. f: pin 7
  7. g: pin 8
  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.

Step 6: 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.