Part 3 PCB, schematic, 4Z 4G 1V1 alarm system code
Part 3 PCB, schematic, 4Z 4G 1V1 alarm system code The Zip file includes: Updated schematic Final 1V1 code for Arduino Nano Code for ATtiny85 Gerber file for PCB Layout plan Part 3 PCB, shema, code systeme d'alarge 4Z 4G 1V1 Le dossier Zip comprend : Schéma mise à jour Code 1V1 final for Arduino Nano Code for ATtiny85 Gerber for PCB Plan Implantation
oSTART-UP AND USER GUIDE – GSM ALARM SYSTEM V1.1
1. Initial Pairing
Pairing registers the master number, which is necessary for managing the system via SMS.
Procedure:
Prepare the system:
Place the AP shunt on the PCB to isolate Zone 5 (Tamper Protection OFF).
This allows you to verify its operation without triggering the sirens and without disturbing the neighbors.
It is recommended not to power the sirens for this initial test.
Received relays and SMS messages allow you to validate the tests in silent mode.
Power on the system.
Wait for the GSM network connection.
NOTE : The network LEDs (OK/NOK) are only active after the system has been paired.
Send the master number registration SMS:
12345
Expected response:
The number 07 xx xx xx xx is registered.
If the code is incorrect:
Incorrect code, send 12345.
Result
After pairing, the system enters normal operation.
The alarm is OFF by default; all zones are active.
NOTE : The jumper on Z5 must remain in place for this test.
2. Zone Verification
If all alarm zones (Z1 to Z5) are closed, the green loop control LED is lit.
Each zone opening turns off the green loop control LED.
This allows you to view openings in real time before activating the system.
3. Normal Commissioning with Z5 Ejection
Before removing the shunt on Z5, send an SMS to temporarily deactivate the tamper zone:
Z5 Ejection off
This command puts zone 5 in an off-alarm state, allowing the shunt to be removed without triggering the sirens.
LED Indication:
If the alarm is OFF, the green LED flashes to indicate that zone Z5 has been ejected.
If the alarm is ON, the red LED flashes to indicate that zone Z5 has been ejected.
The flashing is monitored by the watchdog, ensuring reliable real-time visualization.
Verify the status confirmation via SMS before removing the shunt.
After verification, remove the shunt on Z5 to reactivate tamper protection if necessary.
The system then switches to normal operation, with all zones active and timers operational.
Verify that the GSM is connected (LED OK) and that zones Z1–Z5 are functioning correctly.
Local commands via Z6 (lock) and SMS are now available to arm/disarm the system. The system then switches to normal operation, with all zones active and timers operational.
Verify that the GSM is connected (LED OK) and that zones Z1–Z5 are functioning correctly.
Local commands via Z6 (lock) and SMS are now available to arm/disarm the system.
The master user can now arm or disarm the system via:
Zone Z6 (lock) for local commands
SMS for remote commands
4. Test Commands
Zone Testing
Open and close each zone to check the green LED illumination.
Immediate zones trigger the alert instantly if the alarm is ON.
Lock Test (Z6)
A simple pulse to ground arms or disarms the system.
The system remembers the state and indicates it via SMS and LED.
5. Safety Notes
Never power the sirens during initial pairing to avoid false alarms.
Alert timers and limits (sirens, SMS) are already configured in the code to prevent spam.
1. Initial Pairing
Pairing registers the master number, which is necessary for managing the system via SMS.
Procedure:
Prepare the system:
Place the AP shunt on the PCB to isolate Zone 5 (Tamper Protection OFF).
This allows you to verify its operation without triggering the sirens and without disturbing the neighbors.
It is recommended not to power the sirens for this initial test.
Received relays and SMS messages allow you to validate the tests in silent mode.
Power on the system.
Wait for the GSM network connection.
NOTE : The network LEDs (OK/NOK) are only active after the system has been paired.
Send the master number registration SMS:
12345
Expected response:
The number 07 xx xx xx xx is registered.
If the code is incorrect:
Incorrect code, send 12345.
Result
After pairing, the system enters normal operation.
The alarm is OFF by default; all zones are active.
NOTE : The jumper on Z5 must remain in place for this test.
2. Zone Verification
If all alarm zones (Z1 to Z5) are closed, the green loop control LED is lit.
Each zone opening turns off the green loop control LED.
This allows you to view openings in real time before activating the system.
3. Normal Commissioning with Z5 Ejection
Before removing the shunt on Z5, send an SMS to temporarily deactivate the tamper zone:
Z5 Ejection off
This command puts zone 5 in an off-alarm state, allowing the shunt to be removed without triggering the sirens.
LED Indication:
If the alarm is OFF, the green LED flashes to indicate that zone Z5 has been ejected.
If the alarm is ON, the red LED flashes to indicate that zone Z5 has been ejected.
The flashing is monitored by the watchdog, ensuring reliable real-time visualization.
Verify the status confirmation via SMS before removing the shunt.
After verification, remove the shunt on Z5 to reactivate tamper protection if necessary.
The system then switches to normal operation, with all zones active and timers operational.
Verify that the GSM is connected (LED OK) and that zones Z1–Z5 are functioning correctly.
Local commands via Z6 (lock) and SMS are now available to arm/disarm the system. The system then switches to normal operation, with all zones active and timers operational.
Verify that the GSM is connected (LED OK) and that zones Z1–Z5 are functioning correctly.
Local commands via Z6 (lock) and SMS are now available to arm/disarm the system.
The master user can now arm or disarm the system via:
Zone Z6 (lock) for local commands
SMS for remote commands
4. Test Commands
Zone Testing
Open and close each zone to check the green LED illumination.
Immediate zones trigger the alert instantly if the alarm is ON.
Lock Test (Z6)
A simple pulse to ground arms or disarms the system.
The system remembers the state and indicates it via SMS and LED.
5. Safety Notes
Never power the sirens during initial pairing to avoid false alarms.
Alert timers and limits (sirens, SMS) are already configured in the code to prevent spam.
Testing and installation complete. Remove the Z5 strap from the PCB and reassemble all system components. The loop control LED should be lit. Reactivate the tamper protection via SMS: Z5 on
// FR
GUIDE DE DÉMARRAGE ET D’UTILISATION – SYSTÈME D’ALARME GSM V1.1
1. Appairage initial
L’appairage permet d’enregistrer le numéro maître, nécessaire pour la gestion du système par SMS.
Procédure :
Préparer le système :
Placer le shunt AP sur le PCB pour isoler la Zone 5 (Autoprotection OFF).
Cela permet de vérifier son fonctionnement sans déclencher les sirènes et sans gêner le voisinage.
Il est recommandé de ne pas alimenter les sirènes pour ce premier test.
Les relais et SMS reçus permettent de valider les tests en sourdine.
Mettre le système sous tension.
Attendre la connexion au réseau GSM.
Les LEDs réseau (OK / NOK) ne sont actives qu’après l’appairage du système.
Envoyer le SMS d’enregistrement du numéro maître :
12345
Réponse attendue :
Le numero 07 xx xx xx xx est enregistré
Si le code est incorrect :
Mauvais code, envoyer 12345
Résultat
Après appairage, le système passe en fonctionnement normal.
L’alarme est OFF par défaut, toutes les zones sont actives.
Le shunt sur Z5 doit rester en place pour ce test.
2. Vérification des zones
Si toutes les zones alarmes (Z1 à Z5) sont fermées, la LED verte de contrôle de boucle est allumée.
Chaque ouverture de zone éteint la LED verte de contrôle de boucle.
Cela permet de visualiser en temps réel les ouvertures avant d’activer le système.
3. Mise en service normale avec éjection Z5
Avant de retirer le shunt sur Z5, envoyer un SMS pour désactiver temporairement la zone d’autoprotection :
Ejection Z5 off
Cette commande met la zone 5 en état hors alarme, permettant de retirer le shunt sans déclencher les sirènes.
Indication LED :
Si l’alarme est OFF, la LED verte clignote pour signaler la zone Z5 éjectée.
Si l’alarme est ON, la LED rouge clignote pour signaler la zone Z5 éjectée.
La gestion des clignotements est supervisée par le watchdog, garantissant une visualisation fiable en temps réel.
Vérifier la confirmation de l’état par SMS avant de retirer le shunt.
Après vérification, retirer le shunt sur Z5 pour réactiver l’autoprotection si nécessaire.
Le système passe alors en fonctionnement normal, toutes zones actives et temporisations opérationnelles.
Vérifier que le GSM est connecté (LED OK) et que les zones Z1–Z5 fonctionnent correctement.
Les commandes locales via Z6 (serrure) et SMS sont maintenant disponibles pour armer/désarmer le système.Le système passe alors en fonctionnement normal, toutes zones actives et temporisations opérationnelles.
Vérifier que le GSM est connecté (LED OK) et que les zones Z1–Z5 fonctionnent correctement.
Les commandes locales via Z6 (serrure) et SMS sont maintenant disponibles pour armer/désarmer le système.
L’utilisateur maître peut désormais armer ou désarmer le système via :
Zone Z6 (serrure) pour commandes locales
SMS pour commandes distantes
4. Commandes de test
Test des zones
Ouvrir et refermer chaque zone pour vérifier l’éclairage de la LED verte.
Les zones sont déclenchent instantanément l’alerte si l’alarme est ON.
Test de la serrure (Z6)
Un simple pulse vers la masse arme ou désarme le système.
Le système mémorise l’état et l’indique via SMS et LED.
5. Notes de sécurité
Ne jamais alimenter les sirènes lors du premier appairage pour éviter les déclenchements intempestifs.
Les temporisations et limites d’alerte (sirènes, SMS) sont déjà configurées dans le code pour éviter le mitraillage.
Fin de tests et d'installation, ôter le strap Z5 sur PCB, refermer l'ensemble des éléments du système. La Led contrôle boucle doit être allumée, réactiver les autoprotection par SMS Z5 on

Discussion (0 comments)