user-img

Matthew Ollier

  • 2 Projects
  • 0 Followers
  • Aug 31,2026
+ Follow

Build a Raspberry Pi 5 Spy camera

Build a Raspberry Pi spy camera with the camera module 3 NoIR

Build a Raspberry Pi 5 Spy camera
 
  • thumbnail-img
 

Hardware Components

  • RPi 5 2GB

    The Pi Hut
    X 1
  • Official Pi 5 Power supply (recommended for no undervoltage)

    The Pi Hut
    X 1
  • Active cooler for Pi 5 (recommended for keeping your Pi cool)

    The Pi Hut
    X 1
  • Camera module 3 NoIR

    The Pi Hut
    X 1

Story

Stage 1(Hardware)

I have included Hardware links at the bottom. I recommend all of them, as they will ensure the Pi 5 remains stable. 

Stage 2(Software)

After, get a clean OS onto a storage device and then, open it as rootfs, or root. navigate to /home/(user) and create a new file named Exec.service . Inside type:

[Unit]

Description=My Python Script on Boot

After=network.target

 

[Service]

Type=simple

User=pi

ExecStart=/usr/bin/python3 /home/pi/path/to/spy.py

Restart=on-failure

StandardOutput=journal

StandardError=journal

 

[Install]

WantedBy=multi-user.target

This is the code that will enable the Python script running a HTML on (pi hostname).local (or a port if there is one). for the python, I will include a spy.txt, which you need to rename to spy.py. If you have inserted the camera, booted your Pi with these script, It should show an IR image of what the camera is looking at in (pi hostname).local (add :(port) if you are using a port)

Enjoy!

Code
Topic
View All

Build a Raspberry Pi 5 Spy camera

Build a Raspberry Pi spy camera with the camera module 3 NoIR

8
 
0
0
0

Share your project on social media to expand its influence! Get more people to support it.

  • Comments( 0 )
  • Like( 0 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All
Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Country: Shipping Way:
Assembly Cost: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
CNC Milling File : Size:
Unit: Volumn:
CNC Milling Qty : Material:
Type of Aluminum: Surface Finish:
Tolerance:
Surface Roughness:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Item Price Qty Subtotal Delete
Total: US $0.00
Certified Product | Guaranteed Purchase: Full techsupport