Main Content

Design IdeaIn this project, I choose the electric solenoid lock as the box switch. If there is no press in keys for 3 minutes, the box will enter the sleep mode. Press the key 1 will wake up the box and send IoT order to open the box via the module OBLOQ. Once the IoT platform receives, it will decide to send or not send the order to open the box. When the box is awake, it will send the status data(Open/ Closed), the object thickness (with a ultrasonic distance detector) and the object weight (with a digital weight sensor). These key parameters can prevent some smart children cheating works. The reason why we set password is that it can be directly opened when adults at home. The 3 colors RGB LED (Blue, Green, Red) module is in the front of the box. When Blue is ON, suggesting the device is awake; When Green is ON, which suggests the box will be unlocked immediately; When Red is ON, which means the password is wrong. Well, the LED is OFF, means the box enters the sleep mode.
Function Shows
Smartphone Remote Control Box Open: The phone receives the request from the box, the input 0123456789A in the IoT platform and click send, box is open. Now, kids can play iPad and phone.

Computer Remote Control Box Open: The principle is same as the smartphone.

DFR0216 DFRduino UNO R3 - Arduino Compatible x1
DFR0265 Gravity IO Expansion Shield for Arduino V7.1 x1
TEL0118 Gravity: UART OBLOQ IoT Module (Microsoft Azure) x1
DFR0017 Gravity: Digital 5A Relay Module x1
FIT0129 Sealed Membrane 44 button pad with sticker x1_
SEN0307 Gravity: URM09 Analog Ultrasonic Sensor x1
SEN0160 Gravity: Digital Weight Sensor x1
FIT0620 Electric Solenoid Lock x1
DFR0605 Gravity: Digital RGB LED Module x1
FIT0365 Jumper Wires 7.8” F/M (High Quality 30 Pack) x1
_DC 5.5
2.1mm 1 F 2 M Power Supply Wire

9~12 V Power Supply
M3 x20
Nuts x2
Hinge (2.62inch) x1(the image shows the other spare one)”

Link to article