Security Lock
- OpenOpen
The security box is very simple, with the use of 2 led’s as well as the Arduino, if successfully code correctly we should be able to create a simple security box.The above schematic shows what is needed to properly get the security box to work properly. There are two leds, four push buttons, six resistors four 10k ohm resistors and two 470 ohm resistors. To get the security box to open and close we had to include a servomotor to operate the movement of the security’s box door. A servomotor is a rotary actuator that allows for precise control of angular position. It consists of a motor coupled to a sensor for position feedback, through a reduction gearbox. It also requires a relatively sophisticated controller, often a dedicated module designed specifically for use with servomotors. Servomotors are used in applications such as robotics.
Recent Discussions
Sorry, there were no discussion topics found.
Recent Docs
Above is the code used to program the Arduino. The user inputs a code in which the Arduino sends a command to the security box. When you get the code correct, a green led lights up and the servomotor moves. This unlocks the box (or at least making See MoreArduino use
#include <Servo.h> //Getting the Servo library Servo myservo; //Initializing servo as myservo int code[] = {0, 0, 0, 0}; //This variable is where button presses are stored. //These variables initlaize pins (buttons and LEDs) int buttonOnePin See MoreSecurity Lock Coding