PCEval / esp32 /level1 /7_segment_display_basic /description_esp.md
eunzee's picture
upload Arduino Uno and ESP32 project files
8e53a3e verified
|
Raw History Blame Contribute Delete
1.16 kB

One Digit 7-segment Display

Project Description

This is an ESP32 project that show number 5 with digit 7-segment display.

Hardware Components

  • ESP32 DevKit v1
  • 330Ω resistor * 8
  • 7-segment display

Circuit Description

Circuit is designed to use a 7-segment display. The 7-segment display is a common anode type, so the common pin is connected to 3V3. The A to G and DP pins are connected to Arduino digital pins 2, 4, 5, 12, 13, 14, 18, 19 through 330-ohm resistors.

Expected Behavior

When the ESP32 powers up, it should:

  1. Set 2, 4, 5, 12, 13, 14, 18, 19 pin as an output.
  2. Taking into account that the display is common anode, set the corresponding pins to HIGH or LOW so that the number 5 appears on the 7-segment display.

Success Criteria

The test is successful when:

  1. The number 5 appears on the 7-segment display.

Notes for Implementation

  • Use Arduino.h library for arduino core.
  • The 7-segment display is a common anode type.

Variants

This project may have different variants with the segment pins connected to the different pins.

Attributes

  • To use 330Ω resistor, set the property name "value" to "330 ohm".