Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

Arduino-Simulink

Course 26/8 to 6/9 9-12am, daily

University of Jordan

Course coordinator:
Mohammad AlShawabkeh/ B.Sc student Mechatronics engineering 09 Eng91moh@hotmail.com +962797150681

Prerequisites:
Created by: Mohammad AlShawabkeh Mechatronics Engineering/B.Sc. Student Faculty of Engineering & Technology The University of Jordan Madaba, Jordan www. eng91moh.blogspot.com Mobile/Cellphone: +962 797150681

Electronics 1 Digital logic design

1. Project 4: Security system: a. Highlights:


1. This system has two modes, as below: i. ii. 2. Day mode. Night mode.

The day mode switched on at LDR value >= 600 and turn on with green LED, the night mode switched on at <600 of LDR value and turn on the orange LDR .

3. At Day mode the system works as a counter (0-9) form the IN sensor only, and freeze the 7seg at value # 9, at this moment, the buzzer start ringing at any crossing over 9. 4. The system at Night mode works as a security system, to check the IN and OUT sensor at the signing in value, the alarm system will turn on if there is a crossing from IN or OUT without signing in,. 5. The signing in, form the push button with the red LED. 6. The counter must be reset at the night mode (to be ready for the next day).

b. The overall diagram:


1) The LDR , threshold, and LEDs toggling:

2) IN and OUT sensors, muxing, switching and demuxing :

3) Day, (counting to 7seg, logical process to Inc, oring process to wvc , freezing using hit and latch, reset the counter using D/N, ring the buzzer using latch):

4) Night, (If between IN and OUT, logical process for buzzer and selector, default 1 for 0 choice, signing in using latch to 1 choice, logical process for alarm (not)):

The end,
There are two ways to live: you can live as if nothing is a miracle; you can live as if everything is a ~Albert Einstein miracle.

*References: 1. Books: A. Practical Electronics for Inventors, Paul Scherz, Copyright 2000 by The McGraw-Hill Companies. All rights reserved. B. Introduction to Simulink with Engineering Applications, Steven T. Karris, Copyright 2006 Orchard Publications. All rights reserved. C. Designing Embedded Systems with PIC Microcontrollers, Second Edition,Copyright 2010, Tim Wilmshurst. Published by Elsevier Ltd. All rights reserved. 2.Websites: A. B. Arduino.cc Mathworks.com

You might also like