أرجو المساعدة من ذوي الخبرة في الميكرو كنترولر

I’m a new student in the electronics, However, I’m studying engineering of Electrical & Electronics and I’m in National Diploma2…

Actually my project is: (Hall Lighting System with Counter)

There are tow LDR sensor one for count up and one for count down
in addition to that I’ll use pic16F628 and two 7segment display. when the counter start count 1 to 99 the light will ON & when the display is 0 the light should be Off…

The problem:

Are the components of the circuit completed? Or I need something else?

I have a problem with the programming of pic16F628 if any body can help me in the programme.

What is the circuit diagram of it in ISIS?

What is the program of the circuit in the microcontroller?

Please if anyone can help me in this!!! And this is my E-mail:

[FONT=Times New Roman][SIZE=3]Mixalmix2001@hotmail.com[/size][/font]
Bahrain - 39239178






السلام عليكم و رحمة الله و بركاته …

(Hall Lighting System with Counter)



الموضوع: نظام انارة للصالة مع انارة !

الاجزاء المستخدمة في المشروع:
1. pic16f628
2. Two LDR Sensor
3. Two 7Segment disply
4. Five Voltage LED Light



الشرح:
هذا المشروع يستخدم للصالات الكبيرة او مواقف السيارات …لمعرفة عدد الموجودين و للتقليل من الصرف…الخ

[CENTER]الــ Sen1 يستخدم للعد التصاعدي

و الــ Sen2 يستخدم للعد التنازلي

و سيكون الكونتر من 0 الى 99 ,

و طالما ان شاشة العد (صفر) ستكون الانارة مطفأة, أما من 1 الى 99 ستكون الانارة تعمل.

وفي حالة قطع الـ Sen1

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

يعني في حالة قطع الـ Sen2

سيتجاهل Sen1 الاوامر لمدة ثانية لانهم سيكونون قريبين من بعض.

المشكلة:

تكمن المشكلة في برمجة pic16f628

و هل ان الأجزاء الالكترونية كافية ام نحتاج الى اشياء اخرى

مع الشكر الجزيل و التقدير لجهودكم و مساعدتكم.

Ridha

R.J.A.M[/center]