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

IMG_0401.JPEG
IMG_0401.JPG
IMG_0402.JPG
IMG_0403.JPG
IMG_0404.JPG

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

IMG_0243.JPG
IMG_0244.JPG
IMG_0246.JPG
IMG_0248.JPG
IMG_0249.JPG
IMG_0250.JPG
IMG_0396.JPG

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

Attach the Arduino Nano

IMG_0251.JPG
IMG_0253.JPG
IMG_0254.JPG
IMG_0256.JPG

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

IMG_0257.JPG
IMG_0258.JPG
IMG_0259.JPG

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

Attach the Press Switch

IMG_0260.JPG
IMG_0261.JPG

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

Attach the Seven Segment Display

IMG_0265.JPG
IMG_0267.JPG
IMG_0266.JPG

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

Wire Everything Up

IMG_0326.JPG
IMG_0327.JPG
IMG_0329.JPG
IMG_0330.JPG
IMG_0332.JPG
IMG_0333.JPG
IMG_0334.JPG
IMG_0335.JPG
IMG_0336.JPG
IMG_0337.JPG
IMG_0339.JPG
IMG_0397.JPG
IMG_0399.JPG

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.

The Code

IMG_0400.JPG

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.