Skip to main content

Nucleo STM32F446RE and OV7670

After many hours of trial and failure I finally managed to get my OV7670 camera module to work properly with the Nucleo STM32F446RE board.

I will try to put together a longer article about some of the issues I encountered and how I solved them but for now the source code is available on GitHub.

Comments

Popular posts from this blog

Getting started with OpenSTM32 on OSX

For some time now I have been doing projects (or should I rather say "been playing around") with AVR microcontrollers. Both in the form of different types of Arduinos but also in stand-alone projects (including the USB KVM and a battery powered ATTINY85 board, which I still haven't written a post about). For the most part I really like these microcontrollers, they are versatile, low powered and the development tools available are excellent (and importantly, available on all major platforms). However, In one of my latest projects I encountered a situation where AVRs just might not be enough. What I wanted to do was to capture images from a digital camera module (OV7670) and process them to determine movement speed and direction. While it might in theory be possible to do so on an ATMEGA microcontroller or similar, the small amount of memory available would make such an operation tricky at best. At that point I started looking for a more powerful microcontroller, and o...

Simple outline for multi-sprite characters in Unity 2D using Shader Graph

For the last 6 months I've been working on a new (untitled) 2D game project in Unity both as a way to learn C# and also to play around with some game concepts I've been thinking about for quite a while. Since I'm not much of an artist or a graphic designer I purchased a set of rather nice looking character sprites from  https://tokegameart.net/  that also came with animations and ready to use Unity packages. Since my game has multiple characters on screen at one and each one can be given orders I needed a way to show which one was selected or active. One common way to handle this which felt like a good fit for me is to show an outline around the selected character. Luckily there's a lot of examples and guides explaining how to do this in Unity (and I based this one on a great article by Daniel Ilett). There was one snag though, my characters consist of multiple sprites (one for reach part of the body) that are drawn and animated separately. This meant that it w...

How I Designed and Built a Custom Picture Frame for Polaroid Photos

Introduction As a lover of Polaroid photography, I’ve always wanted a simple, stylish way to display my favorite shots. However, I quickly realized that finding a frame specifically designed for a single Polaroid photo was nearly impossible. That’s what led me to design and build my own. This post will take you through my journey, from the design process to overcoming challenges and provide a step-by-step DIY guide so that as long as you have a laser cutter handy, you can build your own! The final version: looking rather professional but getting there was a journey The Inspiration & Initial Design I love the nostalgic charm of Polaroid photos, but I wanted a way to showcase them individually rather than in albums or on string clips. Traditional photo frames didn’t fit Polaroids well, often leaving too much space or cropping the unique white border. This motivated me to design a frame that perfectly fits a single Polaroid, allowing it to be displayed cleanly while maintaining its ae...