Zedomax DIY 100 Make an alarm system 경보 시스템을 만들 zedomax 쿨러 100

DIY [100] 쿨러 [100]
Do it yourself ! 스스로하라!
Zedomax Alarm System - zedomax 경보 시스템 -
Make an alarm system in 3 minutes! 경보 시스템을 만들는 3 분!

Video of Alarm System in 3 minutes: 비디오를 경보 시스템은 3 분 :
Parts List: 부품 목록 :
1 Magnetic Contact Switch 1 자석 접촉 스위치를
1 12VDC Piezzo Buzzer 초인종 1 12vdc piezzo
1 2N3904 Transistor 1 2n3904 트랜지스터
Available at RadioShack 딴보실 수있습니다
1 CB280 Start Kit 1 cb280 스타트 키트
1 CLCD420-B 1 clcd420 - b
1 4×4 Keypad 1월 4일 × 4 키패드
1 Keypad Controller 1 키패드 컨트롤러
Available at Comfile 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. 네, 오늘은 경보 시스템을 필요로하는 생각을하고 나는 내 강아지, 그래서 강아지 출입구 경보 시스템을 만들하기로했다. Since my dog sleeps w/ me, I needed to make an alarm system for the night, to protect my apartment from other intruding dogs… 내 강아지 때문에 잠을 승 / 난 경보 시스템을 위해 꼭 필요 밤, 내 아파트를 보호하기 개를 다른 침입…
Anways, you might think I am crazy making an alarm system for furry people… anways, 당신을 생각할 수도 있겠지만 나는 경보 시스템을 미친 사람들을… 출항
Before I made the actual system, I decided to do it with a study board that has a little 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. 12vdc piezzo 초인종을 얻을 수있습니다 당신의 지역 라디오 방송국에서 약 10 달러의 오두막과 마그네틱 접촉 스위치를 승 / 나사를 약 5 달러.
These magnetic contact switches are neat, they are the same ones used for a lot of residential and commercial door sensors. 이러한 자석 접촉 스위치는 스트레이트로, 그들은 같은 것들을 많이 사용하는 주택 및 상업 도어 센서합니다.

They are simply magnetic switches. 그들은 자석 스위치를 간단하게합니다. If door is closed, the contact is open and if door is open, the contact is closed. 만약 문이 닫히는 문이 열려 경우의 연락처가 열려 있고, 연락처가 폐쇄합니다.
You can screw them into door and the wall using the holes on the switch ends. 그들을하실 수있습니다 문을 열고 나사를 사용하여 벽에 구멍에 스위치를 종료합니다.
Yes, if you got that and some CUBLOC or any type of microcontroller w/ i/o ports, you should be ready to go. 예, 만약 당신이 그 어떤 종류의 마이크로 컨트롤러 및 일부 cubloc하거나 승 / 전 입 / 출력 포트, 당신 떠날 준비가되어 있어야합니다.
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. 여기에서 우리는 cb280 임베디드 컴퓨터에 모듈을 사용을 comfile 4 × 4 키패드와 키패드 컨트롤러, 어떤 것들은 쉽게 만들어를 빌드부터 우리를 처음부터 우리는 없다.

(Close-up) (닫기 - 위)
You will need to solder on your Keypad to the Keypad Controller first. 키패드에 납땜해야합니다 키패드 컨트롤러의 첫 번째합니다.
Then plug in black wire to GND, red wire to 5V, and rest of the pins to ports P0, P1, P2, and P3. gnd에 검정색 전선을 연결한 다음, 빨간 철사로 5 V, 그리고 나머지 포트의 핀 p0, p1, p2, 그리고 p3합니다. (labeled 0, 1, 2, and 3 on the black IDC headers) (레이블이 0, 1, 2, 3에 검은 idc 헤더)

Once you are done connecting the Keypad Controller to your study board, connect the LCD to connector labeled, “CuNET”. 키패드 컨트롤러를 연결하는이 완료되면 귀하의 연구 보드, 액정을 커넥터에 연결합니다 레이블, "cunet"합니다.

Yes, now you have a keypad and an LCD. 네, 이제는 키패드와 액정합니다.
Now connect the black wire of the piezo to GND and red wire to the left side of the 3904 transistor. 이제 전선의 연결합니다 피에조에 검정과 빨강 철사를 gnd 왼쪽에있는 3904 트랜지스터합니다.
Connect 5V to the right side of the 3904 transistor. 3904 오른쪽에있는 5 V를 연결 트랜지스터합니다.
Connect the middle pin of the transistor to P5 of the CUBLOC Study Board (labeled “5″). 트랜지스터로 핀의 중간에 연결합니다 p5의 cubloc 연구위원회 (레이블이 "5").

Now why are we using a transistor? 트랜지스터를 사용하는 지금 우리가 왜?
Because the piezo takes about 150mA and each I/O of CB280 CUBLOC module only can take so much (<50mA). 피에조 있기 때문에 각각 약 150mA / 오의 cb280 cubloc 모듈 전용 많이 걸릴 수있습니다 (<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. 그래서 때 / 오 포트는 계속된다, 트랜지스터은 간단하게 연결할 전원 공급 5 V 핀에 빨간 선의 피에조합니다.
Okay, now we have 1 more item, yes, that’s right, we can put the magnetic contact switch. 자, 이제 우리가 더 많은 항목이 1 개, 네, 맞습니다, 우리가 자기 접촉 스위치를 가둘 수도있습니다.
Connect one end of the Contact switch to 5V pin and the other end to port P20, labeled “20″ on the study board. 5 V의 한쪽 끝을 접촉 스위치를 연결하고 다른 쪽 엔드를 포트 핀 p20, 레이블이 "20"에 연구위원회.

Now connect a wire from P20 to an LED on the study board. 와이어를 연결하는 현재의 연구위원회를 주도하는 p20합니다.
This is to do a pull-down and we should be able to check the status of the contact switch using the LED. 이것은 필요가 끌어 오기 - 다운 그리고 우리의 상태를 확인 할 수 있어야한다의 연락처를 사용하여 스위치를 주도합니다.
All right, now you are done, you should have something like this: 자, 이제 당신이 완료되면이 같은해야 :

Now download this source file 지금이 소스 파일을 다운로드 diy100.zip and uncompress it. 그것을 압축 해제합니다.
You will find HomeAutomation001.cul and HomeAutomation001.cub. homeautomation001.cul 및 homeautomation001.cub을 발견할 것이다.
Open HomeAutomation001.cul file in your CublocStudio. homeautomation001.cul 파일을 열어 cublocstudio합니다.
Download the program to CB280 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. 바닥에 자석의 일부를 이동할 때 접촉 스위치를 사용하면, 액정 표시가 나타납니다 "열기", "닫기"반면 피에조 울립니다.
Now enter “1234″ as password on the keypad controller. 지금 입력 "1234"으로 비밀 번호를 키패드 컨트롤러합니다.
If you mess up, you can press “CNCL” button, which will clear the password. 엉망하는 경우하실 수있습니다 "를 누르십시오 cncl"버튼을 어떤 비밀 번호를이 취소됩니다.
You should see the Alarm Status on the LCD go ON. 경보 상태를 나타납니다 액정 계속합니다.
Now when the door is open, you will hear the alarm go off. 지금이 문이 열려있는 경우 경보가 해제가 소리를들을합니다.
[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… 가져갈 더…
You can modify the source code to change the alarm times, scheduling, 의 소스 코드를 수정할 수있습니다 알람 시간을 변경하려면, 예약
menus, etc…etc… 메뉴, 등 등……
The CB280 module supports up to 49 I/Os, so you can add up to 49 the cb280 모듈을 지원하는 최대 49 / 운영 체제, 그래서 추가하실 수있습니다 최대 49
door sensors or you can add temperature chip to monitor temperature 문 센서 온도 칩을 모니터하거나 온도를 추가할 수있습니다
at the same time. 동시에합니다.
The CB220 and CB220 Proto Board can be substituted for cheaper the cb220을 대체할 수있습니다 cb220에 대한 자격 보드 싸게
alternative. 대체합니다.
The CLCD420B can be substituted for smaller LCD such as the CLCD216G the clcd420b 수있습니다 작은 액정과 같은 대체 clcd216g
OR you can also add a graphic LCD, such as the GHLCD for expanding 아니면 그래픽을 추가할 수도있습니다 액정과 같은 ghlcd을 확장할
your alarm system… 귀하의 경보 시스템…
I will try to update w/ a touch screen alarm system for more high 을 업데이 트하겠습니다 승 /에 터치 스크린 경보 시스템을 더 높이
tech alarm system in the future w/ CuTOUCH. 경보 시스템에 기술의 미래 승 / cutouch합니다.
Check out PartII - adding a motion sensor! 체크 아웃 partii - 추가하는 모션 센서!
If you are having any trouble with above app, please e-mail 위의 모든 응용 프로그램에 문제가 발생하는 경우, 제발 이메일 - 메일 max@zedomax.com
If you have any cool apps you’d like to share, please e-mail to 멋진 애플 리케이션이 있으면하고 싶은 공유, 이메일 - 메일을하시기 바랍니다 max@zedomax.com
RSS feed 피드 | Trackback URI 열린우리당 트랙백























[...] DIY Link [...] [...] 쿨러 링크를 [...]
[...] How to make a Stopwatch in 1 minute! [...] 기초 시계를 만드는 방법에 1 분! How to make a G-meter 4 your car in 1 minute! g - 미터를 만드는 방법에 4 차 1 분! How to make a computer controlled Party Light in 90 seconds! 컴퓨터 제어 파티를 만드는 방법 표시등이 90 초! How to make a computer controlled Party Light Part II! 컴퓨터 제어 파티를 만드는 방법 빛 부분 2! How to build a digital thermometer in one minute! 1 분 안에하는 디지털 온도계를 빌드하는 방법! How to build a hovercraft with 4 PC Fans! 호버 크라프트 4 pc 팬들을 작성하는 방법! How to make a Golf Club POV training aid! 골프 클럽 pov 훈련 원조를 만드는 방법! How to make voice activated Christmas Lights! 음성 활성화 크리스마스 조명을 만드는 방법! How to make an LED Christmas Tree! 크리스마스 트리를 만들기로 주도하는 방법! How to make a Christmas LED Wreath! 크리스마스의 주도 화환을 만드는 방법! How to make a golf training aid for just 5 bucks! 골프 교육 지원을 만드는 방법을 단지 5 달러! How to make your own PS3 SIXAXIS controller from scratch! 자신의 ps3 (SIXAXIS 컨트롤러를 만드는 방법을 스크래치! How to make a music syncing Light Orb Alarm Clock! 빛 구슬을 만드는 방법에 음악을 동기화 알람 시계! How to make an ethernet controlled Color Organ! 이더넷 제어 컬러 오르간을 만드는 방법! How to make a glowing LED heart! 주도를 만드는 방법에 이글 거리는 심장! How to make Christmas Light Controller in 5 minutes! 크리스마스 라이트 컨트롤러를 만드는 방법을 5 분! How to use PS3 Six axis Controller in Windows! ps3 6 개의 축 컨트롤러를 사용하는 방법에 windows! How to crack WEP and WPA Wireless Networks! wep 및 WPA를 무선 네트워크를 해킹하는 방법! How to unlock Windows XP password without any programs! 비밀 번호를하지 않고 windows XP 용 잠금을 해제하는 방법을 모든 프로그램을! How to tweak your Linksys router to go 10 times faster! linksys 라우터를 이동하는 방법을 조정하여 10 번 더 빨리! How to download Windows Movie Maker for your illegal Windows! 무비 메이커를 다운로드하는 방법에 대한 귀하의 불법적인 windows! How to turn your cellphone into a Taser Camera Gun! 귀하의 휴대 전화 카메라를 설정하는 방법을 테이저 총! How to downgrade your computer from Windows Vista to XP! 귀하의 컴퓨터에서 다운 그레이드하는 방법을 windows 비스타가 XP 용! How to convert air into electricity! 항공을 전기 신호로 변환하는 방법! How to automate your MySQL database backups! 귀하의 mysql 데이터베이스 백업을 자동화하는 방법! How to disable Lexus and Prius navigation lockout! 렉서스와 prius 잠금 네비게이션 기능을 해제하는 방법! How to fight DoS attacks for your linux web server! 서비스 거부 공격에 대항하는 방법에 대한 여러분의 리눅스 웹 서버에! How to make an ethernet controlled temperature monitor! 온도 모니터링을 할 수 이더넷 제어하는 방법! How to build an internet controlled security robot with GPS! 보안 로봇 제어를 빌드하는 방법과 인터넷 gps! How to extend your Wifi Antenna by 2-3 times! 귀하의 wifi 안테나를 연장하는 방법으로 2-3 번! How to make a homebrewed radio using paper clips! 종이 클립을 사용하여 homebrewed 라디오를 만드는 방법! How to download free mp3s using Google! 구글을 사용하는 방법을 mp3s 무료 다운로드! [...]
[...] How to make a Stopwatch in 1 minute! [...] 기초 시계를 만드는 방법에 1 분! How to make a G-meter 4 your car in 1 minute! g - 미터를 만드는 방법에 4 차 1 분! How to make a computer controlled Party Light in 90 seconds! 컴퓨터 제어 파티를 만드는 방법 표시등이 90 초! How to make a computer controlled Party Light Part II! 컴퓨터 제어 파티를 만드는 방법 빛 부분 2! How to build a digital thermometer in one minute! 1 분 안에하는 디지털 온도계를 빌드하는 방법! How to build a hovercraft with 4 PC Fans! 호버 크라프트 4 pc 팬들을 작성하는 방법! How to make a Golf Club POV training aid! 골프 클럽 pov 훈련 원조를 만드는 방법! How to make voice activated Christmas Lights! 음성 활성화 크리스마스 조명을 만드는 방법! How to make an LED Christmas Tree! 크리스마스 트리를 만들기로 주도하는 방법! How to make a Christmas LED Wreath! 크리스마스의 주도 화환을 만드는 방법! How to make a golf training aid for just 5 bucks! 골프 교육 지원을 만드는 방법을 단지 5 달러! How to make your own PS3 SIXAXIS controller from scratch! 자신의 ps3 (SIXAXIS 컨트롤러를 만드는 방법을 스크래치! How to make a music syncing Light Orb Alarm Clock! 빛 구슬을 만드는 방법에 음악을 동기화 알람 시계! How to make an ethernet controlled Color Organ! 이더넷 제어 컬러 오르간을 만드는 방법! How to make a glowing LED heart! 주도를 만드는 방법에 이글 거리는 심장! How to make Christmas Light Controller in 5 minutes! 크리스마스 라이트 컨트롤러를 만드는 방법을 5 분! How to use PS3 Six axis Controller in Windows! ps3 6 개의 축 컨트롤러를 사용하는 방법에 windows! How to crack WEP and WPA Wireless Networks! wep 및 WPA를 무선 네트워크를 해킹하는 방법! How to unlock Windows XP password without any programs! 비밀 번호를하지 않고 windows XP 용 잠금을 해제하는 방법을 모든 프로그램을! How to tweak your Linksys router to go 10 times faster! linksys 라우터를 이동하는 방법을 조정하여 10 번 더 빨리! How to download Windows Movie Maker for your illegal Windows! 무비 메이커를 다운로드하는 방법에 대한 귀하의 불법적인 windows! How to turn your cellphone into a Taser Camera Gun! 귀하의 휴대 전화 카메라를 설정하는 방법을 테이저 총! How to downgrade your computer from Windows Vista to XP! 귀하의 컴퓨터에서 다운 그레이드하는 방법을 windows 비스타가 XP 용! How to convert air into electricity! 항공을 전기 신호로 변환하는 방법! How to automate your MySQL database backups! 귀하의 mysql 데이터베이스 백업을 자동화하는 방법! How to disable Lexus and Prius navigation lockout! 렉서스와 prius 잠금 네비게이션 기능을 해제하는 방법! How to fight DoS attacks for your linux web server! 서비스 거부 공격에 대항하는 방법에 대한 여러분의 리눅스 웹 서버에! How to make an ethernet controlled temperature monitor! 온도 모니터링을 할 수 이더넷 제어하는 방법! How to build an internet controlled security robot with GPS! 보안 로봇 제어를 빌드하는 방법과 인터넷 gps! How to extend your Wifi Antenna by 2-3 times! 귀하의 wifi 안테나를 연장하는 방법으로 2-3 번! How to make a homebrewed radio using paper clips! 종이 클립을 사용하여 homebrewed 라디오를 만드는 방법! How to download free mp3s using Google! 구글을 사용하는 방법을 mp3s 무료 다운로드! [...]