Raspberry Pi Night Vision Camera For Motioneye(os) by stefi01 3d model
Warning. This content is not moderated and could be offensive.
naked
3dmdb logo
Thingiverse
Raspberry Pi Night Vision Camera For Motioneye(os) by stefi01

Raspberry Pi Night Vision Camera For Motioneye(os) by stefi01

by Thingiverse
Last crawled date: 3 years, 1 month ago
I was trying to find a decent design for a Raspberry pi camera that I could use with Motioneyeos and found BarbedWire's design which is awsome and just what I needed.
I changed the PIR motion sensor as motioneyeos uses the camera to detect motion so swaped it for a 940nm IR led ring and added a input jack on the side as i am powering it with a 12v lipo using a step down convertor that is inside the camera body. tested and works very well.
Motioneyeos does not need a movement sensor (PIR) the camera is always on and frames are compared to each other and when a frame is different, ie something has moved then it starts to record to the SD card, live or recorded images/video can be viewed using a web browser and there is also a complete advanced menu which contents many settings that can be adjusted such as how sensitive motion detection is, resolution, reocrd video on motion only or just record on start up etc. for my build I wanted a night vision camera so I used a raspberry pi NOIR camera and IR Leds along with a 3amp 12v to 5v convertor, 5v feeds the PI and 12v powers the IR ring.
I printed the body and other parts, mounted the sensor in the sensor mount then glue the parts in place.
As for the missing parts, get these from the original design that i remixed this from
Link to downloads for motioneyesoshttps://github.com/ccrisan/motioneyeos/wiki
A video I found that explains motioneyeos and setuphttps://www.youtube.com/watch?v=8YUM7jio6dk
The Config file in the thing files is a good basic working configuration file that can be loaded in to Motioneyeos that allows for night video and images with auto video recording upon motion detection, the login name is admin, leave password section blank.
if the camera is out of focus then download and print the focus tool from https://www.thingiverse.com/thing:1941802
Raspberry pi noir camera https://smile.amazon.com/Raspberry-Pi-NoIR-Camera-Module/dp/B01ER2SMHY/ref=sr_1_1?ie=UTF8&qid=1533959067&sr=8-1&keywords=raspberry+pi+noir+camera+v2
Infrared IR 36 Led Illuminatorhttps://www.ebay.com/itm/Infrared-IR-36-Led-Illuminator-Board-for-CCTV-CCD-Security-Camera-AD/112171962971?epid=1468966062&hash=item1a1df8525b%3Ag%3AEO4AAOSwA3dYT2~R&_sacat=0&_nkw=ir+led+illuminator&_from=R40&rt=nc&LH_TitleDesc=0%7C0
12v to 5v 3amp convertor (2amp is not enougth)https://smile.amazon.com/Magnolian-Display-Supply-Converter-Module/dp/B00CBCGAL8/ref=sr_1_5?ie=UTF8&qid=1533959354&sr=8-5&keywords=12v+to+5v+3a
If you would like to play around with the day/night settings, in the menu go to Video device - Extra Motion Options and you will see the line - mmalcam_control_params -ex sports -ev 25 --shutter 256000
this is what gives night settings and knocks out day mode,if day mode is needed then delete that line.
In the thing files is a config file, this is set up for night mode only and if this is to be used then you can just go to restore settings in the main menu and select this file.
If you just want to download a preconfigured raspbian and motioneye image for R-PI 3 also set up for night vision only, to conect, open web browser and enter "your pi ip:8765" password is admin and if loging in from ssh then username is pi and password is admin https://drive.google.com/open?id=1t3aH0gYNoNF7qAxtrmTFqKKXBfYDHwwu
if you want to use raspbian as a base os for motioneyes and do a manual install instead of the downloadable img file,
I found the below guide on the net which is what I used for mine and there are way more settings that can be adjusted or files that can be added with the manual setup.
//Get the latest Raspbian stretch upgrades:
sudo apt-get update
sudo apt-get dist-upgrade
//must be signed in as root to install motioneye
sudo su
// add v4l2 driver for picamera, you can skip this if only using USB webcams or netcams
sudo nano /etc/modules
// add, after i2c-dev:
bcm2835-v4l2
// extra packages from the standard repos:
sudo apt-get install libssl-dev libcurl4-openssl-dev libmariadbclient18 libpq5 mysql-common ffmpeg
sudo apt-get install libjpeg-dev
sudo apt-get install python3-pip
sudo apt-get install python-pip
// get and install pre-built motion package for stretch:
wget https://github.com/Motion-Project/motion/releases/download/release-4.1.1/pi_stretch_motion_4.1.1-1_armhf.deb
dpkg -i pi_stretch_motion_4.1.1-1_armhf.deb
sudo dpkg -i pi_stretch_motion_4.1.1-1_armhf.deb
// install motioneye
sudo pip install motioneye
// initial setup of config files and motioneye deamon:
sudo mkdir -p /etc/motioneye
sudo cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
sudo mkdir -p /var/lib/motioneye
sudo cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service
sudo systemctl daemon-reload
sudo systemctl enable motioneye
sudo systemctl start motioneye
// restart the system
sudo reboot
To upgrade to the newest version of motionEye, just issue:
pip install motioneye --upgrade
systemctl restart motioneye
Connect your browser to port 8765, use Chromium on the Pi as localhost:8765 or on a different machine on your local network yourPi_IP:8765

Tags