Skip to content

标签:RK3588

PIR + Camera Fusion: Getting Camera False Alarms Under 1%

Vision alone is fooled by light; PIR alone by heat sources. Fused, false alarms approach zero at almost no extra cost. Let sensors vouch for each other Trigger chain: PIR wakes first (cheap) → vision confirms → both must agree before alert/recording; Fusion window: a person must appear within 5 s of the PIR trigger […]

阅读全文 →

Hardening Remote Access to Jellyfin: Don’t Expose Your Home Network

Publishing Jellyfin to the internet is the riskiest thing a home server does. The three routes differ enormously in default safety — pick wrong and no amount of hardening helps. Rank the remote options by safety Safest: WireGuard/Tailscale — no open ports; remote use feels exactly like LAN; Next: reverse proxy + HTTPS + strong […]

阅读全文 →

EV Charger Controllers: Metering, Comms and Safety Interlocks

Chargers involve metering, payment and electrical safety, so the controller must first meet national comms protocols and billing accuracy. Compliance before features Protocols: national standards expect TCP or OCPP to the backend, CAN to the BMS locally — keep the two links independent; Reliable billing: read the meter over RS485 and persist locally so offline […]

阅读全文 →

The Serial Console: Your Last Resort When the System Won’t Boot

Serial is the baseline of embedded debugging: the last output before a crash and the full bootloader log live here. The console saves lives Hardware: a 3.3 V USB-TTL adapter to the debug UART at 1500000 baud (a Rockchip tradition); Software: minicom/picocom at 1500000-8-N-1; MobaXterm on Windows; What to read: U-Boot output for DDR/load stages; […]

阅读全文 →

Home Lab Disaster Drills: What Happens When the SD Card Dies

Having backups isn’t the same as being able to restore. Only a real from-scratch rebuild reveals your true recovery time. DR is proven by drilling System layer: image the SD/eMMC (dd or ddbr) and keep a written config inventory; Data layer: a restic repository plus database dumps; restore databases before applications; Drill: rebuild fully on […]

阅读全文 →

Traffic Counting and Vehicle Classification: An Intersection Edge Box

“Traffic volume” means different things to different departments: passes, PCUs, sectional flow. Define it first. Define the metric before deploying Virtual lines: lines perpendicular to lanes with direction logic to avoid double counting; Classification: coarse classes by length/axles (car/bus/truck) are enough for planning metrics; Speed: known lane length + cross-line timing gives ±10% — fine […]

阅读全文 →

USB Stability Debugging: Disconnects and Bandwidth Starvation

USB instability has exactly three origins: insufficient power, poor signal integrity, or exhausted controller bandwidth. Symptoms look alike but fixes don’t. Three root causes Power: device descriptor read errors or over-current messages in dmesg mean inadequate supply — add external power or a powered hub; Signal integrity: long or poor cables cause retries, showing up […]

阅读全文 →

License-Plate Gate Systems: Where the Money Actually Goes

Plate-recognition quotes range from hundreds to thousands of dollars, mostly in the camera and backend. Putting recognition on an edge box removes exactly that middle segment. Four cost segments Camera: a plate-capture bullet camera costs $70-200; wide dynamic range is the key spec; Recognition: RK3588 NPU runs plate detection + OCR at 99%+ in daylight; […]

阅读全文 →

Where Does Docker Data Actually Live? Backing Up by Layer

Containers are easy to rebuild — provided you know where the data lives. Three classes need different handling. Separate the three data classes Named volumes: database files under docker volumes; back up /var/lib/docker/volumes with restic; Bind mounts: host directories mapped in compose — just include them in file backups; In-app exports: for MariaDB/PostgreSQL, dump first; […]

阅读全文 →

Campus Security Platforms: Multi-Site Management with Edge Intelligence

All-cloud costs bandwidth and adds alert latency; all-local is hard to manage centrally. A layered architecture is the only practical answer. Layering balances cost and experience Edge tier: record locally and run person/line-crossing detection per campus, uploading only event clips and structured metadata; Central tier: a unified device catalog, permissions and policy push, plus cross-campus […]

阅读全文 →