Alarma picaxe 28x2

Hola necesito ayuda, como puedo hacer para seleccionar las zonas manualmente si yo no quiero activarlas todas, en el programa que adjunto solo se me ocurrió hacerlo con reles externos accionados por las salidas del picaxe pero eso me genera tener que montarle un modulo que active reles. la señal de activación y desactivación de la alarma la hice a través del pinC.2 que viene del un teclado tipo cerradura electrónica, pero no me doy cuenta como poder hacer el selector de zonas en forma manual. desde ya muchas gracias.
 

Attachments

westaust55

Moderator
Google Translation:
Hello I need help, how can I manually select the zones if I do not want to activate them all, in the attached program I just happened to do it with external relays powered by the outputs of the picaxe but that generates me having to mount a module that activates relays . The signal to activate and deactivate the alarm was made through pinC.2 that comes from an electronic lock type keyboard, but I do not realize how to make the zone selector manually. From already thank you very much.
You have posted in the Finished User PICAXE Projects area. I have moved to the Active Forum where there is greater likelihood that folks will help you.
=
Has publicado en el área de Proyectos PICAXE de Usuario Finalizado. Me mudé al Foro activo, donde existe una mayor probabilidad de que la gente te ayude.
 

Aries

New Member
Perhaps just to get the ball rolling ...
It is not clear whether you want to deactivate the zones using the Picaxe or externally. Because you have used all the Picaxe pins, you cannot communicate with the Picaxe to change its behaviour. If you used a 40X2 instead of a 28X2, you would have more pins available, and you could, for example, connect an 8-way DIL switch, with one switch for each zone. By using ADC, it is possible to handle such a switch with 4 Picaxe ADC pins.

Alternatively, you could use external switches, one for each detector. If a detector signals an alarm by breaking the circuit, so that the input pin goes to LOW, then you connect a switch to keep the input pin HIGH (so you connect the switch in parallel with the detector). If the detector signals an alarm by completing the circuit, so that the input pin goes HIGH, then you connect the switch so that the circuit remains broken (so you connect the switch in series with the detector).
No está claro si desea desactivar las zonas utilizando Picaxe o externamente. Debido a que ha usado todos los pines de Picaxe, no puede comunicarse con el Picaxe para cambiar su comportamiento. Si usara un 40X2 en lugar de un 28X2, tendría más pines disponibles y, por ejemplo, podría conectar un interruptor DIL de 8 vías, con un interruptor para cada zona. Al usar ADC, es posible manejar un interruptor de este tipo con 4 pines ADC de Picaxe.

Alternativamente, puede usar interruptores externos, uno para cada detector. Si un detector emite una alarma al interrumpir el circuito, de modo que el pin de entrada pase a LOW (BAJA), conecte un interruptor para mantener el pin de entrada HIGH (de modo que conecte el interruptor en paralelo con el detector). Si el detector emite una alarma al completar el circuito, de modo que el pin de entrada esté en ALTO, conecte el interruptor para que el circuito permanezca roto (de modo que conecte el interruptor en serie con el detector).
 
Top