Bookmark, share, and hop your favorite sites with SiteHoppin Toolbar for Firefox! Segnalibro, condividere e luppolo tuoi siti preferiti con SiteHoppin Toolbar per Firefox!



Zedomax DIY 100 Make an alarm system Zedomax fai-da-te 100 Rende un sistema di allarme

Posted in Postato in DoItYourself! by max on the September 19th, 2006 at 8:36 am da Max sul set 19, 2006 at 8:36 am

DIY [100] Fai-da-te [100]

Do it yourself ! Fai da te!

Zedomax Alarm System - Zedomax sistema di allarme --
Make an alarm system in 3 minutes! Rendere un sistema di allarme in 3 minuti!

Video of Alarm System in 3 minutes: Video di dispositivo di allarme in 3 minuti:

Parts List: Elenco parti:

1 Magnetic Contact Switch 1 contatto magnetico Switch
1 12VDC Piezzo Buzzer 1 12VDC Piezzo Buzzer
1 2N3904 Transistor 1 2N3904 Transistor

Available at RadioShack Disponibile a RadioShack

1 CB280 Start Kit 1 CB280 Start Kit
1 CLCD420-B 1 CLCD420-B
1 4×4 Keypad 1 4 × 4 tastiera
1 Keypad Controller 1 controllore della tastiera

Available at Comfile Disponibile a 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. Ok, oggi pensavo che avevo bisogno di un sistema di allarme per il mio cane, così ho deciso di fare una porta doggy sistema di allarme. Since my dog sleeps w/ me, I needed to make an alarm system for the night, to protect my apartment from other intruding dogs… Dal momento che il mio cane dorme w / me, necessarie per rendere un sistema di allarme per la notte, per proteggere il mio appartamento da altri intruding cani…

Anways, you might think I am crazy making an alarm system for furry people… Anways, si potrebbe pensare Io sono pazzo di un sistema di allarme per furry persone…

Before I made the actual system, I decided to do it with a study board that has a little breadboard. Prima ho fatto l'attuale sistema, ho deciso di farlo a bordo di uno studio che ha un po 'di breadboard.

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. È possibile ottenere un segnale acustico 12VDC Piezzo dal tuo locale Radio Shack per circa 10 dollari e magnetici contatto switch w / viti per circa 5 dollari.

These magnetic contact switches are neat, they are the same ones used for a lot of residential and commercial door sensors. Questi interruttori magnetici di contatto sono pulito, sono gli stessi utilizzati per un sacco di residenziale e commerciale porta sensori.

They are simply magnetic switches. Essi sono semplicemente interruttori magnetici. If door is closed, the contact is open and if door is open, the contact is closed. Se porta è chiusa, il contatto è aperto e se porta è aperta, il contatto è chiuso.

You can screw them into door and the wall using the holes on the switch ends. Potete vite in porta e il muro usando i buchi dello switch-end.

Yes, if you got that and some CUBLOC or any type of microcontroller w/ i/o ports, you should be ready to go. Sì, se avete ottenuto e che alcuni CUBLOC o qualsiasi tipo di microcontrollori w / porte di I / O, si dovrebbe essere pronti ad andare.

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. Qui, useremo Comfile's CB280 modulo embedded computer e un 4 × 4 e tastiera controller di tastiera, che renderà le cose più facili per noi, poiché non dovremo costruire da zero.

(Close-up)

You will need to solder on your Keypad to the Keypad Controller first. Hai bisogno di saldature sul tuo tastiera per il primo controllore della tastiera.

Then plug in black wire to GND, red wire to 5V, and rest of the pins to ports P0, P1, P2, and P3. Quindi collegare il filo nero a GND, filo rosso a 5V, e di riposo dei pin ai porti P0, P1, P2, e P3. (labeled 0, 1, 2, and 3 on the black IDC headers) (etichetta 0, 1, 2, e 3 in nero IDC header)

Once you are done connecting the Keypad Controller to your study board, connect the LCD to connector labeled, “CuNET”. Una volta che avete finito di collegare il controllore della tastiera a bordo il tuo studio, collegare il display LCD a connettore contrassegnato ", CuNET".

Yes, now you have a keypad and an LCD. Sì, ora avete una tastiera e un display LCD.

Now connect the black wire of the piezo to GND and red wire to the left side of the 3904 transistor. Ora collegare il filo nero del piezo a GND e filo rosso sul lato sinistro del 3904 transistor.

Connect 5V to the right side of the 3904 transistor. 5V per collegare il lato destro del 3904 transistor.

Connect the middle pin of the transistor to P5 of the CUBLOC Study Board (labeled “5″). Collegare il perno centrale del transistor a P5 di Studio CUBLOC il consiglio di amministrazione (con l'etichetta "5").

Now why are we using a transistor? Il motivo per cui ora siamo noi utilizzando un transistor?
Because the piezo takes about 150mA and each I/O of CB280 CUBLOC module only can take so much (<50mA). Perché il piezo è di circa 150 mA e ciascuno di I / O di CB280 CUBLOC modulo può solo prendere così tanto (<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. Così, quando la porta I / O prosegue, il transistor sarà sufficiente collegare il potere da pin a 5V il filo rosso del piezo.

Okay, now we have 1 more item, yes, that’s right, we can put the magnetic contact switch. Bene, ora abbiamo più voce 1, sì, che il diritto, siamo in grado di mettere in contatto magnetico interruttore.

Connect one end of the Contact switch to 5V pin and the other end to port P20, labeled “20″ on the study board. Collegare una delle estremità del Contatto passare a 5V pin e l'altra estremità alla porta P20, classificati come "20" sul bordo di studio.

Now connect a wire from P20 to an LED on the study board. Ora collegare un filo da P20 a un LED a bordo di studio.

This is to do a pull-down and we should be able to check the status of the contact switch using the LED. Si tratta di fare un pull-down e dovremmo essere in grado di controllare lo stato del contatto con il passare dei LED.

All right, now you are done, you should have something like this: Tutti i diritti, ora avete finito, si dovrebbe avere qualcosa di simile a questo:

Now download this source file Ora scaricare questo file sorgente diy100.zip and uncompress it. e decomprimere.

You will find HomeAutomation001.cul and HomeAutomation001.cub. Troverete HomeAutomation001.cul e HomeAutomation001.cub.

Open HomeAutomation001.cul file in your CublocStudio. Aprire il file in HomeAutomation001.cul il tuo CublocStudio.

Download the program to CB280 module. Scarica il programma per CB280 modulo.

When you move the bottom part of the magnetic contact switch, you should see the LCD displaying “open” and “close” while the piezo beeps. Quando si sposta la parte inferiore del contatto interruttore magnetico, si dovrebbe vedere la visualizzazione sul display LCD "aperto" e "vicino", mentre il piezo emette un segnale acustico.

Now enter “1234″ as password on the keypad controller. Ora inserire "1234" come password sulla tastiera del controller.

If you mess up, you can press “CNCL” button, which will clear the password. Se la mensa, è possibile premere "CSL", che eliminerà la password.

You should see the Alarm Status on the LCD go ON. Si dovrebbe vedere lo stato della sveglia sullo schermo LCD andare avanti.

Now when the door is open, you will hear the alarm go off. Ora, quando la porta è aperta, si sente l'allarme andare via.

[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… Ulteriori prenderlo…

You can modify the source code to change the alarm times, scheduling, È possibile modificare il codice sorgente per modificare la sveglia volte, la programmazione,
menus, etc…etc… menu, ecc… ecc…

The CB280 module supports up to 49 I/Os, so you can add up to 49 La CB280 modulo supporta fino a 49 I / O digitali, in modo da potete aggiungere fino a 49
door sensors or you can add temperature chip to monitor temperature sensori di porta o se si può aggiungere temperatura di chip per monitorare la temperatura
at the same time. allo stesso tempo.

The CB220 and CB220 Proto Board can be substituted for cheaper CB220 e la CB220 Proto consiglio di amministrazione può essere sostituito per più economici
alternative. alternativa.

The CLCD420B can be substituted for smaller LCD such as the CLCD216G La CLCD420B può essere sostituito per display LCD più piccoli come ad esempio la CLCD216G
OR you can also add a graphic LCD, such as the GHLCD for expanding O si può anche aggiungere un display LCD grafico, come ad esempio la GHLCD per l'espansione
your alarm system… il tuo sistema di allarme…

I will try to update w/ a touch screen alarm system for more high Io cercherò di aggiornamento w / il touch screen per il sistema di allarme più alto
tech alarm system in the future w/ CuTOUCH. tech sistema di allarme in futuro w / CuTOUCH.

Check out PartII - adding a motion sensor! Check out PartII - l'aggiunta di un sensore di movimento!

If you are having any trouble with above app, please e-mail Se hai problemi con qualsiasi applicazione di cui sopra, ti preghiamo di e-mail max@zedomax.com

If you have any cool apps you’d like to share, please e-mail to Se hai qualche fresco applicazioni che si desidera condividere, inviate una e-mail a max@zedomax.com

, , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet) (Nessuna valutazione ancora)
Loading ... Loading ... Caricamento in corso ...


RSS feed Feed RSS | Trackback URI Trackback URI

4 Comments 4 Commenti »

Comment by Commento di Link Building Costruire il link
2008-03-24 03:29:22 2008-03-24 03:29:22

:) reminds me of technology classes back in school… mi ricorda la tecnologia classi ritornare a scuola…

MyAvatars 0,2
2008-03-28 11:53:23 2008-03-28 11:53:23

[...] How to make a Stopwatch in 1 minute! [...] Come fare una Cronometro in 1 minuto! How to make a G-meter 4 your car in 1 minute! Come fare un G-4 metro l'auto in 1 minuto! How to make a computer controlled Party Light in 90 seconds! Come fare un computer controllato Partito Luce in 90 secondi! How to make a computer controlled Party Light Part II! Come fare un computer controllato parte Light parte II! How to build a digital thermometer in one minute! Come costruire un termometro digitale in un minuto! How to build a hovercraft with 4 PC Fans! Come costruire un hovercraft con 4 PC Fan! How to make a Golf Club POV training aid! Come fare una Golf Club POV aiuti per la formazione! How to make voice activated Christmas Lights! Come fare voce attivato Luci di Natale! How to make an LED Christmas Tree! Come fare un LED albero di Natale! How to make a Christmas LED Wreath! Come fare una corona di Natale LED! How to make a golf training aid for just 5 bucks! Come fare un campo da golf per gli aiuti alla formazione a soli 5 dollari! How to make your own PS3 SIXAXIS controller from scratch! Come creare il vostro controller di PS3 SIXAXIS da zero! How to make a music syncing Light Orb Alarm Clock! Come fare una musica di sincronizzazione Light Orb sveglia! How to make an ethernet controlled Color Organ! Come creare un ethernet a colori organo controllato! How to make a glowing LED heart! Come fare una luminosa LED di cuore! How to make Christmas Light Controller in 5 minutes! Come fare Natale Light Controller in 5 minuti! How to use PS3 Six axis Controller in Windows! Come usare PS3 Sei asse controllore in Windows! How to crack WEP and WPA Wireless Networks! Come crack WEP e WPA Wireless Networks! How to unlock Windows XP password without any programs! Come sbloccare la password di Windows XP senza programmi! How to tweak your Linksys router to go 10 times faster! Come tweak il vostro router Linksys per andare 10 volte più veloce! How to download Windows Movie Maker for your illegal Windows! Download di Windows Movie Maker per il tuo illegali di Windows! How to turn your cellphone into a Taser Camera Gun! Come trasformare il vostro cellulare in un Taser Macchina fotografica Gun! How to downgrade your computer from Windows Vista to XP! Come il "downgrade" il tuo computer da Windows XP a Vista! How to convert air into electricity! Come convertire in energia elettrica aria! How to automate your MySQL database backups! Come automatizzare il vostro database MySQL backup! How to disable Lexus and Prius navigation lockout! Come disabilitare Lexus e Prius navigazione di blocco! How to fight DoS attacks for your linux web server! Come per la lotta contro attacchi DoS per il tuo web server linux! How to make an ethernet controlled temperature monitor! Come creare un ethernet temperatura controllata monitor! How to build an internet controlled security robot with GPS! Come costruire un internet controllata di sicurezza del robot con le coordinate GPS! How to extend your Wifi Antenna by 2-3 times! Come estendere il tuo WiFi Antenna di 2-3 volte! How to make a homebrewed radio using paper clips! Come fare una radio utilizzando homebrewed clip! How to download free mp3s using Google! Come scaricare gratis mp3 con Google! [...]

MyAvatars 0,2
2008-04-16 13:04:33 2008-04-16 13:04:33

[...] How to make a Stopwatch in 1 minute! [...] Come fare una Cronometro in 1 minuto! How to make a G-meter 4 your car in 1 minute! Come fare un G-4 metro l'auto in 1 minuto! How to make a computer controlled Party Light in 90 seconds! Come fare un computer controllato Partito Luce in 90 secondi! How to make a computer controlled Party Light Part II! Come fare un computer controllato parte Light parte II! How to build a digital thermometer in one minute! Come costruire un termometro digitale in un minuto! How to build a hovercraft with 4 PC Fans! Come costruire un hovercraft con 4 PC Fan! How to make a Golf Club POV training aid! Come fare una Golf Club POV aiuti per la formazione! How to make voice activated Christmas Lights! Come fare voce attivato Luci di Natale! How to make an LED Christmas Tree! Come fare un LED albero di Natale! How to make a Christmas LED Wreath! Come fare una corona di Natale LED! How to make a golf training aid for just 5 bucks! Come fare un campo da golf per gli aiuti alla formazione a soli 5 dollari! How to make your own PS3 SIXAXIS controller from scratch! Come creare il vostro controller di PS3 SIXAXIS da zero! How to make a music syncing Light Orb Alarm Clock! Come fare una musica di sincronizzazione Light Orb sveglia! How to make an ethernet controlled Color Organ! Come creare un ethernet a colori organo controllato! How to make a glowing LED heart! Come fare una luminosa LED di cuore! How to make Christmas Light Controller in 5 minutes! Come fare Natale Light Controller in 5 minuti! How to use PS3 Six axis Controller in Windows! Come usare PS3 Sei asse controllore in Windows! How to crack WEP and WPA Wireless Networks! Come crack WEP e WPA Wireless Networks! How to unlock Windows XP password without any programs! Come sbloccare la password di Windows XP senza programmi! How to tweak your Linksys router to go 10 times faster! Come tweak il vostro router Linksys per andare 10 volte più veloce! How to download Windows Movie Maker for your illegal Windows! Download di Windows Movie Maker per il tuo illegali di Windows! How to turn your cellphone into a Taser Camera Gun! Come trasformare il vostro cellulare in un Taser Macchina fotografica Gun! How to downgrade your computer from Windows Vista to XP! Come il "downgrade" il tuo computer da Windows XP a Vista! How to convert air into electricity! Come convertire in energia elettrica aria! How to automate your MySQL database backups! Come automatizzare il vostro database MySQL backup! How to disable Lexus and Prius navigation lockout! Come disabilitare Lexus e Prius navigazione di blocco! How to fight DoS attacks for your linux web server! Come per la lotta contro attacchi DoS per il tuo web server linux! How to make an ethernet controlled temperature monitor! Come creare un ethernet temperatura controllata monitor! How to build an internet controlled security robot with GPS! Come costruire un internet controllata di sicurezza del robot con le coordinate GPS! How to extend your Wifi Antenna by 2-3 times! Come estendere il tuo WiFi Antenna di 2-3 volte! How to make a homebrewed radio using paper clips! Come fare una radio utilizzando homebrewed clip! How to download free mp3s using Google! Come scaricare gratis mp3 con Google! [...]

MyAvatars 0,2
Name (required) Nome (obbligatorio)
E-mail (required - never shown publicly) E-mail (obbligatorio - mai mostrato pubblicamente)
URI URI

Subscribe to comments via email Iscriviti a commenti via e-mail
Your Comment ( Il tuo commento ( smaller size quelli di dimensioni più piccole | | larger size ingrandirla ) )
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment. Si può usare <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = "" > <em> <i> <q Cite=""> <strike> <strong> nel tuo commento.