Modifications

Sauter à la navigation Sauter à la recherche
5 octets supprimés ,  22 avril 2014 à 11:10
aucun résumé de modification
Ligne 5 : Ligne 5 :  
Most alarm systems follow a basic design. A switch closure (or opening) triggers action by a central monitor and the alarm generates some form of annunciation.
 
Most alarm systems follow a basic design. A switch closure (or opening) triggers action by a central monitor and the alarm generates some form of annunciation.
   −
{{ADF-Image|Trinket-Alarme-Base-01.jpg}}
+
{{ADFImage|Trinket-Alarme-Base-01.jpg}}
    
The sensor blocks may actually be multiple sensors in one monitoring branch. Designs can be made which give only one indication the sensor chain has been triggered or if you have a more smart design, multiple sensors will provide individual indications.  
 
The sensor blocks may actually be multiple sensors in one monitoring branch. Designs can be made which give only one indication the sensor chain has been triggered or if you have a more smart design, multiple sensors will provide individual indications.  
   −
{{ADF-Image|Trinket-Alarme-Base-02.jpg}}
+
{{ADFImage|Trinket-Alarme-Base-02.jpg}}
    
Switches can be normally closed or normally open. When they are triggered, they change state (closed goes open, open goes closed). The monitoring unit notices the change and if it meets criteria that it believes is an alarm, it annunciates.
 
Switches can be normally closed or normally open. When they are triggered, they change state (closed goes open, open goes closed). The monitoring unit notices the change and if it meets criteria that it believes is an alarm, it annunciates.
Ligne 19 : Ligne 19 :  
You can use nearly unlimited sensor switches if you place multiple switches in a branch. The branch can sense one switch out of all that may have changed state in a branch. In this manner you can only tell if any one of the multiple sensors in the branch has tripped. You can do this using normally open sensors in parallel or normally closed sensors in series. You can use both types of sensors putting the closed switches in line and the open switches in parallel. The resistor pulls the circuit high if the loop is opened otherwise the loop is grounded.
 
You can use nearly unlimited sensor switches if you place multiple switches in a branch. The branch can sense one switch out of all that may have changed state in a branch. In this manner you can only tell if any one of the multiple sensors in the branch has tripped. You can do this using normally open sensors in parallel or normally closed sensors in series. You can use both types of sensors putting the closed switches in line and the open switches in parallel. The resistor pulls the circuit high if the loop is opened otherwise the loop is grounded.
   −
{{ADF-Image|Trinket-Alarme-Base-10.jpg}}
+
{{ADFImage|Trinket-Alarme-Base-10.jpg}}
    
There are circuit methods that allow you to identify which switch in a branch was tripped if you use an analog pin. These use resistors to change the voltage values the analog pin reads. Typical "display shields" use this to read 4 to 6 switches to determine what was entered.
 
There are circuit methods that allow you to identify which switch in a branch was tripped if you use an analog pin. These use resistors to change the voltage values the analog pin reads. Typical "display shields" use this to read 4 to 6 switches to determine what was entered.
Ligne 27 : Ligne 27 :  
Here I will demonstrate a simplified design of my own, a parallel resistor system that uses less components and has good accuracy for Arduino-type analog inputs. The complexity grows with the number of sensors, so I will show for three sensors on a branch.  
 
Here I will demonstrate a simplified design of my own, a parallel resistor system that uses less components and has good accuracy for Arduino-type analog inputs. The complexity grows with the number of sensors, so I will show for three sensors on a branch.  
   −
{{ADF-Image|Trinket-Alarme-Base-11.jpg}}
+
{{ADFImage|Trinket-Alarme-Base-11.jpg}}
    
Normally the Analog Input A1 is pulled high by resistor R4. If any of the switches S1, S2, or S3 is closed, the resistance changes in a predetermined way. Circuit-wise, each of the resistors R1, R2, and R3 would add to the total resistance using the familiar circuit formula 1/R = 1/R1+1/R2+1/R3. All we have to do is measure the analog values read by the Trinket and add them to our code. This method also works equally well for normally open or normally closed switches.
 
Normally the Analog Input A1 is pulled high by resistor R4. If any of the switches S1, S2, or S3 is closed, the resistance changes in a predetermined way. Circuit-wise, each of the resistors R1, R2, and R3 would add to the total resistance using the familiar circuit formula 1/R = 1/R1+1/R2+1/R3. All we have to do is measure the analog values read by the Trinket and add them to our code. This method also works equally well for normally open or normally closed switches.
Ligne 33 : Ligne 33 :  
This method does take only four resistors whereas the pure [http://en.wikipedia.org/wiki/Resistor_ladder R-2R ladder method] requires five to six resistors for 3 switches).  
 
This method does take only four resistors whereas the pure [http://en.wikipedia.org/wiki/Resistor_ladder R-2R ladder method] requires five to six resistors for 3 switches).  
   −
{{ADF-Image|Trinket-Alarme-Base-12.jpg}}
+
{{ADFImage|Trinket-Alarme-Base-12.jpg}}
    
<small> R-2R ladder (source: [http://en.wikipedia.org/wiki/Resistor_ladder Wikipedia])</small>
 
<small> R-2R ladder (source: [http://en.wikipedia.org/wiki/Resistor_ladder Wikipedia])</small>
    
{{Trinket-Alarme-TRAILER}}
 
{{Trinket-Alarme-TRAILER}}
29 917

modifications

Menu de navigation