Week 16. System Integration¶
Assignment:
- Design and document the system integration for your final project.
Idea & Sketch¶
Smart Door Monitoring System is my final project idea that blends the concepts of vision and surveillance for a door system.
Below you can see very rough sketch of my Idea.
My proposed project involves implementing a system where ultrasonic sensor detect individuals near a door, sending notification alert. Simultaneously, an Xiao ESP32_S3 camera module captures images. These images are then transmitted to a BLynk App. The system aims to enhance security and convenience by alerting users when someone is near the door, providing a visual through captured. This project can find applications in home security systems, allowing users to monitor and control access to their premises.
In addition to door monitoring, I can further enhance the functionality by using this system for wildlife monitoring and other areas where surveillance and notification systems are needed.
3D Design & 3D Model¶
Cardboard 3D Model:
To understand more about the enclosure, I made a cardboard prototype. Below you can see the image how am I going to arrange components inside a enclosure which includes small camera, LED, a speaker, ultrasonic sensors and importantly, a custom-made board to control everything.
First Version:
I designed the Casing using SolidWorks. I included mounts at the bottom for attaching the enclosure to a door, and a lid to seal the body. For the bottom part, I plan to use ABS for 3D printing, as it is suitable for electronics enclosures. As for the top part, I aim to experiment with wood by milling it using a milling machine.
To learn more about the design go to CAD Week
Second Version:
After calculating the correct dimensions for the components needed inside the casing, the second version was designed.
To check how my second version of the 3D packaging looks, I 3D printed it using white PLA.
Third/Final Version:
For the final version of my packaging design, after thoroughly calculating the required dimensions of the components that need to fit inside the box, I designed the following parts:
- Bottom Part: This will be 3D printed to hold the PCB securely.
- Middle Parts: These will be created using laser-cut 3mm plywood with finger joints for easy assembly and then painting to look it better.
- Top Part: This will also be 3D printed which includes designated spaces for mounting a speaker, ultrasonic sensor, LED, and camera.
Below you can see the image of the assembly of all parts:
The PCBs¶
For my final board, I took inspiration from Quentorres example and utilized KiCad for the PCB design. In this version, I integrated an Xiao_ESP32_S3 Sense MCU along with alongside various breakout pins.
Below you can see final version PCB schematic from KiCad:
The components I Used:
- 1X Seeed Studio XIAO ESP32S3.
- 1X CONN HEADER SMD R/A 6POS 2.54MM
- 1X Tactile Switch
- 3X LED BLUE CLEAR 1206 SMD/PTH
- 5X RES 1K OHM 1% 1/4W 1206
- RES 499 OHM 1% 1/4W 1206
- 2X CONN HDR 7POS 0.1 TIN SMD*
- 1X 1x7 Male connector
- 1X 1x4 Female connector
Here’s the final PCB layout in KiCad and finalboard: