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 missing. However, this could be easily fixed.

VoCore Top

VoCore Top

VoCore Size

VoCore Size

VoCore Bottom

VoCore Bottom

VoCore compared to ESP8266

VoCore compared to ESP8266

1) Add additional package source to /etc/opkg.conf

src/gz cheese_packages http://downloads.openwrt.org/snapshots/trunk/ramips/packages/packages

2) Update package index

opkg update

3) Install Python

Unfortunately the Python package has a unresolved dependency (to libcrypt). Thus, we need to fore the install:

opkg install --force-depends python

Now we are able to use this simple script (since the sysfs GPIO support is already enabled on the VoCore):

VoCore 1st Blink

VoCore 1st Blink


Note on Micropython

I was very happy to see that micropython is available as a package from the OpenWrt repository. So this was my first try. Unfortunately, mircropython was not able to read/write the sysfs pseudo-files, and thus I had to revert to „real“ Python.

Leave a Reply

You must be logged in to post a comment.