The claw is my master – I have been chosen – classic physical gaming with the Raspberry Pi

Ryan Walmsley has taken an old claw machine and retro-fitted a Raspberry Pi to control it. A custom controller board (pictured below) gives him 2 dual H-bridges to drive the three motors on the X, Y and Z axis and some Darlington transistors allow him to control the electromagnet inside the claw as well as the front panel light bulbs. The machine has a complicated power system which utilises 12V, 24V and 48V so there are power rails on there, too. Video streaming and code execution is done on an old computer running Ubuntu. Thanks to some very clever use of the GPIO Zero remoting functions, Ryan runs the code on the PC which then triggers the robotic behaviour on the Pi. You can play The Pi Claw over on this custom website which uses Twitch to stream video from the game. The game is only available when Ryan is, normally between 11am and 9pm, UK time.

For Jams and other events, Ryan has made it so that it is controllable via the front panel controls, keeping the original gameplaying action. You can read more about the project on Ryan’s blog.

New making magazine launched by Raspberry Pi – welcome to HackSpace – get it free!

Raspberry Pi Press (an arm of Raspberry Pi Trading) has just announced the launch of their new monthly magazine: HackSpace. In summary:

HackSpace is the new monthly magazine for people who love to make things and those who want to learn.

HackSpace is to be filled with projects for makers of all skill levels and the first issue includes articles on giving food a smokey flavour, make-it-yourself handheld consoles, a DIY trebuchet project and a feature on popular maker Becky Stern.

The first issue will be available from 23rd November and, excitingly, it is available for free on pre-order until 17th November. Go to the HackSpace website to order your free copy, or to order a box of copies for your local… umm… Hackspace.

On RaspberryPi.org, they’ve said that subscriptions are available “from £4” which makes me guess at an on-sale price of £5.99, but that’s just a guess. Apparently, it’s even cheaper if you already subscribe to The MagPi, which is cool.

Here’s the promotional video:

Hitchin Hackspace needs your help – and all you need to do is vote!

Hitchin Hackspace are currently renovating an abandoned toilet block and converting it into a physical hackspace or Community Workshop (you can view the details and view the size tables here). They need your help to get funding for the next stage. They’ve applied through the Aviva Community Fund and are at the stage where they need votes to get the funding. So, if you have a spare five minutes, please register and vote for them!

Their aims for the block are as follows:

  • Encourage STEM subjects and ‘making’ within the North Hertfordshire community
  • Provide access to tools and knowledge that would otherwise be unavailable to the community
  • Invest in, and house a range of equipment – from woodworking tools to digital manufacturing tools such as laser cutters and 3D printers which are beyond the budget of individuals
  • Get involved in outreach work with local schools and youth groups.

You get 10 votes to use, so you may find other projects that catch your eye, but if you could spare at least some of them for the Hitchin Hackspace project, that’d be great! 🙂

PiBorg and ModMyPi form partnership to bring out new Raspberry Pi boards

Jacob from ModMyPi (behind) and Tim from PiBorg (in front) along with Dexter (the dog) have just announced that they are moving forward in partnership. PiBorg will design new add-on boards while ModMyPi will handle manufacture and distribution. This is great news – PiBorg design some truly lovely boards and ModMyPi are well-placed to do the making and sending. For more, including some quotes from the guys, take a look at this post over at PiBorg.

GoPiGo 3 from Dexter Industries for the Raspberry Pi – a review

The GoPiGo 3 is the newest iteration of Dexter Industries‘ robotics kit. The US-based company was kind enough to send me one over for review a few weeks ago and I’m pleased to say I’ve now put it together and tried everything out. So, here’s my review. TL;DR: I can’t recommend it enough. Such a nice kit; so much added value. Buy it here.

Review

The hardware

The kit includes a two-part thick perspex chassis, motors, wheels, an AA battery pack and a special add-on board for the Pi which connects the Pi to everything else. And, oh yes, all the fixin’s and a screwdriver to put the kit together.

GoPiGo 3 contents

The first thing I needed to do was to go the Dexter website and take a look at the assembly instructions. I’m quite used, by now, to instructions being fairly sketchy for kits like this so imagine my surprise at the quality on display! These are clear instructions with loads of photographs like the one below:

The folks at Dexter clearly spent a lot of time on these, getting them just right. I went wrong once in the process, but it was pretty obvious that I had so I could remedy the situation quickly. Occasionally, you have to look quite closely at the (very detailed) photographs, but that’s so much better than not having enough of them! The robot felt pleasingly solid once assembled.

Let’s take a look at the components a bit more closely:

  • Chassis – this is made out of thicker-than-expected perspex with lots of holes laser-cut (presumably) for the fixings to go through.
  • Fixings – these are all metal and they give the product a ‘premium’ feel.
  • Ball castor – this is, again, metal. I was surprised that it wasn’t a wheel castor, but at least it’s decent quality (see below)
  • Motors and wheels – these are, a little surprisingly, of the ‘cheap Chinese’ variety. However, the saving grace of the motors is that they come with a pre-soldered shim that includes an encoder and a small circuit board that you plug into to connect the motor to the GoPiGo circuit board.
  • GoPiGo Circuit Board – this is the heart of the robot – it’s the red board that plugs into the Raspberry Pi’s GPIO pins. An unexpected good point about the board is that it is apparently compatible with every version of Raspberry Pi as it only uses 26 pins. This is great – old Pis are fully capable of running a robot, although I’d expect the software to be slightly slower. The circuit board houses power circuitry so that the Pi and the motors are all powered from the 8 AA battery pack that comes with the kit. Also on board are some functional Neopixel-like LEDs that are used as indicators for power and various other things. There are even two programmable LEDs on the top, where the Dexter logo’s robot’s eyes would be! Very cute. The last part to the board are some Grove-style sockets for adding sensors. All in all, a very capable, very nicely designed board.

Software

Of course, no robot hardware is really worth anything without some software to go along with it. The team who put the kit together recommend their own flavour of Linux – DexterOS. This operating system is designed specifically to work with the GoPiGo. You plug a wifi dongle into the Raspberry Pi, press the power button on the GoPiGo board and your Pi will boot up and create it’s own wifi hotspot. Then, using your laptop, phone or tablet, you get access to all the learning materials. This is where the GoPiGo/DexterOS really impressed me. It’s all about the learning. First of all, you’re introduced to Bloxter, a visual programming language which is based on Google’s Blockly.

You use the Dexter menu to traverse through a series of programming exercises…

… which take you into Bloxter to do the actual programming. Now, the way that Blockly has been adapted into Bloxter is very impressive. Everything you need to do the exercises, and to take it further, is there. Blockly is very similar to Scratch in the way programming blocks are used to construct statements, loops and conditions. In fact, if you’ve used this kind of visual language before, you’ll have a head start. I count myself as a bit of a beginner when it comes to visual languages, but I found Bloxter a breeze to use, and I can easily see it being a hit in the classroom. You can do very complicated things with Bloxter, just by combining the different movement blocks. Of course, if you also invest in the distance sensor you can do even more complicated things, and there are blocks for this too.

The programming possibilities don’t stop there, however. Included with DexterOS is a web-browser-based Python coding environment based on an Adafruit IDE. Various libraries and examples are pre-installed and, for the more advanced programmer, this is a great way of interacting with the robot. I used it a little (I’d seen the IDE before) and was impressed with what I found.

The last bit included with DexterOS is the ‘Drive’ mode. This is a simple point-and-click interface that allows you to drive the robot however you see fit. It is necessary, although of course it’s not of the most educational value – it does let you test the robot out simply, though, so I can see why it’s been included.

Price

All this great value-added does, of course, come with a price tag. The GoPiGo costs just under $100. This gets you the base package including everything I’ve mentioned above. For another $100, you can get the Beginner Starter Kit which also includes the Raspberry Pi, wifi dongle, servo package, distance sensor, microSD card with DexterOS written on, an 8GB USB drive (useful for OS updates) and a Pi power supply.

Opinion

To be honest, $99 for the base kit isn’t actually bad, considering the quality of the parts included. I’d have liked to have seen better motors – those yellow motors are so standard now – but then that would have bumped the price up. Also, the encoders and pre-soldering solution with the cable/socket is such a neat solution, this more than outweighs any deficiency in the motors. The chassis is nicely done and the GoPiGo main circuit board is fantastic. The ability to power the Pi and the motors from a single power source is also a nice addition – it saves the problem many robots have with needing two power supplies (one for the Pi, one for the motors).

I think, however, it is the addition of the software which fully exploits the circuit board that is the master stroke. The included programming exercises are what you’d expect from a premium product – there’s such a lot of classroom and home educational value on display here, and I want to congratulate the Dexter team for their work here.

Overall, then, a fantastic experience with the GoPiGo 3. Considering I left 2-3 weeks between using the product and finishing this review, I’m pleasantly surprised at how it stayed with me as a positive Raspberry Pi learning experience. I can especially see this kit as being a multiple-session learning exercise – get the kit, build the robot, program it. The price is reasonable. It’s not the cheapest out there by a long shot, but the material it comes with, the build experience and the package as a whole make it very easy to recommend.

The GoPiGo is available from Dexter Industries in the USA and from ModMyPi (base / starter kit) in the UK.