Google AIY Voice Project

This months Mag Pi magazine was a bit special. It included a kit provided by Google to create a voice assistant using Google’s cloud platform. The kit provides everything you need aside from the Pi, SD card and power supply. You also need to attach the Pi to a screen in order to set up some of the software.

Over the weekend I decided to build the kit and see what it could do.

IMG_0871

Continue reading Google AIY Voice Project

Pimoroni Pirate Radio

Its been a fair while since I have posted anything here. This is largely because of a change of tactic when it comes to building things.

I came to the conclusion that the subscription based models did not represent good value for money and the level of support received considering the cost was very poor. There was also the problem of a long drawn out build due to the subscription model that was also exacerbated by delays and replacement parts being required.

So I started thinking about what I could build for the same price as a single model subscription and realised I could getting much more. This has started with some expert Lego models and Raspberry PI projects.

I have made a fair few things between my last post and now but I am going to start with a little PI project using the brand new PI Zero W. The PI zero is a smaller raspberry PI that is tiny compared to the standard size raspberry PI but not as powerful as the PI 3. The W version which has just been released adds WiFi and Bluetooth. Previously a PI Zero would have required a dongle or pHat* to use these technologies. This adds size to the computer and would require a hub considering it only has a single USB port.

*A pHat is a hat made for the PI zero (An extension board to provide additional functionality).

20170307194712
PI Zero W with headers soldered on

The project I am posting today is a fairly small PI project and my most recent one. There are a few I need to post about that I build before this one. This project is the Pimoroni pirate radio kit. The first noticeable thing about this kit compare to previous Pimoroni projects is its packaging. It comes in a nice project box and looks much more like something you would find on a shop shelve.

20170307181356

Inside the box we have the acrylic pieces / screws to build the case, a 5w speaker, the PI zero w and the pHat beat hat to provide audio, buttons and VU meter to the radio.

20170307193341
Opening the kit

Those are the core components need to build the radio but it also comes with the hdmi and usb adapters the PI zero needs to connect to standard size usb and hdmi cables. I usually connect a pi zero up to my monitor to setup SSH and WiFi but this can also be done by editing the sd card image before booting it. Finally the kit comes with some nice Pimoroni stickers to decorate the radio.

When building a kit that uses a hat the first thing I usually do is solder the headers onto the PI / hat. Headers can be soldered which ever way you want to suite your needs but the norm is to solder the male headers onto the PI and female onto the hat. This will enable you to switch hats easily.

20170307193703
I always use blue tak to push the board firmly onto the surface when soldering a header. This stops me knocking the board and moving it with my soldering iron.
20170307194703
The pins soldered. My soldering is slowly getting better.
20170307200806
The PI zero side by side with the pHat beat hat. Both have their headers soldered and are ready to go.

That’s all of the soldering done for the kit. Now all that needs to be done is the construction of the radio structure itself and connecting everything together.

20170307202334
First the legs get attached to the radio.
20170307202741
Then the middle piece containing the speaker grill.
20170307203246
Lastly the frosty clear front panel completes the radio structure.
20170307203722
The speaker and pHat beat is then attached to the back of the radio.
20170307204413
Lastly the speaker is wired up to one of the channels and the pi zero is slotted into the pHat.

There is a switch on the back of the pHat that must be set to single speaker mode.

20170307205224
The final and most important part of the build was adding the stickers. Its easy to get carried away so I only put two on.

The build took around 30 minutes and I had it up and running about 10 minutes after by following a guide on the Pimoroni forums.

It is currently using VLC to run a playlist of stations and the Pimoroni guys have made some python scripts to handle the buttons being pressed to switch station / volume etc…

I am more than happy with this setup at the moment as I only have to SSH into the pi to change the radio station list at the moment.

Finally here is a video of it in action!

 

 

A new project blending profession and hobby

I have always had an interest in robotics but never really gone out of my way to find myself a kit to get started. I recently thought about trying to build some sort of quad copter with A.I. but it could prove costly if the thing kept falling out of the sky or flew away.

Therefore I decided that a land robot would be preferable.

Here I have a kit I ordered from a robotics company I found in the back of a Linux magazine.

IMG_20140222_140256235

It comes with a tracked chassis and all of the electronic components required to build and program a robot that will use ultra sonic sensors to scan its surroundings.

Its exciting as I will be able to write the A.I. for the robot and improve on it to make it more intelligent.

I also have the option of adding additional circuit boards to the robot to add functions such as light and sound.

I will not be using the Raspberry Pi with it right away but I do have the option of integrating it in the future if I need to expand its functions.