Archive for the 'Raspberry Pi' Category

Elf article update: New wander demo, RoboPi pin maps

Wednesday, January 11th, 2017

I have added RoboPi pin maps and a new Python demo to my Elf robot article.

Hobbit @
(click on image for larger version)


The pin maps are on page 3, and the zipped “Wander” Python demo is on page 4.

RoboPi controller used for Elf:

Serving Raspberry Pi #7: Meet Berry Bot

Wednesday, October 26th, 2016

The November 2016 issue of Servo Magazine is out – and I got the cover!!!


It this article I started building Berry – a RoboPi + Raspberry Pi 3 based 4WD robot.

As you can see, Berry has a red 4WD chassis, Patriot USB power bank, RoboPi, Raspberry Pi 3, Sharp IR distance sensor, and a 9g micro servo.

What you can’t see is that Berry also has an L298N motor driver board, HMC5883L used as a compass, and a 4xAA cell battery pack to power the motors.

This article shows how to connect the parts, and presents some simple Python code for the compass.

For the full skinny, read Servo :)

Unpaid plug: if you are into bots, I highly recommend getting a Servo digital edition subscription – which also lets you read all back issues (including my past articles <grin>)

BTW, sorry about the lack of posts & articles, other work kept me busy.

That was a great vacation…

Wednesday, August 10th, 2016

Sorry for the lack of posts, I’ve been crazy busy over the last three months with a few consulting projects that needed to be done by specific dates.

Hobbit @

Wifey also thought I was working too hard took me on a vacation, who would have thought that being away from work and my lab could have been that relaxing?

Serving Raspberry Pi #7 has been delayed until the October issue of Servo, and #8 should be in the November Issue.

ODROID C2 Review, new Python API for RoboPi, updated Python API for PiDroidAlpha, Berry the Robot, and much more coming soon!

Serving Raspberry Pi #6: Virtual Bumpers, Robot HotSpot & Wireless Joystick Remote!

Sunday, May 29th, 2016

The June 2016 edition of Servo Magazine is out – and it has my sixth “Serving Raspberry Pi” article!


In this article, I upgraded Hobbit with:

  • two front virtual bumpers
  • a WiFi hotspot
  • a Rock Candy PS3 Wireless Joystick

The left joystick controls forward/reverse speed, and the right one controls turning/spinning in place – in short, Hobbit behaves like an RC car/truck.

I’ll be uploading the sample code and joystick library to the existing Hobbit article this week.

Hobbit article: Hobbit – Elf’s little brother – 2WD Raspberry Pi based Robot

I strongly recommend you subscribe to Servo Magazine digital edition – you will then get access to all past Servo articles (including mine <grin>)

Related Links:

My past Servo articles

Elf – 2WD Raspberry Pi Robot

SPRITE – Raspberry Pi Robot featured in Servo Magazine, January 2014

Pi Droid Alpha – the best educational Robot Controller for the Raspberry Pi

RoboPi – the most powerful Robot controller for the Raspberry Pi

Other Mikronauts Raspberry Pi Reviews, articles and products:

RoboPi Pure Python API & 64 bit RoboPi C library – it’s real close now!

Tuesday, April 26th, 2016

Raspberry Pi 2 Model B Review @

Good News:

  • pure Python RoboPi API works!
  • 64 bit C RoboPi API works!

Bad News:

  • readServo() in the firmware has a bug

Fixing the bug was trivial – the firmware returned two bytes too few for that packet.

I never found it as I have never used readServo(), a redundant function call in the API that reads back the last value written to the servo.

The native Python RoboPy library is more efficient than the previous Python wrapper against the C library, and uses less memory.

Looks like next week will have three software releases instead of two:

  • RoboPi firmware v0.95
  • RoboPiLib v0.95
  • RoboPiPyLib v0.95

There is no need to update your RoboPi firmware if you do not use readServo().