The purpose of the project is to create a system of selective opening of shop windows.
The requirements are:
- There are a total of 8 windows.
- They must be able to open each of the 8 windows independently.
- They must be able to open all the windows at once.
- The time during which the locks must be opened is 1 minute.
- There are 3 bolts for window.
The components used have been:
- 2 x 10k resistors
The Fritzing scheme is as follows:
As can be seen in the following images, the system has been mounted on a pcb board 9x15. The power supply has been chosen of 30A because each of the bolts uses 900 mA and there are 24 of these. The LM2596S module has been used to reduce the input voltage to the Arduino from 12V to 6V.
Images of the system mounted inside the laboratory:
Upper detail of the assembled PCB.
Bottom detail of the assembled PCB.
Keyboard and relay block.
Connection of the relay block.
To verify the address I2C of the relay block has been used the program called Arduino I2c Scanner.
The libraries used have been:
- I2C_RL8xxM: library used to access the relay block.
- Wire: library used to I2C connections and is a dependenciy of the I2C_RL8xxM library.
- keypad: library used to manage the membrane keypad 4x3.