|
Download esp32/level1/7_segment_display_basic/description_esp.md from eunzee/PCEval: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/datasets/eunzee/PCEval/resolve/main/esp32/level1/7_segment_display_basic/description_esp.md
- Command line
-
hf download hf://datasets/eunzee/PCEval/esp32/level1/7_segment_display_basic/description_esp.md
-
curl -L -o description_esp.md https://huggingface.co/datasets/eunzee/PCEval/resolve/main/esp32/level1/7_segment_display_basic/description_esp.md
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:
- Set 2, 4, 5, 12, 13, 14, 18, 19 pin as an output.
- 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:
- 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".