avatar

weekends are for leisure

Tutorial: Using ARMv6 SIMD Intrinsic Instructions on a Raspberry PI Zero W

July 20, 2023 · 7 minute read · Tags: arm , c , programming , raspberry-pi , simd

Raspberry Pi Zero W computers have a single core ARM1176JZF-S CPU that implements version 6 of the ARM11 ARM architecture. From the docs: It supports the ARM and Thumb instruction sets, Jazelle technology to enable direct execution of Java bytecodes, and a range of SIMD DSP instructions that operate on 16-bit or 8-bit data values in 32-bit registers. The SIMD (Single Instruction Multiple Data) instructions are what we’ll be talking about in this tutorial.
Continue reading

HD Motion Detection, Streaming, Encoding on a single Raspberry Pi

November 27, 2019 · 7 minute read · Tags: raspberry pi

This post is about how and why I pieced together my own motion-detection and encoding system. I wanted to produce smooth HD videos whenever motion was detected. Find the code here. Note: I plan to add videos and stills to make this more than a wall of text, but wanted to get it out before the holidays. Raspberry Pi computers are powerful despite being small. Did you know the raspivid program can capture 1080p at 30fps without breaking a sweat?
Continue reading

hostapd config for Alfa AWUS052NH

October 20, 2017 · 1 minute read · Tags: linux , raspberry pi , wifi

I use the Alfa AWUS052NH USB WiFi adapter for the 5Ghz network of my Raspberry Pi wifi router. Thought I’d share my config file so others can quickly get up and running with this adapter.


Continue reading

hostapd config for Alfa AWUS051NH

October 20, 2017 · 1 minute read · Tags: linux , raspberry pi , wifi

I use the Alfa AWUS051NH USB WiFi adapter for the 2.5Ghz network of my Raspberry Pi wifi router. Thought I’d share my config file so others can quickly get up and running with this adapter.


Continue reading

Words to code by

December 3, 2016 · 1 minute read · Tags: programming , raspberry pi , software engineering radio

What I would like people to do if they’re professional programmers is think about how you can use your skills not just for business. How can you change the world in ways which aren’t necessarily directly correlated to making money? Because, are all the good things in the world directly correlated to money? I don’t think they are. [We] should be thinking about how we can use our amazing, fabulous skills that we all have, that most people don’t yet have, to change the world for the good that we see.
Continue reading

© 2024 - Released under the MIT licensePowered by Hugo with the Type Theme