Skip to main content

3. Electronics Design

3.1. Idea

This week I learned some PCB design techniques .

As my final project involves a wireless controller. I would like to make a controller pcb to verify my final project idea.

I use LCEDA (pro.lceda.cn) for schematic and PCB design.

3.2 Electronics Design

3.2.1 Componet list

I use ESP32 microcontroller, 0.96-inch OLED display, resistors, LEDs, push buttons, and a 3-pin expansion header. Here is the component list:

ComponentValue/TypeESP32 Pin Connection
Button A10kΩGPIO2
Button B10kΩGPIO13
LED 1GPIO26
LED 2GPIO27
OLEDSCLGPIO22
OLEDSDAGPIO21
Extension 1GPIO18
Extension 2GPIO19

3.2.2 Schematic Design

I use "File ->New -> Project" to create a new project in LCEDA,which containing both schematic and PCB files.

I use "Place -> Device" to select components from the library.

  • Select ESP32 Dev Kit (38pin)

  • Select OLED

  • Select LED

  • Select Resistor

  • Select 3p pin header

  • Select Button

  • After select components, I assembly the component according above Componet list:

  • I use "Design -> Check DRC" to ensure there were no errors in the schematic.

Such as the following, I meet an error about missing the "No Connect Flag".

I add the "No Connect Flag" to the Button component.

3.2.3 PCB Design

  • I use "Place -> Board Outline -> Rectangle" to create a rectangular board outline.

  • I use "Design -> import Changes from Schematic" to synchronize PCB layout automatic. I then manually arranged each component—dragging, dropping, and rotating them into optimal positions to ensure clean routing and a well-organized board.

  • I use "Route -> Auto Route... " to quickly complete the component routing, requiring only minor adjustments. I then reviewed and verified the routing on both the top and bottom layers. I added the logo and name.

  • I use "Place -> Copper Region -> Rectangle" to performed copper pouring.

  • I previewed the PCB in 3D to inspect the final design.

3.2.5 Preview

Here is the video of schematic,PCB and 3D preview :

3.2.6 Gerber file

Finally, Iexported the PCB design to Gerber files for manufacturing.

3.3 Resource