6. Electronics design
Overview of week 6 assignment
- Group assignment Use the test equipment in your lab to observe the operation of a microcontroller circuit board
- Individual assignment
Use an EDA tool to design a development board that uses parts from the inventory to interact and communicate with an embedded microcontroller.
Extra credit: try another design workflow
Extra credit: design a case for it
1. Group assignment
For more information, see the Week 06: Group assignment page.
Don't put microcontrollers on Mac
To prevent the terminals from shorting out on your Mac's metal casing, don't place microcontrollers or other electronic components on top of your Mac!
2. Individual assignment
A. EDA tool
At FabLab Kannai, we learned through designing development board for RP2040, using Fusion Electronics because of the convenience of having good integration with CAD, CAM, etc.
Ref. Electronics overview
Fusion Electronics expands Fusion’s capabilities for electronic design, integrating a real-time schematic workspace with the PCB workspace. It supports SPICE-based simulation, Design Rule Checks (DRC), and exports designs via a CAM Processor for manufacturing compatibility.
Step 1: Fusion Electronics
- Create a folder before designing: Data Panel > New Folder
- File > New Electronics Design
-
Essentially, 4 files will be created:
- Electronics design: it integrate the following electronics design elements
- Schematics: Conceptual diagram without actual parts placement
- PCB layout: Physical layout of electronic components (2D)
- 3D PCB design (Optional): 3D layout of electronic components for hardware engineering
PCB (Printed Circuit Board) is a rigid board with conductive traces connecting electronic components, used in devices. It consists of a non-conductive base (e.g., fiberglass) with conductive traces. Components such as resistors and transistors are soldered onto the board to form a circuit.
- Electronics design: it integrate the following electronics design elements
Step 2: Library
- Collect components from Library: Library > Open Library Manager
- Check what libraries are used by toggle the "In use"
- Download the library files (.flbr)
- Upload them to a specific Fusion folder
Step 3: Schematics
- Electronics Design > New Schematics
- Search and place components:
- At the right panel > PLACE COMPONENTS > Filter (this case, XIAO)
- Double click it > Place in the schematics (often it first appear behind the "ADD" panel)
- Place all the components
- Design > Modify > Move and rotate
-
Draw nets, names, labels:
- Design > Connect > Net
- Design > Connect > Name (Connect components by setting a same name)
- Design > Connect > Label
Net is an electrical connections or paths that link components on PCB
Name is a formal, unique identifier used for referencing elements in design files and systems (e.g., R1, R2, NET1)
Label is a visual representation in the design, helping to make the schematic more readable (e.g., VCC, GND) -
Set values and organize
- Modify > Value
- Select components > Right click > New Group
- Document > Draw > Line and Text (Lines and text for readability)
- PLACE COMPONENTS > Frame (if frames are not shown, check the Library Manager)
Step 4: PCB
- Schematics > SWITCH > Switch to PCB document
- Initially, all the components are not organized
-
RULES > Design Rules > Custom
- Copper Clearance > Minimum > 17 mil
- Drill Size > Minimum > 0.8 mm (default unit is inch, but it automatically align units by adding "mm")
- Copper Width > Minimum 16 mil
mil: 1/1000 inch ≈ 0.0524 mm
-
DESIGN > Route
- ROUTE > Route Manual
- QUICK ROUTE > Autorouter (didn't work well, not suitable for small PCB)
- UNROUTE > Unroute and Unroute All to delete routes
-
RULES > Check Design Rules
- At the right panel > ERRORS > Errors > Air Wire
(It wasn't connected properly. I should have routed to where the small cross mark appeared.)
- At the right panel > ERRORS > Errors > Air Wire
-
DOCUMENT > DRAW > Dimension (to estimate overall size of the PCB)
Step 5: Push to 3D
-
SWITCH > Push to 3D PCB
3D components are missing due to the library issue.
Step 6: Design of enclosure
-
File > New Design
- On the Data Panel > Right click "PCB_3D" > Insert into current Design
- New sketch for the PCB outline
- Design enclosure based on the PCB dimensions
- On the Data Panel > Right click "PCB_3D" > Insert into current Design
-
Update the PCB outline matched to the enclosure
- On the PCB_3D component > Edit In Place (Click the pencil icon)
- PCB_3D > Sketches > Outline > Edit Sketch > Delete the sketch! (Warning appears)
- Go to the history panel at the bottom > Edit Board
- Select the new sketch from "Enclosure"
3. Files
Afterthoughts
- I need to learn basics of electronics.
- PCB routing is kind of fun.