Tuesday, November 12, 2019
Creating a Prototype Security Gate with Lego Mindstorm Essay examples -
SECURITY GATE Abstract: For many years many people have used security gates to take care of parking lots, buildings, and roads. It all started with people watching over restricted areas. Nowadays, we have a more sophisticated system for security gates. You usually have to stop and put a card into the machine or pay a certain amount of money. The problem is that you must stop and reach out to insert something in order for the crane arm to lift up. We have thought of an idea to improve this current procedure. We have thought of installing a special code or device in cars so that every time it stands in a security gate, it sends a code to the security gate, and if itââ¬â¢s the right code, allow the car in. Using Lego Mindstorm, we made a prototype of such a car. We downloaded a NQC code into the RCX of the car(s) and security gate. The NQC will only let the car with the right code in, but it will sound an alarm for all the cars that do not have the correct code. This will keep everything safer, make the procedure faster, and hopefully make everything easier for everyone. Background: Security gates were invented a long time ago. It even surprised us when we read the article, ââ¬Å"Toll Roads in the United Statesâ⬠on Wikipedia and found out that they started to come out in the 1790ââ¬â¢s. Security gates are also known as turnpikes, toll roads, and toll pikes. Years ago, people would stand in a certain place on a road and collect fees from people who used that particular road. After several individuals noticed that a lot of people were doing this to get money, they eventually got together to from companies. These companies used the money to improve the roads instead of collecting the money and keeping it to themselves. The... ... SendMessage(3); ClearMessage(); Wait(1); } */ SendMessage(3); Wait(1); SendMessage(3); PlayTone(1800, 200); On(LEFT+RIGHT); Wait(200); find(); follow(); } } Rejected Car: //motors and sensors #define LEFT OUT_A #define RIGHT OUT_C #define EYE SENSOR_2 //threshold #define BLACK_LIGHT 34 #define BLACK_DARK 38 task main() { SetTxPower(TX_POWER_HI); SetPower(LEFT+RIGHT, 1); SetSensor(EYE, SENSOR_LIGHT); On(LEFT+RIGHT); Fwd(LEFT+RIGHT); until(EYE>BLACK_LIGHT && EYE Wait(8); Off(LEFT+RIGHT); ClearMessage(); repeat(10) { SendMessage(4); } until(Message() !=0); //ClearMessage(); //until(Message() !=0); if(Message() == 5) { Wait(120); On(LEFT+RIGHT); Rev(LEFT+RIGHT); Wait(120); SetPower(LEFT+RIGHT, 7); Fwd(LEFT); Rev(RIGHT); Wait(95); SetPower(LEFT+RIGHT, 1); Fwd(LEFT+RIGHT); Wait(100); Off(LEFT+RIGHT); } }
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.