Zedomax DIY 100 Make an alarm system Zedomax DIY 100 Faire un système d'alarme

DIY [100] DIY [100]
Do it yourself ! Faites-le vous-même!
Zedomax Alarm System - Zedomax système d'alarme --
Make an alarm system in 3 minutes! Faire un système d'alarme en 3 minutes!

Video of Alarm System in 3 minutes: Vidéo de système d'alarme de 3 minutes:
Parts List: Liste des pièces:
1 Magnetic Contact Switch 1 contact magnétique Switch
1 12VDC Piezzo Buzzer 1 12VDC Piezzo Buzzer
1 2N3904 Transistor 1 2N3904 Transistor
Available at RadioShack Disponible à RadioShack
1 CB280 Start Kit Début 1 CB280 Kit
1 CLCD420-B 1-B CLCD420
1 4×4 Keypad 1 4 × 4 du clavier
1 Keypad Controller 1 contrôleur du clavier
Available at Comfile Disponible à Comfile
Okay, today I was thinking that I needed an alarm system for my dog, so I decided to make a doggy door alarm system. Bon, aujourd'hui, je pensais que j'avais besoin d'un système d'alarme pour mon chien, alors j'ai décidé de faire un doggy porte système d'alarme. Since my dog sleeps w/ me, I needed to make an alarm system for the night, to protect my apartment from other intruding dogs… Depuis mon chien dort avec moi, j'ai eu besoin d'effectuer un système d'alarme pour la nuit, pour protéger mon appartement de la présence d'autres chiens…
Anways, you might think I am crazy making an alarm system for furry people… Anways, vous pourriez penser que je suis fou faire un système d'alarme pour personnes fourrure…
Before I made the actual system, I decided to do it with a study board that has a little breadboard. Avant j'ai fait le système actuel, j'ai décidé de le faire avec une étude qui a un peu d'essai.
You can get a 12VDC Piezzo Buzzer from your local Radio Shack for about 10 bucks and magnetic contact switches w/ screws for about 5 bucks. Vous pouvez obtenir une 12VDC Piezzo sonore de votre Radio Shack pour environ 10 dollars et contact magnétique interrupteurs sans vis pour environ 5 dollars.
These magnetic contact switches are neat, they are the same ones used for a lot of residential and commercial door sensors. Ces contact magnétique interrupteurs sont correctes, elles sont les mêmes que ceux utilisés pour un grand nombre de résidentiels et commerciaux de capteurs.

They are simply magnetic switches. Ils sont tout simplement magnétiques. If door is closed, the contact is open and if door is open, the contact is closed. Si la porte est fermée, le contact est ouvert et si la porte est ouverte, le contact est fermé.
You can screw them into door and the wall using the holes on the switch ends. Vous pouvez les vis en porte et le mur en utilisant les trous sur l'interrupteur se termine.
Yes, if you got that and some CUBLOC or any type of microcontroller w/ i/o ports, you should be ready to go. Oui, si vous avez obtenu et que certains CUBLOC ou tout type de microcontrôleur w / i / o ports, vous devez être prêt à partir.
Here, we will use Comfile’s CB280 embedded computer module and a 4×4 keypad and keypad controller, which will make things easier for us since we won’t have to build from scratch. Ici, nous allons utiliser Comfile la CB280 ordinateur intégré et un module de 4 × 4 et clavier clavier contrôleur, ce qui rendra les choses plus faciles pour nous car nous n'aurons pas à construire à partir de zéro.

(Close-up)
You will need to solder on your Keypad to the Keypad Controller first. Vous aurez besoin de souder sur votre clavier pour le contrôleur du clavier en premier.
Then plug in black wire to GND, red wire to 5V, and rest of the pins to ports P0, P1, P2, and P3. Ensuite, branchez le fil noir à la masse, fil rouge à 5V, et de repos des broches aux ports P0, P1, P2 et P3. (labeled 0, 1, 2, and 3 on the black IDC headers) (marqués 0, 1, 2 et 3 sur l'IDC-têtes)

Once you are done connecting the Keypad Controller to your study board, connect the LCD to connector labeled, “CuNET”. Une fois que vous avez terminé de connecter le clavier contrôleur à bord de votre étude, connectez l'écran au connecteur étiqueté «CuNET".

Yes, now you have a keypad and an LCD. Oui, maintenant vous avez un clavier et un écran LCD.
Now connect the black wire of the piezo to GND and red wire to the left side of the 3904 transistor. Maintenant, connectez le fil noir de la piézo à GND et fil rouge à la gauche du transistor 3904.
Connect 5V to the right side of the 3904 transistor. 5V à connecter le côté droit du transistor 3904.
Connect the middle pin of the transistor to P5 of the CUBLOC Study Board (labeled “5″). Connectez le milieu broches du transistor à P-5 du CUBLOC d'étude (intitulée "5").

Now why are we using a transistor? Maintenant, pourquoi sommes-nous en utilisant un transistor?
Because the piezo takes about 150mA and each I/O of CB280 CUBLOC module only can take so much (<50mA). Parce que les piézo prend environ 150mA et chaque I / O du CB280 CUBLOC module ne peut prendre tellement (<50mA).
So when the I/O port goes on, the transistor will simply connect power from 5V pin to the red wire of the piezo. Ainsi, lorsque le port d'E / S va, le transistor simplement de pouvoir connecter la broche 5V pour le fil rouge de la piézo.
Okay, now we have 1 more item, yes, that’s right, we can put the magnetic contact switch. Bon, maintenant nous avons plus de 1 point, oui, c'est ça, nous pouvons mettre le contact magnétique passer.
Connect one end of the Contact switch to 5V pin and the other end to port P20, labeled “20″ on the study board. Connectez une fin de contact passer à la broche 5V et l'autre extrémité au port P20, intitulée "20" sur l'étude bord.

Now connect a wire from P20 to an LED on the study board. Maintenant, connectez un fil de P20 à une LED sur l'étude bord.
This is to do a pull-down and we should be able to check the status of the contact switch using the LED. Il s'agit de faire un menu déroulant et nous devrions être en mesure de vérifier l'état du contact commutateur en utilisant les DEL.
All right, now you are done, you should have something like this: Tout droit, vous êtes maintenant terminé, vous devriez avoir quelque chose comme ceci:

Now download this source file Maintenant, téléchargez ce fichier source diy100.zip and uncompress it. et décompressez-le.
You will find HomeAutomation001.cul and HomeAutomation001.cub. Vous trouverez HomeAutomation001.cul et HomeAutomation001.cub.
Open HomeAutomation001.cul file in your CublocStudio. Ouvert HomeAutomation001.cul fichier dans votre CublocStudio.
Download the program to CB280 module. Téléchargez le programme sur le module CB280.
When you move the bottom part of the magnetic contact switch, you should see the LCD displaying “open” and “close” while the piezo beeps. Lorsque vous déplacez la partie inférieure du contact magnétique interrupteur, vous devriez voir l'écran LCD affiche "ouvert" et "Fermer" tandis que les piézo bips.
Now enter “1234″ as password on the keypad controller. Maintenant, saisissez "1234" comme mot de passe sur le clavier contrôleur.
If you mess up, you can press “CNCL” button, which will clear the password. Si vous gâcher, vous pouvez appuyer sur "CSL", qui effacera le mot de passe.
You should see the Alarm Status on the LCD go ON. Vous devriez voir l'alarme sur l'écran LCD Go On.
Now when the door is open, you will hear the alarm go off. Maintenant, quand la porte est ouverte, vous entendez l'alarme s'éteint.
[Source Code]
Const Device = CB280
#define MyPass 1234
Set Pad 0,1,5
Const Byte KEY_TABLE=(0,0,14,16,0,15,0,0,0,0,13,9,8,7,0,0,0,0,12,6,5,4,0,0,0,0,11,3,2,1)
‘Key table if Keypad inserted backwards to the Keypad Controller
‘Const Byte KEY_TABLE=(0,0,1,4,7,10,0,0,0,0,2,5,8,11,0,0,0,0,3,6,9,12,0,0,0,0,13,14,15,16)
Dim X As Byte
‘Status of Alarm
Dim AlarmON As Byte
‘Status of Door
Dim Door As Byte
Dim Password As Long
Door=0
Password=0
AlarmON=0
‘Set port P5 to output
Output 5
‘Set Magnetic Switch to input
Input 20
On INT0 Gosub GETINT
Set int0 2
On Pad Gosub PAD_RTN
Set Ladder Off
Set Display 2,0,0,128
Cls
Delay 100
Csroff
Locate 0,0
Print “Zedomax Alarm System”
Locate 0,2
Print “Door is: “
If In(20)=1 Then
Print “open”
Else
Print “closed”
End If
If AlarmON=1 Then
Locate 0,3
Print “Alarm Status is ON”
Else
Locate 0,3
Print “Alarm Status is OFF”
End If
Do
If AlarmON=1 And Door=1 Then
Alarm
End If
Loop
GETINT:
Door=In(20)
Debug “Door: “,Dec Door,Cr
Alarm
If Door=0 Then
Locate 9,2
Print “closed “
Debug “door closed”,Cr
Else
Locate 9,2
Print “open “
Debug “door open”,Cr
End If
Delay 500
Return
PAD_RTN:
Peep
X=Getpad(1)
If X>29 Then Return
X=KEY_TABLE(X)
Debug “Key Pressed: “, Dec X,Cr
If X < 10 Then
Password=Password*10+X
If Password > 9999 Then Password=X
Debug “Password: “, Dec Password,Cr
If Password = MyPass Then
AlarmON=AlarmON Xor 1
If AlarmON=1 Then
Locate 0,3
Print “Alarm Status is ON “
Else
Locate 0,3
Print “Alarm Status is OFF”
End If
End If
‘If ENTR pressed
Elseif X=11 Then
‘If CNCL pressed
Elseif X=15 Then
Password=0
End If
Return
End
Sub Alarm()
Out 5,1
Delay 100
Out 5,0
Delay 100
End Sub
Sub Peep()
Out 5,1
Delay 5
Out 5,0
Delay 5
End Sub
Taking it Further… Prenant Il a en outre…
You can modify the source code to change the alarm times, scheduling, Vous pouvez modifier le code source de changer le temps d'alarme, calendrier,
menus, etc…etc… les menus, etc… etc…
The CB280 module supports up to 49 I/Os, so you can add up to 49 CB280 Le module prend en charge jusqu'à 49 E / S, de sorte que vous pouvez ajouter jusqu'à 49
door sensors or you can add temperature chip to monitor temperature porte des capteurs ou vous pouvez ajouter la température à puce surveiller la température
at the same time. en même temps.
The CB220 and CB220 Proto Board can be substituted for cheaper Le CB220 et CB220 Proto Conseil peut être remplacé pour moins cher
alternative.
The CLCD420B can be substituted for smaller LCD such as the CLCD216G Le CLCD420B peut être remplacé pour les petits LCD comme le CLCD216G
OR you can also add a graphic LCD, such as the GHLCD for expanding OU vous pouvez également ajouter un graphique LCD, comme le GHLCD d'expansion
your alarm system… votre système d'alarme…
I will try to update w/ a touch screen alarm system for more high Je vais essayer de mettre à jour avec un écran tactile système d'alarme pour plus élevé
tech alarm system in the future w/ CuTOUCH. technologie système d'alarme dans l'avenir w / CuTOUCH.
If you are having any trouble with above app, please e-mail Si vous avez des problèmes avec app-dessus, s’il vous plaît e-mail max@zedomax.com
If you have any cool apps you’d like to share, please e-mail to Si vous avez des frais applications que vous souhaitez partager, s’il vous plaît e-mail à max@zedomax.com
RSS feed Flux RSS | Trackback URI URI de Trackback























[...] DIY Link [...] [...] [...] Lien bricolage
[...] How to make a Stopwatch in 1 minute! [...] Comment faire un chronomètre en 1 minute! How to make a G-meter 4 your car in 1 minute! Comment faire un G-4 mètres de votre voiture en 1 minute! How to make a computer controlled Party Light in 90 seconds! Comment faire une partie contrôlés par l'ordinateur Light en 90 secondes! How to make a computer controlled Party Light Part II! Comment faire une partie contrôlés par l'ordinateur Light Partie II! How to build a digital thermometer in one minute! Comment construire un thermomètre numérique en une minute! How to build a hovercraft with 4 PC Fans! Comment construire un aéroglisseur avec 4 PC Fans! How to make a Golf Club POV training aid! Comment faire un club de golf POV aides à la formation! How to make voice activated Christmas Lights! Comment faire vocale Lumières de Noël! How to make an LED Christmas Tree! Comment faire un sapin de Noël à DEL! How to make a Christmas LED Wreath! Comment faire une LED Couronne de Noël! How to make a golf training aid for just 5 bucks! Comment faire un golf aides à la formation pour seulement 5 dollars! How to make your own PS3 SIXAXIS controller from scratch! Comment créer votre propre contrôleur SIXAXIS PS3 à partir de zéro! How to make a music syncing Light Orb Alarm Clock! Comment faire une musique lumineuse synchronisation Orb Réveil! How to make an ethernet controlled Color Organ! Comment faire un réseau d'organes contrôlés couleur! How to make a glowing LED heart! Comment faire un voyant lumineux coeur! How to make Christmas Light Controller in 5 minutes! Comment faire la lumière Contrôleur de Noël en 5 minutes! How to use PS3 Six axis Controller in Windows! Comment utiliser PS3 Six axe Contrôleur sous Windows! How to crack WEP and WPA Wireless Networks! Comment fissure WEP et WPA des réseaux sans fil! How to unlock Windows XP password without any programs! Comment déverrouiller Windows XP sans mot de passe tous les programmes! How to tweak your Linksys router to go 10 times faster! Comment régler votre routeur Linksys aller 10 fois plus rapide! How to download Windows Movie Maker for your illegal Windows! Comment télécharger Windows Movie Maker pour votre Windows illégales! How to turn your cellphone into a Taser Camera Gun! Comment transformer votre portable en un appareil photo Taser Gun! How to downgrade your computer from Windows Vista to XP! Comment déclasser votre ordinateur de Windows Vista à Windows XP! How to convert air into electricity! Comment convertir en électricité l'air! How to automate your MySQL database backups! Comment automatiser votre base de données MySQL! How to disable Lexus and Prius navigation lockout! Comment désactiver Lexus et Prius Navigation lock-out! How to fight DoS attacks for your linux web server! Comment lutter contre les attaques DoS pour votre serveur web sous Linux! How to make an ethernet controlled temperature monitor! Comment faire un réseau contrôlé surveillance de la température! How to build an internet controlled security robot with GPS! Comment construire un contrôle de sécurité Internet robot grâce au GPS! How to extend your Wifi Antenna by 2-3 times! Comment prolonger votre Antenne Wifi fois par 2-3! How to make a homebrewed radio using paper clips! Comment faire une radio par homebrewed trombones! How to download free mp3s using Google! Comment télécharger gratuitement des mp3 en utilisant Google! [...]
[...] How to make a Stopwatch in 1 minute! [...] Comment faire un chronomètre en 1 minute! How to make a G-meter 4 your car in 1 minute! Comment faire un G-4 mètres de votre voiture en 1 minute! How to make a computer controlled Party Light in 90 seconds! Comment faire une partie contrôlés par l'ordinateur Light en 90 secondes! How to make a computer controlled Party Light Part II! Comment faire une partie contrôlés par l'ordinateur Light Partie II! How to build a digital thermometer in one minute! Comment construire un thermomètre numérique en une minute! How to build a hovercraft with 4 PC Fans! Comment construire un aéroglisseur avec 4 PC Fans! How to make a Golf Club POV training aid! Comment faire un club de golf POV aides à la formation! How to make voice activated Christmas Lights! Comment faire vocale Lumières de Noël! How to make an LED Christmas Tree! Comment faire un sapin de Noël à DEL! How to make a Christmas LED Wreath! Comment faire une LED Couronne de Noël! How to make a golf training aid for just 5 bucks! Comment faire un golf aides à la formation pour seulement 5 dollars! How to make your own PS3 SIXAXIS controller from scratch! Comment créer votre propre contrôleur SIXAXIS PS3 à partir de zéro! How to make a music syncing Light Orb Alarm Clock! Comment faire une musique lumineuse synchronisation Orb Réveil! How to make an ethernet controlled Color Organ! Comment faire un réseau d'organes contrôlés couleur! How to make a glowing LED heart! Comment faire un voyant lumineux coeur! How to make Christmas Light Controller in 5 minutes! Comment faire la lumière Contrôleur de Noël en 5 minutes! How to use PS3 Six axis Controller in Windows! Comment utiliser PS3 Six axe Contrôleur sous Windows! How to crack WEP and WPA Wireless Networks! Comment fissure WEP et WPA des réseaux sans fil! How to unlock Windows XP password without any programs! Comment déverrouiller Windows XP sans mot de passe tous les programmes! How to tweak your Linksys router to go 10 times faster! Comment régler votre routeur Linksys aller 10 fois plus rapide! How to download Windows Movie Maker for your illegal Windows! Comment télécharger Windows Movie Maker pour votre Windows illégales! How to turn your cellphone into a Taser Camera Gun! Comment transformer votre portable en un appareil photo Taser Gun! How to downgrade your computer from Windows Vista to XP! Comment déclasser votre ordinateur de Windows Vista à Windows XP! How to convert air into electricity! Comment convertir en électricité l'air! How to automate your MySQL database backups! Comment automatiser votre base de données MySQL! How to disable Lexus and Prius navigation lockout! Comment désactiver Lexus et Prius Navigation lock-out! How to fight DoS attacks for your linux web server! Comment lutter contre les attaques DoS pour votre serveur web sous Linux! How to make an ethernet controlled temperature monitor! Comment faire un réseau contrôlé surveillance de la température! How to build an internet controlled security robot with GPS! Comment construire un contrôle de sécurité Internet robot grâce au GPS! How to extend your Wifi Antenna by 2-3 times! Comment prolonger votre Antenne Wifi fois par 2-3! How to make a homebrewed radio using paper clips! Comment faire une radio par homebrewed trombones! How to download free mp3s using Google! Comment télécharger gratuitement des mp3 en utilisant Google! [...]