惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog
A
About on SuperTechFans
Microsoft Security Blog
Microsoft Security Blog
Y
Y Combinator Blog
罗磊的独立博客
J
Java Code Geeks
人人都是产品经理
人人都是产品经理
MongoDB | Blog
MongoDB | Blog
The GitHub Blog
The GitHub Blog
G
Google Developers Blog
U
Unit 42
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - Franky
Jina AI
Jina AI
F
Fortinet All Blogs
H
Help Net Security
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Last Week in AI
Last Week in AI
博客园 - 司徒正美
云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
C
Check Point Blog
GbyAI
GbyAI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
FenceGuard, part 1: first sensor ordered and why I'm star...
Emelie Fogelström · 2026-06-03 · via DEV Community
Cover image for FenceGuard, part 1: first sensor ordered and why I'm starting small

Emelie Fogelström

I keep chickens and Muscovy ducks on a small farm in the Swedish countryside. They roam freely around the yard while we're still building proper fencing. Over the years we've had our share of losses: a fox has taken both chickens and ducks on several occasions, and four years ago a neighbour's dog got in and killed our entire flock while we were away shopping for groceries. I started FenceGuard because I wanted an early warning system, not a camera I'd have to check manually every day.

The full vision is a LoRa mesh of sensor nodes, edge ML running TensorFlow Lite, SMHI weather integration to filter out false alarms from wind and rain, and two product variants — one for smaller predators like foxes and hawks, one for wolves and bears. That's still exactly where this is heading. But good engineering means validating your assumptions before building on top of them, so I'm starting where the real unknowns are: the data itself.So I'm deliberately starting lean and documenting the whole process here.

What I've ordered

The first component just shipped: a PIR motion sensor. That's it. One sensor. I already have a LoPy4 development board on my desk (a leftover from an earlier weather station project), so the plan is to hook those two together and start getting data before I spend anything else.

I'm not buying a new ESP32 right now, the LoPy4 is perfectly capable for early prototyping, and I'd rather validate the concept first and spend money second.

The actual hard problem: signal vs. noise

Here's what I keep coming back to: a PIR sensor doesn't know the difference between a fox and a branch moving in the wind. Before any machine learning, before any LoRa mesh, before any slick mobile app, I need to understand the raw data. What does a real motion event look like in this environment? How does wind noise show up? What happens at different temperatures (PIR sensitivity is temperature-dependent)? What does a dog walking past look like versus a human versus a small animal, like a hen or duck?

That's the focus of the next few weeks. No AI. No complex architecture. Just a sensor, a dev board, and logging, trying to figure out what signal I'm actually working with, before I build anything on top of it.

The question I want to answer first: can I reliably distinguish real motion events from environmental noise, using only a PIR sensor and a timestamp?

What's next
Once the sensor arrives, I'll write up the hardware setup and share the first data. After that, depending on what the data looks like, I'll start working on filtering logic. Probably some combination of timing windows, threshold comparisons, and maybe cross-referencing with a simple wind/temperature sensor down the line.

If you're also working on something similar like livestock monitoring, perimeter detection, or outdoor IoT in general, I'd love to hear how you've tackled the noise problem. Drop a comment below.

FenceGuard is an open development project. I'll be documenting hardware choices, firmware and data analysis. Follow along if that's your kind of thing.