วันเสาร์ที่ 28 ตุลาคม พ.ศ. 2560

เวปที่สอนเรื่อง transistor ได้ดีมาก

เวปที่สอนเรื่อง transistor ได้ดีมาก ไม่มีพื้นฐานก็สามารถเรียนรู้เและเข้าใจได้โดยง่าย

http://commandronestore.com/learning/transistor003.php

วันเสาร์ที่ 14 ตุลาคม พ.ศ. 2560

ESP8266, Adding Cameras to Domoticz(Floorplan)+ iSpy(Camera Srv.)+ UsbWebcam,IPcamera(Android)(7/7)

ESP8266,Adding Cameras to Domoticz(Floorplan)+ iSpy(Camera Server)+ Usb Webcam, IPcamera(Android mobile phone)+ Temperature Sensor(mlx90614)  control the cameras.(7/7)



In Domoticz you can add cameras that you can use to take snapshots  when an event happens  or realtime view.
in this clip use cameras( Working with  iSpy server):
- 2 usb webcam.
- an android phone IQ5.3 + ipwebcam app(make android phone act as an ip camera) and connect via wifi.

Using temparature sensor  send control command to camera for take snapshot when temparatur more than 30 degree C.
*Using iSpy server as Video Source ,iSpy is our free, open source video surveillance platform. You can use iSpy and iSpyConnect (web based access to your iSpy server) for free on the same network iSpy is running on. Remote access and web services

การใช้งานกล้อง บน Domoticz และ การควบคุมกล้องด้วย sensor เช่นในคลิปนี้ จะทำการ snapshot ภาพ เมื่อ อุณหภูมิสูงกว่า 30 องศาเซลเซียส หรือ สร้างปุ่มสวิทย์เพื่อส่งคำสั่งควบคุมการบันทึกกล้องวีดีโอทั้งหมดหรือแต่ละกล้อง
ในคลิปนี้จะใช้กล้อง 2 ประเภท(ทำงานร่วมกับ *iSpy Server)
-กล้อง Usb Webcam  ในคลิปจะใช้ 2 ตัว
-กล้องของมือถือ ทำให้เป็น ip camera โดยใช้ ipwebcam app  (เชื่อมต่อผ่าน wifi)
*iSpy จะทำหน้าที่เป็น Camera Server เราสามารถส่งคำสั่งควบคุมกล้องได้ด้วยคำสั่งแบบ http command

-Download domoticz_windows_x86.zip(Stable Release 3.5837), iSpy64_6_5_8_0.zip, ESPEasy_R142_RC5.zip,
fiddlersetup.exe, IPCamAdapter.msi, ispyvirtual64.zip
https://drive.google.com/open?id=0BzjoxIwEMrM-cFBNTlpaX3ZFNlE

-pictures of this clip which pictures from mobile phone screeen and windows desktop screen
https://drive.google.com/open?id=0BzjoxIwEMrM-MUs4Vk5PM21zT0U

The relevant clips:
-Using the flashtool to upload the ESP Easy firmware + Domoticz Controller on/off 2 LEDs
https://youtu.be/jFJzHxgJCWI
-Esp8266-01(ESP Easy R137)+MLX90614+LCD2004+PCF8574 ,Using Rules engine and HTTP command (P1/7)
https://youtu.be/WJTUfqoZlTQ
-ESP8266-01(ESP Easy R137) +Temp Sensors(MLX90614)  and LDR +3 Dip switches as the Input Switch(P2/7)
https://youtu.be/GYgRUK1QKzs
-Esp8266-01(ESP Easy)+Create app 'The Easy HTTP Command' (dev. fr. AI2) control device with URL(P3/7)
https://youtu.be/Sz26uxTG1sc
-ESP8266-01(ESP Easy R140)+FloorPlan with Domoticz and Domoticz Lite App(P4/7)
https://youtu.be/FIY-F4M8mRs
-ESP8266, Control another ESP8266(remote unit) by ESP8266(main unit) act as the control central(P5/7)
https://youtu.be/52wTTjBOSBM
-ESP8266(GlobalSync) Share data to All connected ESP8266 unit(ESPEasyใช้งานข้อมูลร่วมกัน)(P6/7)
https://youtu.be/dQ2opGCvqZA
-ESP8266,Adding Cameras to Domoticz(Floorplan)+iSpy(Camera Srv.)+UsbWebcam,IPcamera(Android).(7/7)
https://youtu.be/G4tN2nWY9s4
-ESP8266 (ESP Easy), PCF8591P Analog input (Flame and Hall Sensor)+Send remote commands to other ESP(Additional 1)
https://youtu.be/ThP_pQfcl7E

-credit
http://www.letscontrolit.com/wiki/index.php/ESPEasy   //esp easy page
https://www.domoticz.com/wiki/Camera_Setup   //domoticz.com/wiki/Camera_Setup
https://github.com/domoticz/domoticz/releases  //domoticz/releases
https://play.google.com/store/apps/details?id=com.pas.webcam&hl=en    //ip webcam app
http://www.ispyconnect.com/download.aspx#  // ispyconnect.com/download
http://www.ispyconnect.com/userguide-connecting-cameras.aspx#2 // ispyconnect.com/userguide-connecting-cameras
http://www.ispyconnect.com/userguide-commandline.aspx  //ispyconnect.com/userguide-commandline
http://www.ispyconnect.com/userguide-http.aspx  //ispyconnect.com/userguide-http
https://play.google.com/store/apps/details?id=com.ispyconnect.ispy&hl=en     // ispyconnect  app
https://www.telerik.com/download/fiddler   //fiddler download
https://play.google.com/store/apps/details?id=nl.hnogames.domoticz&hl=en   //domoticz lite app

วันจันทร์ที่ 9 ตุลาคม พ.ศ. 2560

Arudino uno with uln2803 drive the DC Motor(ขยายสัญญาน input ด้วย ULN2...



Arudino uno with uln2803(uln2003)  drives the  DC Motor.
Sorry for CC(closed caption) it coming as soon.

Testing by use the ULN2803 (alternative, may use ULN2003)

ทดสอบขับ dc motor ด้วย arudino uno โดยใช้  uln2803 ขยายสัญญานขา input เพืื่อไปขับโหลด ประเภท inductive load เช่น relaies , motor ,stepping motoor หรือ ขับ LED ก็ได้

ULN2803 มี in-out 8 ch( ULN2003 7in-out)   กระแสขับสุดสุดแต่ละ output pin ไม่เกิน 500mA Vcc ไม่เกิน 50VDC

Note* common diode use voltage same as  supply source to Load and for recommended be ground  of uln2803 is ground of supply Load.


Download uno code the following link , and uln2803 datasheet
https://drive.google.com/drive/folders/0BzjoxIwEMrM-MHkzZnQ1QU9jRms?usp=sharing

credit:
http://www.ti.com/lit/ds/symlink/uln2803a.pdf  //datasheet uln2803

credit: this pic for learning


Arduino UNO and L293D control speed and direction(bidirection) to 2 DC ...



Arduino UNO and L293D control  speed and direction(bidirection) to 2 DC motors
(Ardino UNO และ L293D ควบคุมความเร็วและทิศทาง ให้กับ 2 DC motors)






L293D in package has darlington pair current sink , each output 600mA(Peak 1A only L293D) and clamp diode (ESD protection and transient suppression)

Vcc1 for internal logic  5V , Vcc2 for 4.6-36V

*Download the related file at the following link. as *.ino sketch, shcematic, L293D datasheet