element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experimenting with Extreme Environments
  • Challenges & Projects
  • Design Challenges
  • Experimenting with Extreme Environments
  • More
  • Cancel
Experimenting with Extreme Environments
Blog MotionEyeOS Tutorial
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Experimenting with Extreme Environments requires membership for participation - click to join
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dougw
  • Date Created: 16 Jun 2024 8:53 PM Date Created
  • Views 3713 views
  • Likes 7 likes
  • Comments 0 comments
  • raspberry pi zero 2w
  • dougw
  • MotionEyeOS
  • Experimenting with Extreme Environments
Related
Recommended

MotionEyeOS Tutorial

dougw
dougw
16 Jun 2024

Intro

The Experimenting With Extreme Environments Challenge blog guideline suggests to include an educational blog. While my other blogs include some pointers, I thought I would do a mini tutorial on how to install MotioEyeOS on a Raspberry Pi Zero 2W.

MotioEyeOS is a pretty neat application that allows monitoring several cameras and capturing images or video based on flexible criteria.

MotionEyeOS Tutorial

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Images from MotionEyeOS

Raspberry Pi 3B + Raspberry Pi HQ camera - indoors and outdoors

 image image

Raspberry Pi Zero 2W + Raspberry Pi Camera Module 2

 image

The config file needed for Wi-Fi access:

wpa_supplicant.zip

WebUI Lite

The streaming software I am running on the Pi 4B with Pi Camera Module V3 is WebUI Lite..

Here is how to install it on a Raspberry Pi:

Boot your Raspberry Pi and open a terminal
Type this command:
wget https://github.com/monkeymademe/picamera2-WebUI-Lite/archive/refs/heads/main.zip
Unzip the mian file using this command:
unzip main.zip
That is all there is to installing WebUI-Lite, but we want to control this Raspberry Pi over Wi-Fi via SSH

To set up SSH on a Pi:
Click on the Raspberry Pi icon on the desktop
Navigate to Preferences, then click on Raspberry Pi Configuration
Click on the Interfaces tab and select Enable in the options for SSH
Click OK
Next You need to get the IP address asigned to t=your Raspberry Pi
In a terminal window you can type:
hostname -I
(that is a capital i) and the IP address will be returned

To rune remotely, set up the Pi to use SSH.

Log in and change directory to the app directory:
cd picamera2-WebUI-Lite

then run the app:

python app.py

Once it is running, you  can see the stream by typing in the url into a browser, in my case it is 192.168.2.66:8080

Here is what the result looks like on a remote browser:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Pi NoIR Camera

One last thing I wanted to try is to use an IR illuminator with the Pi NoIR camera.

The illuminator consists of 36 IR LEDs - they run off 12 volts DC and consume about 250 mA. The light sensor (seen at the bottom of the image) keeps them off when visible light is present.:

image

Here is a picture taken from the NoIR camera running MotionEyeOS - it is pitch black except for the IR LEDs:

image

Discussion

MotionEyeOS is a great application for monitoring several cameras. There are so many options, it takes a little experimentation to get everything set up the way you want. It would be nice if MotioEyeOS supported the Pi camera module 3 because the autofocus feature could very useful.

WebUI is a great little python program that provides full control over the Pi Camera Module V3.

The NoIR camera does indeed capture IR illuminated scenes.

Next Step

The only step left is to write the final blog.

Links:

  • Garden Secrets System
  • ComputeCam and PicoPorch - Early Muddling
  • PicoPorch and ComputeCam - The Motor System
  • PicoPorch - LCD PCB & Bezel
  • PicoPorch power wiring
  • PicoPorch Motor Controller Demo
  • PicoPorch System Demo
  • PicoPorch Final Touches
  • Deep Dive On Kit Components
  • Backyard Secrets 1
  • MotionEyeOS Tutorial
  • Garden Secrets Project Summary
  • Experimenting with Extreme Environments Design Challenge
  • Pi 4 Compute Module Datasheet
  • Pi 4 Compute Module I/O Board Datasheet
  • Midas Display Datasheet
  • Enclosure Drawing
  • Enclosure Manufacturer Page
  • Antenna Datasheet
  • Connectors Datasheet
  • MotionEyeOS
  • MotionEyeOS for Pi Zero 2W
  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube