Skip to content

15.System Integration

integration image 1

Assignments for week 15:

  • Design and document the system integration for your final project.

1. Overview and working principle.

My project consists of two parts, namely CHIRP device with MCU-1 and CLEAN device with MCU-2.So my final project is titles as CHIRP and CLEAN device.

2. Circuit diagram

My final project requires the ESP NOW as the protocol for communication between the two XIAO ESP32C-3 PCB.Here is my system diagram that will show communication between my two fabricated PCB.

system diagram edited

3. Electronics design and production.

pcb-1

MCU-2

For more detailed, you can refer to my final project site under Electronics Design and Production

5. CAD for my final project.

5.1.0 Design and laser cutting for MCU-1

CAD subtractive

laser output

5.1.1 Design and 3D Printing case for MCU-1

5.2 Design and 3D printing for soap dispenser container and MCU-2 case.

soap container parts

mcu-2 3dpint1

mcu-2 3d print2

The more details on my CAD for my final project can be available at my final project site under Design and Manufacturing

6.system integration

My final project titled CHIRP and CLEAN Device consists of two parts, CHIRP(MCU-1) with DF player mini, speaker, VL53L1X motion sensor and XIAO ESP32-C3.The other CLEAN(MCU-2) consists of DF player mini, speaker, VL53L1X distance sensor, mini water pump and XIAO ESP32 C-3.

integration image 1

The MCU-1(CHIRP) part will act as a master and MCU-2(CLEAN) part as receiver device where they can communicate using the ESP NOW protocol.

While using the ESP NOW to communicate between my two XIAO ESP32 C-3, i need to add the MAC address.I do not need other library for ESP NOW as i have already installed the ESP32 library package by Espressif System. In order to add the MAC ADDRESS, i referred this website and i have used that example code to get my MAC ADDRESS.

You can see more detailed working on this under weekly assignment of Networking and Communication here.

7.Assemblying and testing.

7.1 Assemblying CLEAN device(MCU-2) Firstly, i have mounted the mini water pump into its slot of the base.The pump hose and terminals were sent up via the threaded hole of the connector to the top MCU-2 case.

assemble 1

The pump hose was further sent via the track outside to the nozzle and pump terminals connected to the terminal block.

assemble 2

assemble 3

The pump hose was connected to the nozzle and covered with the lid.

assemble 4

assemble 5

7.2 Assemblying CHIRP device(MCU-1)

assemble 6

Learning Outcomes from this assignment

Remaining tasks

  1. Adding Vinyl stickers, naming the two devices as CHIRP and CLEAN.
  2. Video compiling(presentation)

Learning from this week

This week help me to program and fabricate components, contributing to the final project.It ensure that my project work in real time.

Files.

  1. The design files for CHIRPY device(MCU-1) is here

  2. The design files for CLEAN device(MCU-2) is here

  3. PCB design for MCU-1 is here

  4. PCB design for MCU-2 is here

  5. Receiver code is here

  6. Sender code is here