Getting Started at the Hardware Meetup

Too busy to take any snaps at the meetup, here's a picture of some fireworks

I went to the Hardware Meetup with a bunch of things to do. Didn't get to do any of them because there was too much interesting chat. Which was great.

A few new folks turned up too and they were asking what to do to get started. Here's "Rob's Handy List of Hardware Fun Things to Do"

Get a bit of hardware to play with

The clue's in the name. We play with bits of hardware. This doesn't mean that you need to spend a lot of cash though. You can start with just an Arduino and a few leds and switches.  The Arduino is the embedded device that we like to start with. It's easy to program and cheap to buy.

The best place to buy an Arduino is probably eBay. The one you want to gets started is an Arduino Uno (or compatible). Search for "Arduino Uno". You should be able to pick one up for less than a fiver. 

An Arduino on it's own can't do much (although you can flash a light on it) so you might want to take a look at one of the kits that are available. You could start with one that contains a bunch of lights and switches and a few more advanced components. These are also on eBay; I quite like the ones branded Sintron, although others are quite good.

Download the Software

You program your Adruino using a PC, Mac or Linux device. The Arduino software is a free download from here.

Make something work

There are some getting started tutorials here that you might find useful. You can also search YouTube for Arduino videos; these are especially useful if you want to know how to use some of the more exotic devices in the kits.

Once you've got the examples working, have a go at something of your own.

Come to meetups

If you end up making something impressive, bring it along and show us. If you try to make something and get stuck, bring it along and we'll try to help out. We meet up approximately every two weeks at c4di in Hull. You can find the agenda for the meetups (and lots of other things) here.

Working at c4di

Getting started

The c4di is a great place to work.  I can say that with confidence because this week I've started working there. My home office is great, but there is nothing quite like "going out to work" to get things done. I've been given some space at c4di for a while to just "do interesting things" and I'm going to try and do just that.

I've made some progress with the next version of the HullPixelbot. Up until now the robots have been remote controlled, which is nice, but I really want them to be autonomous, i.e. able to look after themselves.

"That's easy" you say, "Just put a program into the robot.". Well yes, I could do that. The Arduino that I'm using is very easy to write code for. But you can only change the program by plugging the Arduino into the computer again, and I don't want to do that. Worse still, I want to be able to send the same program to many (perhaps even 100) robots at once.

So I've done what any self respecting Computer Scientist would do at this point. I've invented my own programming language, especially for HullPixelbots. It's not a very complicated language, but that's OK. It's a bit hard to understand, but that's OK too, since I'm going to write a little program that will generate robot programs and distribute them.

Today I got HullPixelbot Code working and added the ability to download programs via the serial port. I'd thought it would take a few days to get this working, but I had most of it working by lunchtime. Like I said, a cracking place to work.

I'm going to be setting up some events and whatnot over the next few weeks, but if you happen to be in the c4di please come and say hello. Just walk towards the coloured lights......

On the way out I noticed that they were preparing the tidal barrier.

The Robots are coming to c4di

Sam drives some robots..

I took my working pixelbots down to c4di and gave a talk tonight about how they worked. Before the talk I set out a small part of my robot arena and we all had a bit of fun steering them around using my chatbot client. 

Thanks to everyone who came along. Some very useful conversations. I left with some good ideas for improving the system. I'll be putting the presentation and the code up soon. Keep watching the blog for details. 

Hardware fun at C4DI

I could tell you what this is, but then I'd have to kill you....

We had another great hardware meetup at c4di this week. Some new folks who turned up to see what all the fuss was about, quite a few HullPixelbot devices wandering around and some very enjoyable technical chats about this and that. 

The next meeting is at the start of November. You can find all the Hardware Group meetings, along with other c4di meetups, here:

http://www.meetup.com/Hull-Digital-Hull-Open-Coffee/

Hull Pixelbot Problem Solving

We had a great time at the c4di hardware meetup last night. We had some more new faces drop by, including one family who were out for a walk around the waterfront and just came into see what all the fun was about. This was great for me, as I was able to try out some HullPixelbot arenas that I'd made up.

The idea is that you get a robot, an arena and a programmer interface that makes the robot move and turn. And then you have to navigate the robot from the start to the finish. 

The one on the left is quite simple, except that you don't know what the numbers used to control the robot actually mean. 

Anyhoo, we managed to navigate the above arena and make the robot stop in exactly the right place. Then we moved onto a more complicated one and then I got clever, tried to make the robot retrace its steps and had it turn the wrong way and nearly fall off the desk. On well. 

The great news for me is that the folks who happened to drop by left with a kit of parts for the robot chassis and the intention to come back with a completed robot for the next Hardware Meetup. 

If you want to come along the meetups are open to anyone who fancies a bit of hardware fun and games. You can sign up here

Big Fun Hardware Meetup

Firstly, if you were planning on coming to the Hardware Meetup tonight I'm sorry about the traffic problems. These were caused by road closures for the Hull Freedom Festival which is this weekend. And during our meetup we had an awesome choir practising on the stage near c4di.

It was great to see some new faces in amongst the regulars. I gave out four or so Hull Pixelbot chassis and I'm looking forward to seeing some working robots next time we meet up. It was a great atmosphere and there seem to be lots of things going on at the moment, which is lovely. If you want to come along too you can sign up here

And you can find our more about the Hull Pixelbot, including new revised assembly instructions, here.

Hololens and Occulus Rift at c4di

I got to the c4di Hololens and Occulus Rift demos slightly later than planned thanks to a succession of red lights on the way. By the time I arrived the room was pretty much full and there were queues to try out the latest in virtual and augmented reality.

The interesting thing for me was the contrast in the devices. The Occulus  Rift is a fairly bulky device attached to a large, powerful PC. The Hololens just sits on your head with no cables, no external computers, just the device itself. It ran happily on batteries for the time I was there. I had a brief go with it and the experience was just as impressive as it was when I played with it last year. The thing about these devices for me is that, unlike things like stereo TV or multi-channel sound, people try them and just decide that they want more of this.

The Rift (and my weapon of choice - the HTC Vive) take you somewhere else. The Hololens takes where you are and adds value to the surroundings. They are both awesome technologies and I'm racking my brains to think of an area where they couldn't have an impact. Interesting stuff. Thanks to Trident for arranging the session. 

HoloLens and Occulus Rift at c4di

I've not got a HoloLens. Or an Occulus Rift. Yet. But I've had a go with both of them and they are really, really interesting. The way I see it, there are two game changers coming round the corner as far as computers are concerned. One is the Internet of Things, the other is virtual/augmented reality.  You need to know about both of them.

You can get to play with the new versions of reality  at a c4di event on Thursday morning this week, which is open to all. Sign up here. It's free. I'm going.

Very Busy Hardware Group at c4di

We had a really busy Hardware Meetup last night at c4di. Plenty of new faces, and quite a few folks who'd taken HullPixelBot kits and brought them back made up. I showed off the latest software and the HullPixelBot improvements and it was lovely to see so many people on the night. 

I'm going to be releasing some new software for HullPixelBot in the next week or so, to coincide with the first public appearance of HullPixelBot at the Amy Johnson Maker Fest on August the 27th next week. If you want to come along and see what we are doing we'll be in Zebedee’s Yard, Whitefriargate, Hull HU1 2EX along with lots of other folks between 10:00am and 16:00 pm. 

If anyone fancies helping me "man the stand" over the day then I'd love to hear from you. Ping me a message via twitter (@robmiles) or email (rob@robmiles.com) and we can get some kind of timetable together. 

If you want to come along and take part in the hardware group (you don't have to build a robot, but we'd love it if you built something) then you can keep track of the meetups and sign up here

Hull Looks Great

Every now and then I take a picture that I'm really, really, pleased with. This is one of them. I took it today wandering round the waterfront in Hull. This is fast becoming one of my favourite places. The Fruit Market is coming along a treat and interesting cafes and shops are springing up. It's a pity you have to cross the A63 to get to this part of town, but it's well worth a few seconds waiting at a pedestrian crossing. 

I took a few more pictures that I'm happy with. You can find them here

Putting the Pixel into HullPixelBot

I've reached the point in 3D design where the hard part is not expressing the design. It's deciding what the design should be. I regard this as progress. Above you can see the new pixel mounts for the HullPixelBot that we've been playing with at C4DI.

Each bot will have two pixels. One at the top between the wheels to make it easy to do persistence of vision photography. And one at the back for other HullPixelBots to find and follow. 

I unveiled the new design to an awestruck audience at the hardware meetup tonight. Unfortunately I also unveiled a rather nasty power issue where the robot motors cut out when the lights were turned on. Oh well. It might be that we need extra volts for the pixels...

Anyhoo, I'll be posting the new designs in a little while, once I'm sure that it all fits together properly.  

I gave away a couple of 3D printed kits to new folks who had come along. If you want to come, get some parts and have a go at building your own robot (it won't cost you more than a tenner to build) then sign up for our next meetup on 18th August. All are welcome, young or old, experienced or not. Sign up here

Martyn Talks Azure at C4DI

I like going to the C4DI developer meetups. If you are a programmer and you are based in Hull, you should go along too. You can sign up for developer and also the hardware meetups here

Anyhoo, this month we had Martyn Coupland talking about Azure. Martyn works for Inframon as a "Senior Cloud Architect". As he said his job title I had this vision of a meeting full of serious faced engineers saying things like "And this is our new Cumulonimbus 5000, with extra fluffy light bits...". But that would be silly.

What Martyn actually does is map business process onto platforms based in the "cloud". The cloud is basically a bunch of computers on the end of a high performance network connection. It is how you turn computing into a service, rather like water or power, which you can buy based on your needs.

If you have a thing you want to do, for example host a web site, provide the back-end for an application or even run a business, the first thing you do isn't buy a big rack of computers. What you do is talk to someone like Martyn who will design you a system that lives in the cloud.

If your idea takes off big time you don't have a problem, you just crack open the champagne and turn on more cloud based processing power. If your idea sinks without trace you put the champagne back in the fridge, chalk it up to experience and work on the next project, reflecting that at least you haven't got a room full of expensive hardware to get rid of.

Martyn gave a very good rundown of how Microsoft Azure works and how good it is. I knew a bit of this from the Rather Useful Seminar by Caitlin and Peter but it was very interesting to hear how it has progressed even in this short time. Most amazing fact for me was that the majority of Azure installations don't run Windows software. I forget the figure (forgot to write it down) but there are a huge number of open source solutions sitting out there on Microsoft infrastructure. It turns out that you can build an image using your favourite operating system, whatever that is, and then deploy it into the cloud very easily. 

At the end of the talk I was chatting with Martyn about Hull Pixel Bot and mentioned that I plan to make the robots all clients of an Azure based location and communication service. He reckoned that it was eminently doable, which was good to know.  He'll be coming back to Hull to do some more, implementation focused, sessions later in the year. He's also an MVP, which is nice.

Dual Processor Hull Pixel Bot

I think you should know I'm rather proud of this...

I've just finished building the prototype for the dual processor version of the HullPIxelBot. A single Arduino is a nice enough way to do simple robot control. But I want WiFi. And access points. And web servers. So I've coupled an ESP8266 device (in this case the Node MCU) up to an Arduino Pro-Mini. The Pro-Mini takes care of the low level motor control, producing the signals that will drive the steppers. The ESP8266 device doesn't really have enough pins for the motors, and it has better things to do than drive steppers, so I've linked the two with a serial connection.

Since the Pro-Mini costs around a pound and has a negligible effect on power consumption I reckon it is worth doing. At the moment we have a really simple one byte command protocol, but I can build that up a bit if I need to use the Pro-Mini to do some sensor integration. 

Next step is to work up the web side so that I can make a wireless, web controlled robot. Then we add the coloured pixels to the bot and we are really in business. 

I'll be releasing all the code and the circuit diagrams later. If you want to see the real thing, come along to C4DI tomorrow evening at 6:00 pm. 

Robot Building at C4DI this Thursday

We will be holding a special Robt Building meetup this Thursday (16th of June) at C4DI. I'll be bringing along a bunch of printed components (see above) for people to use to build their own robots. If you've been collecting the hardware to build your own robot, come along and we'll help you put it together and get it moving. 

I'll also be showing off the latest "two brained" version of the PixelBot and we'll be discussing the way forward. Everything will start around 6:00 at C4DI in Hull on Thursday. 

HullPixelBot planning at C4DI

We had another of our hardware hacking group meetings last night. Plenty of great discussion, a lot of it focused on the HullPixelBot. Robin had assembled one and added some sensors that allowed it to chase light. Which mostly worked. We're planning a "bot assembly" evening on the 16th of June. I'm going to print out a bunch of chassis and anyone who fancies a bot of their own can come along and build it with us. Then we'll try to get them all going. You can find the build instructions on the Hull PixelBot microsite here. They include how to get all the part's you'll need. It shouldn't cost you more than ten pounds or so. 

We also have a Google group about matters Hull PixelBot. If you want the details ping me a message (or add a comment) and I'll get you registered.