Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/11/03 21:44
Read: times


 
#45260 - RE: project
Responding to: ???'s previous message
Well excepting the same reaction as i have received before from all of you.

My project :-
" Designing an efficient town houses Secuirty System"

this involves controlling water motors , Lights, communication between houses and Guard rooms, using PIR etc...iam not asking for any hardware help as that will really be long to ask and long to reply and also i don't want to waste people time on my long questions as all are experts and have professional jobs to handle , all have their price for doing some work so some people may not reply me if i go in details of my project.

So please just consider that:-

Devices which are connected with Port 2 sents a High Signal which means controller should do some specific task and when low is coming from any device controller should not do any thing to that device only.

Controller Atmel 89c51
Crsytal 11.05KOH

8 Devices..

should i firstly MOV P2,#00H so that P2 becomes logical low so that controller can respond to a High Signal?


e.g.
High on P2.0 means Water Motor should start.
Low means water motor stop.

High on P2.1 House Light should go ON and low mean Off

High on P2.2 means house bell should ring
low means stop ringing

High on P2.3 means Television should get ON and low means OFF.

(now the above is just an example and not the actual case)

using CJNE command for controller checking Port status and high coms at P2.0 , P2.1, P2.2 at the same time , is controller is scanning so fast that all three will be entertained or is there any chance of missing any?

Like controller should on a High signal to the following

P2.0 means Water Motor should start.
and to stop the motor controlle should wait for a low signal at P2.0

P2.1= House Light should go ON and wait for low

P2.2 = house bell should ring
and controller should wait for low.

but P2.3 , nothing should happen to TV on and off status since low is at P2.3

Now if one of the above device go sents low controller should be able to off that device not effecting any other..

what methodology should i apply...or using CJNE i should make large loops

List of 33 messages in thread
TopicAuthorDate
Port status and bit status            01/01/70 00:00      
   RE: Port status and bit status            01/01/70 00:00      
      RE: Port status and bit status            01/01/70 00:00      
   RE: Port status and bit status            01/01/70 00:00      
      is it possible to write like this            01/01/70 00:00      
         RE: is it possible to write like this            01/01/70 00:00      
         RE: is it possible to write like this            01/01/70 00:00      
            RE: is it possible to write like this            01/01/70 00:00      
         RE: is it possible to write like this            01/01/70 00:00      
         RE: is it possible to write like this            01/01/70 00:00      
            My Approach            01/01/70 00:00      
               RE: My Approach            01/01/70 00:00      
               RE: My Approach            01/01/70 00:00      
               RE: My Approach            01/01/70 00:00      
                  use of interputs for polling            01/01/70 00:00      
                     RE: use of interputs for polling            01/01/70 00:00      
                        RE: use of interputs for polling            01/01/70 00:00      
                           RE: project            01/01/70 00:00      
                              RE: project            01/01/70 00:00      
                                 RE: project            01/01/70 00:00      
                           RE: project            01/01/70 00:00      
                              RE: project            01/01/70 00:00      
                                 how come this happens            01/01/70 00:00      
                                    RE: how come this happens            01/01/70 00:00      
                                       RE: how come this happens            01/01/70 00:00      
                                    RE: Its you Waqar as Lance Austin            01/01/70 00:00      
                                       RE: Its you Waqar as Lance Austin            01/01/70 00:00      
                                       RE: Its you Waqar as Lance Austin            01/01/70 00:00      
                                          RE: Its you Waqar as Lance Austin            01/01/70 00:00      
                                    RE: someone Help            01/01/70 00:00      
                                       RE: someone Help            01/01/70 00:00      
   Thankyou            01/01/70 00:00      
      RE: Thankyou            01/01/70 00:00      

Back to Subject List