Category Archives: Microcontrollers

VoCore, Micropython, more Blinking

Lately I measured the maximum frequency I could get out of the VoCore by toggling a GPIO as fast as possible using various approaches. Today I wrote a simple Kernel module which allows me to set/clear a GPIO through IOCTL. Also I created a FFI binding to IOCTL for micropython and the usual test program […]

VoCore Maximum Blink Frequency

Today I did some testing on the maximum blink frequency I could get out of the VoCore using the “sysfs“ GPIO interface. I used four different candidates: A shell script A Python 2.7 program, basically the one described here (gist) A Micropython program, more or less the same as the above, but using native libc […]

VoCore, Micropython and the SYSFS

As I wrote a while ago I was not able to access the Kernels SYSFS through the build-in “open/read/write” methods from micropython. I thought this might be because of the old version of micropython which comes from the OpenWrt binary repository, but even rebuilding OpenWrt did’t change anything. Then I realized, there is FFI (foreigen […]

VoCore Arrived

Today my VoCore modules arrived from China (they are amazingly tiny). So time for a first LED blink right? Ok, I wanted to get things working quickly so I decided to go with the pre-installed OpenWrt and Python + sysfs. Unfortunately there is not Python on the device, and also the right package sources are […]

Propeller Tool-Chain Installer (GCC, SPIN, BST, ..) Updated

I updated my installer-script for the Parallax Propeller tool-chain (GCC, SPIN, BST and others) to make it work (agin) on Ubuntu 14.04. Main issue was that the current “makeinfo” seems not to be happy with some of the “.texi” files from “binutils” used by the Propeller GCC. Thus, I added a patch to the script […]

Operate Real Light From ComputerCraft

Recently I got notice about ComputerCraft, a Minecraft mod which is all about computers and programming in Minecraft. Each computer block could be connected to redstone in-/outputs, and is programmable in Lua. Today I installed the mod and played a little with it. The result is: I am now able to use a redstone switch […]

Hacking an SD-Card to Micro Python on STM32F4-Discovery

Some time ago, I wrote about how to install the amazin Micro Python on the STM32F4-Discovery. While this works very well, one might easily come to the point where the internal flash memory of the STM32 will be not enough. I guess, this is why the Micro Python board comes with an micro SD card […]

Linux Kernel Module to Control 434Mhz RC Outlets – Pi Version

Added a setup-script to cross-compile the Linux kenel module for the RC outlets for the Raspbarry Pi. To be able to cross-compile the module, in brief the following needs to be done: Install ARM cross-gcc On Ubuntu: sudo apt-get install gcc-arm-linux-gnueabi make ncurses-dev Get RasPi Kernel E.g. use Kernel from GIT: git clone https://github.com/raspberrypi/linux.git linux-raspberrypi […]

Linux Kernel Module to Control 434Mhz RC Outlets

Some time ago, I wrote about using an EDIMAX Smart Plug with Python. The EDIMAX has build in Wifi and runs its own web server. While this is convenient, it also makes the EDIMAX quiet expensive. Lately I got notice (thanks Eric), about very cheap 434MHz based plugs sold by Pollin for less then 10 […]

Case for STM32F4-Discovery Board

I finished a case for the STM32F4-Discovery board. It consists of two parts: the case body and the case cover. The cover is hold in place by two snap-ins. The cover has spaces for all the header, jumpers and buttons. Also I made the cover very thin at the places where the LEDs of the board […]