Skip to the content
2 layers68.6 × 53.3 mmELEG298 S23 Demo shield, the printed circuit board in 3D

These are for the humidity collector I created

Size
68.6 × 53.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
31
Nets
39
Pads
70
Tracks, vias
60, 0
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
7 Apr 2024
Updated
12 Jun 2025

Overview

ELEG298 S23 Demo shield is an open-source printed circuit board by adeyem1Ekund4, from the adeyem1Ekund4/cpeg298-finalProject-udel repository on GitHub. It is a 2-layer board of 68.6 × 53.3 mm with 31 parts on 39 nets, routed with 60 tracks and 0 vias.

Its parts include 7 resistors, 4 connectors, 2 capacitors, 2 diodes and 1 IC. It belongs with the ESP8266 boards of this library.

README

README.md

Internet of Things Device for Humidity Sensor: Iot THS

The primary goal of the project is to read temperature and humidity data from the DHT20 sensor, process this data, and then send it to a server or cloud service (implied by the Adafruit IO setup) via the ESP8266.

Schematic

Screenshot 2024-04-06 230513

THS PCB View

Front

ELEG298_S23_Demo_shield_front

Back

Screenshot 2024-04-06 225916

Arduino Code

The code sets up various parameters such as WiFi credentials, pins for LEDs, temperature thresholds, and initializes the DHT20 sensor.

In the setup() function:

The DHT20 sensor is initialized. Pins 12 and 13 are set as output pins for LEDs. Serial communication is started at a baud rate of 9600. The ESP8266 module is initialized using software serial communication. Various commands are sent to the ESP8266 module to set up WiFi connection, Adafruit IO credentials, and start the IoT connection. If the connection to Adafruit IO fails, the program enters an infinite loop. In the loop() function:

The code reads data from the DHT20 sensor every second. The temperature and humidity values are obtained from the sensor. The temperature value is sent to the ESP8266 module for further processing. Based on the humidity level, different LED patterns are displayed. The sensor data along with the status of the sensor reading is printed to the serial monitor. The espData() function is used to send commands to the ESP8266 module and receive responses. It waits for a response within a specified timeout period and returns the response as a string.

Adafruit Hub

image

Future Changes

For the program, to improve readability and maintainability, break down the code into multiple functions, such as moving LED control logic into a separate function. Avoid using delays in the loop, as they can block other operations and affect system responsiveness. Improve error handling, especially for Wi-Fi and Adafruit IO connections, and provide alternative actions or retries in case of failure. Avoid hardcoding sensitive information and consider external methods for secure input. Restructure the espData function to be more efficient and reliable, and implement a feedback mechanism from the server/cloud to the Arduino for more interactive control. For battery-operated projects, use power-saving techniques to extend battery life. Add checks to ensure data read from the DHT20 sensor is within reasonable bounds before sending it to avoid transmitting erroneous data.

Parts

31
QtyValueFootprintReferences
10LOGOLOGOG***, G***, G***, G***, G***, G***, G***, G***, G***, G***
4MountingHole_3.2mmArduino_MountingHole:MountingHole_3.2mmMH1, MH2, MH3, MH4
31kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2, R5
24.7kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR6, R7
2C_Polarized_USCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC1, C2
2LEDLED_THT:LED_D5.0mmD1, D2
110kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR3
1110990030110990030:SEEED_110990030TempSENSOR1
12kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR4
1AnalogConnector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ3
1Digital/PWMConnector_PinSocket_2.54mm:PinSocket_1x10_P2.54mm_VerticalJ2
1Digital/PWMConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ4
1ESP8266-01/ESP-01ESP8266-01_ESP-01:XCVR_ESP8266-01_ESP-01U1
1PowerConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ1

Similar boards

  • 2 layers44.5 × 46.9 mmOSO SWAT B1-jig, the printed circuit board in 3D

    OSO SWAT B1-jig

    joeycastillo/Sensor-Watch

    A board replacement for the classic Casio F-91W wristwatch

    31 parts2.1k
  • 2 layers65 × 30 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    31 parts1kGPL-3.0
  • 2 layers191 × 98.5 mmMacroKeypad, the printed circuit board in 3D

    MacroKeypad

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    31 parts915
  • 2 layers39 × 45.2 mmCH32V003F4P6-R0-1v1, the printed circuit board in 3D

    CH32V003F4P6-R0-1v1

    openwch/ch32v003

    CH32V003 is an ultra-cheap RISC-V MCU with 2KB SRAM, 16KB flash, and up to 18 GPIOs that sells for under $0.10

    31 parts599
  • 2 layers26.7 × 27.9 mmBreakout board, the printed circuit board in 3D

    Breakout board

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    31 parts546MIT
  • 2 layers100 × 50 mmPixelix, the printed circuit board in 3D

    Pixelix

    BlueAndi/Pixelix

    Full RGB LED matrix, based on an ESP32 and WS2812B LEDs or emulated LEDs on TFT.

    31 parts447MIT
  • 2 layers77.2 × 69.8 mmCubesatsim solar, the printed circuit board in 3D

    Cubesatsim solar

    alanbjohnston/CubeSatSim

    CubeSatSim, the AMSAT CubeSat Simulator

    31 parts419GPL-3.0
  • 2 layers103 × 55 mmTd neck-294, the printed circuit board in 3D

    Td neck-294

    tdaede/td-crt

    tubes

    31 parts373

Questions

How big is the ELEG298 S23 Demo shield PCB?

It measures 68.6 × 53.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the ELEG298 S23 Demo shield use?

31 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the ELEG298 S23 Demo shield KiCad files?

From the adeyem1Ekund4/cpeg298-finalProject-udel repository on GitHub, at the commit this page was made from: the board is ELEG298_S23_Demo_shield/ELEG298_S23_Demo_shield.kicad_pcb and its schematic ELEG298_S23_Demo_shield/ELEG298_S23_Demo_shield.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ELEG298 S23 Demo shield design in my own project?

Its repository states no licence, so its author keeps all rights: ask adeyem1Ekund4 before reusing the design.