STM32-Discovery on Linux

The following instructions should work for the STM32-Discovery (STM32F101 based device) and STM32f4-discovery (STM32F4 based device). The support tools are the same, the code obviously needs to be different. The instructions assume Debian Jessie. st-link seems a bit flakey, and I never get 100% of flashes to verify correctly. However it mostly seems to program …

Slippy maps

I’ve been looking at Javascript, googlemap-like maps. It seems that these are called “slippy maps”. There’s some useful information of the Openstreetmap wiki here. They recommend a few Javascript libraries, including LeafletJS and OpenLayers. I tried OpenLayers first, but it’s pretty big, just to get the examples working from github I’d need node.js/JVM etc… I …

msp430f2013 I2C frustrations

I’ve been trying to get a ST7032i based display working with a msp430f2013 on a EZ430-F2013. Unfortunately without much success. After hours of debugging I discovered that the glass on the display was fractured… guess I’ll be ordering some more. Anyway, it did get as far as acknowledging my commands. And I found a working …

Inside a 1USD Fingerprint reader

I picked up a finger print scanner on a whim in Akihabara the other day, it was only a dollar so I figured what the hell. Looks pretty normal. I figured it would have a cheap USB controller inside. Model NEC PU800-30-S02. Hmm 2.5W… that seems kind of high… It’s got an FPGA in it!! …