16. System integration¶
Hero Shot¶
Assignment :
- Design and document the system integration for your final project
Individual assignment¶
Final board design¶
Production¶
I started this week by designing a new board with an ESP32-WROOM32-UE chip because I was unlucky with the XIAO ESP32. I had some difficulties designing the regulator part even copying Neil’s example but with help of Jean-Come documentation and Luc’s advices, I could figure it out. I designed the board for the rotary encoder to be on an edge and I try to make it as small as I could. I decided to use the internal pull up resistor for all my switch to make he design easier. For the same purpose I put aside all the LEDs I wanted in. I could add them later if I find time.
Milling went almost perfectly. Testing the board with the multimeter, I found out some connections between paths I couldn’t see bare eyes. I corrected them with the sonic blade.
I then prepared all the materials for soldering. I had a doubt on a 10µF capacitor so I used a Smart Tweezer to test it.
I delayed the soldering to advance on the system integration.
BOM¶
Nb | Element | Link | Price | Remarks |
---|---|---|---|---|
1 | Micro-controller ESP32-WROOM-32UE | |||
1 | KY-040 Rotary Encoder | |||
5 | Rocker Switch | https://www.sparkinter.com/pdf/230203-0060103.pdf | Cut-out 19x13mm | |
1 | Button | |||
1 | Regulator 3.3V 1A | |||
1 | vertical connector SMD 1x05 2.54mm | |||
1 | horizontal connector SMD 1x06 2.54mm | FTDI | ||
1 | vertical connector SMD 2x05 2.54mm | switches | ||
1 | resistor 10k | |||
1 | resistor 1K | |||
1 | LED Clear Blue | |||
2 | resistor O ohm | |||
1 | capacitor 0.1 uF | |||
1 | capacitor 1 uF | |||
1 | capacitor 10 uF | |||
1 | switch slide | |||
10 | cable | |||
1 | CCL FR1 |
3D Modeling¶
Having the final design for my board, I could design the device around it. Until now I wasn’t sure of the minimum size I could have. I wanted to import a 3d model from Kicad into Fusion but it’s not possible. I used an SVG export of the bord to modelize a simplified version but I also had to find tricks because Fusion convert SVG and lose the size of it. I also designed a battery holder.
Printing¶
I printed the battery holder several times to find the right size. I got to break the first one to get battery out of it. The second one was also too tight and the third one with 2mm clearance should be fine (maybe a bit loose). I still have to make the connecting parts.
Cutout and alignment test¶
To be sure of the alignement of the rotary encoder and the cut-out for the switches (I couldn’t find the exact datasheet but I found one close enough), I made some test by lasercutting part of the desisgn and by printing small parts.
Final result¶
Here’s the final result.
I think it can have some improvement. Fornow I think of taping the board and the battery holder but I could add some clamps in it.
Project Overview¶
I also work on a draw project overview that needs to be improved.
Class Archive¶
- Board Schematics File
- Board PCB File
- Board Modified SVG (traces and edgecuts)
- Battery Holder STL File
- Rocker Switch Cutout Test STL File
- Alignment test DXF File
- Final project F3D File
Impressions of the week¶
This week permits me to make good progress on my final project. I had a quite precise idea of the system but didn’t took time to design all the parts. Having the dimension of my board and defining the power supply permits me to set all the parts together and to resolve or figure problems I didn’t anticipated (alignements, fixturing).