Electronics Design

Hero Shot

Learning Experience

I studied Electronics Design this week, where I discovered how to utilize an EDA (Electronic Design Automation) tool to make a development board. I also used test tools like an oscilloscope and multimeter to examine a microcontroller circuit board. My comprehension of PCB design principles, component placement, and circuit debugging has improved as a result of this experience.

Key Accomplishments

✅ Utilized KiCad 9.0 to design a PCB and create files for fabrication.
✅ Examined microcontroller circuits to comprehend connections and signal flow.
✅ Employed test instruments (oscilloscope, multimeter) for signal analysis and debugging.
✅ For circuit design, the right electronic components were chosen from stock.

Task: Electronics Design

Group assignment

  • Use the test equipment in your lab to observe the operation of a microcontroller circuit board
  • Demonstrate the use of a multimeter and oscilloscope
  • Document your work on the group work page and reflect on your individual page

Individual assignment:

  • Use an EDA tool to design a development board
  • Ensure the design uses parts from the inventory to interact and communicate with an embedded microcontroller
About Electronic Design

Electronic design is the process of selecting and combining various electronic components—such as resistors, capacitors, ICs, and transistors—to create a working circuit or device.

  • Selecting and connecting components to meet specific requirements.
  • Designing each part of the circuit to ensure proper functionality.
  • Using computer software to plan, simulate, and test the design.
  • Voltage - the electric potential between one place and another. How much the electricity wants to move from one point to another. Measured in volts.

    Current - the current flow from one point to another, literally based on how many electrons are moving per second. Measured in amps

    Power - work that is being done per second. In circuits, this usually means the amount of heat given off by a circuit. Measured in watts, or joules per second.

    Energy - total amount of work done. There is no time component for this, which is the differentiator between power and energy. Measured in joules. These are clarified more later in this tutorial.

    More info click the link
    About Electronic Components
    • Resistor: Limits the flow of electrical current in a circuit.
    • Capacitor: Stores electrical energy in an electric field.
    • Diode: Allows current to flow primarily in one direction.
    • Transistor: Amplifies or switches electronic signals and electrical power.
    • MOSFET: A type of transistor that controls current flow using an electric field.
    • Sensors: Detect changes in the physical environment and convert them into electrical signals.
    • Actuators: Convert electrical signals into mechanical motion, enabling machines to perform physical tasks.
    Types of Electronic Components
    • Based on Mounting Type:
      • SMD (Surface Mount Device): Components are mounted directly onto the surface of the PCB.
      • Through-hole: Components are inserted into holes on the PCB and soldered on the opposite side.

    • Based on Functionality:
      • Active Components: These components can actively control the flow of electricity, provide gain, or generate signals. They usually require an external power source to function.
      • Passive Components: These components do not control the flow of electricity actively. They do not require an external power source to function and do not provide gain or generate signals.
    PCB Design Tools
    • KiCAD: A free and open-source tool for PCB design, offering a complete workflow from schematic capture to PCB layout and Gerber file generation.
    • Eagle: A widely used PCB design software, especially popular in the maker and hobbyist communities. It offers comprehensive features for schematic capture and PCB layout.
    • TinkerCAD: A free, browser-based platform that offers 3D modeling, simulation, and basic electronics design.

    Why I Chose KiCAD
    • Open-source: KiCAD’s open-source nature means it benefits from a robust community that continuously contributes to its development.
    • Complete Workflow: It offers everything needed for PCB design, from schematic capture to layout and file generation.
    • Advanced Features: KiCAD supports complex designs and includes an excellent 3D viewer to help visualize the final PCB and ensure mechanical fit.

    About the KiCad

    KiCad is an open source software suite for Electronic Design Automation (EDA). The programs handle Schematic Capture, and PCB Layout with Gerber and IPC-2581 output. The suite runs on Windows, Linux and macOS and is licensed under GNU GPL v3.

    KiCAD Download Process
    KiCAD Home Page
    • Begin by visiting the official KiCAD website to access the download section.
    KiCAD Download Options
    • Select and download the version of KiCAD that is compatible with your operating system (Windows, macOS, or Linux).
    GitHub Page
    • For further installation steps or updates, click on the GitHub link to access additional resources.
    Steps to Download the Fab Library

    In our Fab Academy course, we were introduced to the Fab Library, a crucial resource that contains all the components required to design a printed circuit board (PCB). By installing this library, we ensure that all the necessary components are available in the design software, making the design process more efficient. The library is specific to the components you need for your project, which is why I downloaded the Fab Library for my assignment.


    Search for Fab Library
    • Begin by searching for "Fab Library" on your preferred search engine.
    KiCad GitLab Fab Cloud Link
    • Click on the link to the KiCad GitLab Fab Cloud repository.
    Fab Library GitLab Page
    • Once on the page, locate and click the "Code" button, and then select "Download ZIP" to obtain the library files.
    Download ZIP Option
    • Choose the "Download ZIP" option, and extract the ZIP file to a convenient location on your computer.
    KiCAD PCB Design

    I began my journey in PCB design by utilizing the RP2040 microcontroller. In this project, I incorporated a variety of components, including three 4-pin connectors, an LED, and a switch.

    I launched the KiCad software to kickstart the design process.

    A new project was created to initiate the schematic design phase.

    I specified the project file name and saved it to ensure proper documentation.

    The schematic editor was opened directly from the KiCad main window to begin placing components.

    The schematic page was successfully launched, and I started placing the components as needed.

    To enhance the schematic, I navigated to the Preferences menu and selected 'Manage Symbol Libraries.'

    I accessed and browsed the external symbol library file for additional components.

    I successfully loaded the `Fab.kicad_sym` file from the Fab Library to incorporate the necessary symbols.

    The Fab Library was successfully loaded, and I confirmed the process by clicking 'OK.'

    After loading the symbol library, I selected the symbol icon to begin placing the components on the schematic.

    Once the symbol library was loaded, all required components became available for placement.

    I selected the necessary components, including the RP2040 microcontroller, connectors, LED, and switch.

    The schematic diagram was completed by placing and connecting all the selected components.

    I conducted an Electrical Rule Check (ERC) to identify and resolve any potential schematic errors.

    Once the schematic was complete, I opened the PCB Editor to begin the board layout design.

    I ran the Design Rule Check (DRC) to ensure that the design met the necessary spacing and layout standards.

    The PCB layout was inspected in 3D mode to verify its accuracy and check for potential issues.

    I used the 'Plot' function to generate the output files required for manufacturing the PCB.

    Gerber files necessary for PCB fabrication were generated successfully.

    All layers were thoroughly verified in the 'Plot' window before exporting the design files.

    I exported the SVG files for further use in the fabrication process.

    After confirming that all necessary layers were plotted, I saved the output files for future use.

    All output files were saved in the project folder for future reference and fabrication needs.

    SVG format of the PCB design was successfully generated.

    The Edge Cut SVG format was also prepared for final output.

    PCB Connections and Debugging Features
    Pin Connected To Description
    D0 Switch SW1 Input
    D1 LED D1 Output
    D6 Header J1 Pin 2 Debug/External IO
    D7 Header J1 Pin 1 Debug/External IO
    D2, D3 Header J3 Extra GPIO / Debug
    D4, D5 Header J2 Extra GPIO / Debug
    3V3 All Headers Power Output
    GND All Headers Common Ground
    Tools I Used
  • Design Tools: KiCad
  • Library: FAB LIBRARY
  • Concept by me structured by ChatGPT.