A blog to provide informations about how to make inexpensive IoT Monitor System with ready-made Board Computers like Raspberry Pi or Beagle Bone, USB Camera, and various Sensors with MONITOR™ service. You get to able to watch Camera Image & time series Sensor Data on you Web Browser.
How to make Human Detection Security camera with under 1$ Human Detection Senser, 2$ USB Webam & Raspberry Pi
You can make Web Base Security Camera System as follows:
There are many types of Human Detection Sensor, some of these watching infrared light rays and cache shutting out of this, or some these using Millimeter-wave radar.
PIR(Passive Infrared Ray) Sensor is one of these Human Detection Sensor which watches the change of thermal infrared emitted from hot objects like Humans, Birds, and Mammals.
The sensor consists of a lens for thermal infrared (white plastic tip in the picture below) and a detector device.
Both parts are inexpensive parts and a detector is low current consumption parts.
So, the advantage to use the PIR sensor for Human Detection is:
- Low current consumption
How to setup
Step 1. Get account of MONITOR™ and your view_id
On your Web browser, Sign up to MONITOR™, then you can see the following display.
Keep the "view_id" shown in the display, you are setting your Raspberry Pi to take Camera Image & send it to the view.
Step 2. Install & setup View software in your Raspberry Pi.
The software is available here. Install & it on your Raspberry Pi as following the steps of 1,2,3,4, and 6 (without 5) here. Then PIR Sensor and WebCam are set up to take Image and send when someone is detected.
Please note that you should use the view_id which you get at the last step, as the parameter of setuid.sh command.
MH-Z19 CO2 concentration Sensor MH-Z19 is a small, low-cost, weigh 15g CO2 sensor module product by 郑州炜盛电子科技 . You can buy it at an online shop like eBay or aliexpress about 20$. The electrical interface of this sensor is compatible with Raspberry Pi. So you can make your D.I.Y. CO2 Monitor with MH-Z19, Raspberry Pi. The normal CO2 concentration is about 400ppm. On a global scale, this value is sensitive to the effect of the activities of the plants, seasonally it gets lower in summer due to vigorous plants photosynthesis and getting higher in winter, and the long-range trend is continuing to rise linearly. The Japanese Meteorological Agency reports CO2 concentration chart continuously as hire . It indicates a clear trend of rising. On your room-scale, in a closed room with 2 people, CO2 concentration rise up to 1,200ppm soon and keep falling slowly after 1 person go out. In a high CO2 concentration room as 1200ppm, somebody can get a headache or sleepines
MH-Z19 CO2 concentration Sensor This blog post is outdated. The updated version is here . MH-Z19 is a small, low-cost, weigh 15g CO2 sensor module product by 郑州炜盛电子科技 . You can buy it at an online shop like eBay or aliexpress about 20$. The electrical interface of this sensor is compatible with Raspberry Pi. So you can make your D.I.Y. CO2 Monitor with MH-Z19, Raspberry Pi, and MONITOR™. The normal CO2 concentration is about 400ppm. In a poorly ventilated room, the CO2 concentration will soon increase and make you feel drowsy. By ventilation, co2 concentration soon decrease and you can get your head refreshed. You can check your room air freshness by yourself and can protect your health with this. Cabling Connect RPi & mh-z19 as: - 5V on RPi and Vin on mh-z19 - GND(0v) on RPi and GND on mh-z19 - TxD and RxD are connected to cross between RPi and mh-z18 The following are an example of cabling, you can free to use other 5v and 0v
The MONITOR™ is a free web service that shows the latest posted picture and sensor data. With 2$ USB Camera and Raspberry Pi, you can get your D.I.Y. Monitoring for an inexpensive cost. You can get started MONITOR™ for Free here ! Even at the place where no available network access all over the world, your Monitoring system still works well with 3G dongle & International Data SIM card . I write from now on how to set up an inexpensive 3G network environment on your RaspberryPi easily. USB 3G dongle and Data SIM card utilities " gc_modem " In General, a setting of USB 3G dongle and SIM Card is troublesome works with bizarre technical terms, like udev rule, apn, and so on. The " gc_modem " is useful utilities to change there troublesome works mentioned above to just select the name of dongle and SIM card which you'll use. gc_modem is consist of the following parts: udev_rules : Definitions of each USB 3G dongles which will be me