top of page

Hardware Intergration

We plan to use an ArduinoUNO to control our simulated smart home lighting system. The arduino will connect to the main computer via a standard USB interface. A proposed wiring diagram for the Arduino and LEDs is shown below.

We plan to use the Arduino Support Package for MATLAB in order to control the Arduino directly from MATLAB itself. We chose this method because it is easy to implement as turning on and off individual pins can be done with a simple command.

We have managed to integrate a webcam into our program as is shown by the still images taken from the webcam in MATLAB.

QQ截图20220406213548.png

Figure 1: Wiring Diagram

QQ截图20220406214006.png

Figure 3: Picture from Camera

QQ截图20220406214336.png
QQ截图20220406214348.png

Figure 2: Lights control by ArduinoUNO

bottom of page