Advanced Search

المحرر موضوع: بروجيكت للمايكروبروسيسور .. الرجاء الدخول  (زيارة 1595 مرات)

0 الأعضاء و 1 ضيف يشاهدون هذا الموضوع.

يناير 14, 2008, 04:21:09 مساءاً
زيارة 1595 مرات

flashking

  • عضو مبتدى

  • *

  • 1
    مشاركة

    • مشاهدة الملف الشخصي
بروجيكت للمايكروبروسيسور .. الرجاء الدخول
« في: يناير 14, 2008, 04:21:09 مساءاً »
السلام عليكم :::::

اخواني اخواتي المهندسين والمهندسات .... تحية عطرة ...

احتاج منكم مساعده يا اهل الخبرة ... انا طالب بالسنة الثانية بالجامعه ... وتخصصي هو هندسة اليكترونية ...

واحتاج منكم مساعده في برنامج الـEdsim51 ..لتصميم برنامج ... والمطلوب ...

1- A switch is connected to pin p2.7. Write a program to monitor the status of the SWITCH and perform the following:


c- if switch =0, the first four LEDs in port P1 should turn on while the other half should turn off.

d - if switch = 1, the LEDs in port p1 should turn on and off alternately.


Note : Delay should be added for each transition.


2- A proximitly sensor installed in front of a sliding door of a mall automatically opens if it detects the presensce of an object. Write a program that will continuously check the status of the sensor and perform the following :

c - if sensor = 0, the door will close.
d - if sensor = 1, the door will automatically open.

Note : the door is connected to port p1.7 indicated by the LEDs.

صورة للبرنامج ..




أي احد عنده الحل لا يبخل علينه ...