วันพฤหัสบดีที่ 27 กรกฎาคม พ.ศ. 2560

mcu-pic programming(เขียนโค็ดโปรแกรม ลงชิป PIC16F627A)



MCU-PIC Programming (เขียนโค็ดโปรแกรม ลงชิป  PIC16F627A)
for cc(closed caption), it coming as soon.

-เขียนโค็ด ด้วยโปรแกรม mikroC พร้อมกับแปลงเป็น hex file(ไฟล์ภาษาเครื่อง)
 เมื่อได้ hex file ก็พร้อมที่จะอัพโหลดลง mcu PIC16F627A ด้วยโปรแกรม PICkit2
ในคลิปจะสร้าง โปรแกรมเพื่อทำ ไฟวิ่งที่ 1s และ 250ms ใช้ 2 LED.

-Write C-code with the mikroC program and then compile to Hex file.
 When the hex file had, upload it to the mcu PIC16F627A with the PICkit2 programmer.
 In this clip, create the program for  the runing of 2leds at 1s and 250ms.

-Download the related file such as  schematic, program, manual 16f628_627a and etc.
https://drive.google.com/open?id=0BzjoxIwEMrM-Skp0Q0tTaVlzTXM


*credit:
- http://www.smartlearningweb.com/book_PIC-usb.htm
-http://www.thaimicrotron.com/PROPIC/USB1/Main.htm  //diy PICkit 2 lite
-https://shop.mikroe.com/mikroc-pic
-http://www.microchip.com/forums/m400176.aspx
-http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit%202%20Readme%20v2-60-00%20(a).txt
-http://web.mit.edu/6.115/www/document/16f628.pdf






วันอาทิตย์ที่ 16 กรกฎาคม พ.ศ. 2560

ส่งภาพจากเครื่องบันทึกข้อมูล(XVR : HDCVI system) เก็บไว้ที่ Gmail (sending image from XVR to Gmail)



*การตั้งค่าและส่งภาพ(ภาพ snapshot เมื่อตรวจเจอการเคลื่อนไหว motion detect) จากเครื่องบันทึกข้อมูล(XVR) ไปเก็บไว้ที่ Email (ในที่นี้ใช้ Gmail)

*Setting and Sending images (motion detect)   from the recorder device (XVR) to your Email (this case use Gmail)

*Gmail message:

XVR ALERT
Alarm Event: Motion Detect
Alarm input channel No.: 1
Alarm Start Time(D/M/Y H:M:S): 16/07/2017
Alarm Device Name: XVR
Alarm Name:
Sender IP Address: 192.168.0.30
Image attached

*คลิป ที่เกี่ยวข้อง(the related clip)
-1. ส่งภาพจากกล้อง ระบบ HDCVI ผ่านเครือข่าย 3G/4G(4G Wi-Fi DWR-932C) แสดงผลภาพและเสียงบนมือถือ.

send image from camera(HDCVI system) via 3G/4G(4G Wi-Fi DWR-932C) network and display image and sound on mobile device.

https://youtu.be/uRxvgvax04g

-2. ส่งภาพจากเครื่องบันทึกข้อมูล(XVR : HDCVI system) เก็บไว้ที่ Gmail (sending image from XVR to Gmail)

https://youtu.be/eglDL2CIr70

*Download the related file such as XVR manual
https://drive.google.com/open?id=0BzjoxIwEMrM-R01hVlNoeDdWV0k


*credit:
- https://myaccount.google.com/security   //Manage your account access and security settings
- https://support.google.com/a/answer/176600?hl=en   //Use SMTP settings to send mail from a printer, scanner, or app
-
 http://www.inaxsys.com/media/files/element/INS44NVR_INS88NVR_user_guide_ENGLISH_STORM_Version_-_EN_2.pdf  //manual xvr







วันพุธที่ 12 กรกฎาคม พ.ศ. 2560

ส่งภาพจากกล้อง ระบบ HDCVI (analog cctv) ผ่านเครือข่าย 3G/4G แสดงผลภาพและ...



-ส่งภาพจากกล้อง hdcvi(analog cctv) ผ่านเครือข่าย 3G/4G แสดงผลภาพและเสียงบนมือถือ

-send  image (+ audio)from hdcvi camera(analog cctv)  via 4g/3g network , to display on mobile phone.

- การเชื่อมต่อ D-LINK MOBILE 4G Wi-Fi (DWR-932C) เพื่อดูกล้อง HDCVI (analog cctv) ที่เชื่อมต่อกับ XVR Recorder  4 channel  ผ่าน D-Link DIR-615 Wireless N Router (wifi connect to wifi) ทำหน้าที่เป็น  wifi repeater  ส่งสัญญานภาพและเสียงไปแสดงยัง App บนมือถือ ( IP Cam Viewer Lite  : Android App) ผ่านเครื่อข่าย 3G/4G

-Connecting D-LINK MOBILE 4G Wi-Fi (DWR-932C)  for view image of HDCVI(analog cctv) which connected with XVR Recoder 4 channel via D-Link DIR-615 Wireless N Router(wifi connect to wifi) , act as wifi repeater for send video and audio ,display to mobile app( IP Cam Viewer Lite: andriod app) via the 3G/4G network.

-แสดงขั้นตอนการเซตอัพระบบอย่างคร่าวๆ สำหรับรายละเอียดเพิ่มเติมศึกษาได้ใน เอกสารอ้างอิง ด้านล่างครับ


*Download file  : manual and cofig  XVR (neo cctv),  network diagram
https://drive.google.com/open?id=0BzjoxIwEMrM-VjBoU1RhNHV5Q0k

*credit
- http://www.inaxsys.com/media/files/element/INS44NVR_INS88NVR_user_guide_ENGLISH_STORM_Version_-_EN_2.pdf
- http://www.dahuasecurity.com/nvr-interface-setting-network.html