Group Work :
individual assignments:
Make and test a microcontroller development board that you designed
Specifications:
Properties:
Substrate: It's a thermoset plastic laminate made from woven fiberglass cloth bonded with an epoxy resin that is treated to be self-extinguishing.This creates a strong, rigid, and very good electrical insulator.
Copper-Clad Layer: This is a thin layer of copper foil that is laminated (bonded under heat and pressure) onto one side only.
Board Thickness: 1.5mm (standard thickness for many PVB applications)
I had fininshed the PCB design on week 6, so firstly, I need to prepare the Gerber file from Kicad.
Go to File -> Fabrication Outputs -> Gerbers (.gbr)
Select the layers that you want to export.After that the Gerber files will appear in the designated folder.
Next,convert the Gerber files to PNG files using Gerber2PNG
,make sure to upload the whole zip file not the single gerber file.
After generated the output files will appear on the right side of the screen,then you can download them separately including the outline file and the traces file.
If the trace file is correct the traces should appear white, and the backgroud should be black. If you upload the single Gerber file, the trace file will not appear to black and white and cannot generated,only the outline file will appear.
I also tried the other tool that canbe used to convert Gerber file into SVG file,GerbView
Next step, we should convert the PNG files to G-code file using Mods Project
Both files should be as the input for Mods.This tool works with both SVG (top section) and PNG (bottom section).
Select the outline png file, it will appear in the preview like this:
Set the PCB milling preset: Choose “40°#502 V-bit”
In Mill Raster 2D, click “calculate” to generate the G-code, then you can see the 3D view like below,then Click “save file” to download the G-code.
After prepareing the G-code file, we need to upload the file to the CNC machine and run the program.
First, fix the copper plate onto the machine bed.
Then reset the coordinates to zero.
Since we manually moved the axes, the coordinates are no longer zero. Press “手动” (Manual) to display coordinates:
Press “置零” (Set Zero)then click confrim, repeat for X, Y, and Z until all values are zero:.
Select the file to start milling. Press “运行” (Run) to select the file, I chose the trace file first then change the dill for the outline file carving.
After milling the PCB board, we need to assemble the board using solder paste or solder wire, placed the components on the board and solder them together. After fninshing the buttons,leds,resistors and XiaoESP32, the PCB board is ready,but I need to test the board is working or not. So I Used a multimeter to check whether the circuit on the PCB is functioning properly and if there are any short circuits.
I also tried to use EasyEDA, to create a new PCB design and to convert the Gerber file to PNG file,to see the differences and the comments by using the Kicad and EasyEDA(嘉立创EDA). Because I'm worried my own will not working well, and I want to send to the factory to see the difference.
Gerber source file designed by EasyKAD: week8 Gerber File
Gerber source file designed by Kicad: week8 Gerber File