Friday, 1 November 2019

What team? VNC!



This week, I'd like to introduce the team briefly.
Without insight into a team, it's difficult to get an idea of how many people it really does take to build and provision (write software for) a robot. So I'd like to give a quick overview of who we are. This is not something that is easy for everyone and every team to talk about, because some people are private, and some people don't want to commit, but mostly it's a privacy issue.

Our robot team have yet to decide on a robot name, but have divided up the jobs a bit according to our skillsets.
  • Conrad and Nicholas will be taking on the straight line challenge
  • Mark will be managing us and making the barrels for the hazardous waste challenge
  • Kate and Dom are tackling the machine vision problem for hazardous waste
  • Eden will be writing some blogs and designing the disaster shell of the bot

Printing the barrels - video
(EJ)



Monday, 28 October 2019

A new layer, not just paint

We have a new blog editor, and how I got to the paint store a little bit too late.
I did however get some cool stickers in a giveaway from Raspberry pi foundation, I now have a counter-statement to my windows XP statement.
My computer room (man-cave)

New Paint

The hazardous material challenge is quite difficult this year, if you are in intermediate team. It wants a bright red and green set of painted drums to be collected separately, and for the robot to just solve the puzzle on it's own with no human help. So off to the paint store, but not the hobby store, since I did not want to buy small pots. Sadly the smallest pots you can buy of coloured paint is 1 litre, so I am starting with samplers first in order to get the correct tone in a cheaper paint. If, it works out to be close enough, I'll share the paint maker and shade.

New Words

My word skills are at best dismal. At best I am known for being persistent, at worst, inaccurate and lacking in the grammar and tone department. So Eden will find it easy to make a big difference to this blog stream I hope. Eden is not only better at words, but also better at the design and graphical component of the project, which I am sure we are going to blow away the audience with. I look forward to getting a break from adding an article each week.

Finally a teaser clip. Not of our robot, but of a Boston Dynamics build, the most awesome robot building team. Watch till the end, and then leave a comment as to how long it was before you...


(CB)


Sunday, 20 October 2019

2020 Unnamed robot

I'm starting this week with some of the logistics of parts collecting to build your robot. I'm going to start with the brain. Our team has a robot that kinda works already, but is missing one major coolness feature. I'll be getting to that in future posts, but for now, the brain.

You will need a team of a half dozen once you get to the more advanced teams, and will need to focus on the mechanical and the brain at the same time to be able to have the robot ready for the big day. And so, on the brain we will start, and in the hope, I can give some clues as to the motorization side next week.

Every project requires a lot of tea, and some berry jam. Right now, you can see I'm just setting up my own rig, we want to have 2 rigs for the team to work on, to allow not a backup, but to allow parallel development, and to learn as quickly as possible.

1. Raspberry pi 4 in this build.
2. A display, anything HDMI ready is a good start, but regardless you will now need a micro HDMI cable. I'm using a old display here that takes a HDMI/VGA source, it worked perfectly, no need to mess with display config.
2. micro HDMI adapter (must be micro, not mini!)
3. 16 GB SD card (you want at least 2 cards prepared, they do fail a unlucky times.) Between your team you will have more cards, but be careful with them, they do get lost easily.
4. Keyboard - any one will do
5. Mouse Optional, but nice to have attached at various times.
6. USB-C cable. Cannot emphasize this one enough.
7. Camera, this will be the eyes of your robot. Any spare webcam will do to bootstrap us for now.
8. Heatsink . Yes, the pi4 overheats easily.

If you don't have a webcam , get the official pi one, the normal infrared filter version. Some of the original cameras are missing an IR (Infrared) filter. There's a story in how that happened: the first batch of pi cameras had a fault, they were missing a thin film which filters out infrared. That gave the camera the ability to actually see better in the dark. Which made it a hit with makers, because that turns out to be very useful in almost every maker application. It's possible to remove this filter in some cases, fiddly, but for this project, we want the one that comes without the filter. A USB webcam is bulky, but easier to work with to start out at this point.

You can buy everything online from a great number of sources. I'm going to be impartial as possible without being dishonest. I like to support the smaller businesses out there, amazon are easy to use, but are not a great role model. When we get to the mechanical post, I'll share more tips on where to buy parts from the smaller sellers, but all the basics can be bought by following links from the raspberry pi foundations' website. They have made it easy. You may end up a PiHut, Pimoroni, Element14 (Farnell) amongst others, but it's pretty much the same deal with very little variation.

 
Because our robot is going to be consuming a lot of power it's going to need batteries, but to save us messing about, I have a 12A supply handy. Notice the missing USBC power cable inlet and my GPIO hack.

You can grab a GPIO digram off the web and power the pi directly on the GPIO 5V pins as show in the image below. No risk of brownouts on account I have a super high capacity supply. We don't want brownouts either. more on that later. I'm going to show you a few tricks to reduce the prototyping costs as we go along. Because not everyone has access to an electronics parts bin. And the idea is not to have to need loads of spare parts anyway, it all costs. I am always scavenging old machines of all kinds. Most modern electronics are not good scavenge, the older it is, the better in general.


We are going to be using 18650 batteries, they are easy to get hold of, most laptop battery packs are made up of around 6 of them or something similar. You don't want damaged ones, new batteries will probably set you back £40 for a set.
Here you can also see my NOT aftermarket heatsink. It's clearly not a kit, because it's missing the second heatsink, because this heatsink came out of a dead power supply. It will need upgrading later, but for now, we are booted and can start coding. And that's the key, you need to work out how to start coding early while the rest of your team find the motors and other parts. It's all going to take longer than you think.

(CB)

Sunday, 6 October 2019

Entry Accepted

I bring you a quote to start this week off. "...peace seems to have meant not the absence of struggle, but the presence of love." Fredrich Buchner

Raspberries in a heart shape on a board

Well, now the crunch time starts. Our team has still not settled on a name for our rescue themed robot. Every team will be thinking of how to get the energy and motivation, and where that will come from, who will lead. Here's a secret tip.

It will come from you, from your effort - don't wait for a leader when you have a contribution to make now. Show it. And mostly, peace-out little robots.

(CB)

Thursday, 26 September 2019

All entries are in

If you missed this year's Piwars entry deadline, there is always plenty of peaceful Raspberry Pi action to be had and time to prepare for 2021. Do follow our blog, we will be following the action if we don't get in and I am sure our robot overlord (unnamed) will be silently plotting.
But since we are all up for the challenge, here is some inspiration, which will hopefully not put us off of our game even if our entry is not successful for 2020.

Here is what a typical entry might look like, I hope that by sharing a previous entry, you can get an idea of the level and work involved to be successful at the entry and the challenges. Just look at our high hopes in the questions we posed. <Some identifying data was removed>

Application form (for 2018)
Your name (Team principal):<name here>
Your e-mail address:<email address here>
Twitter handle:@realvnc
Contact telephone number:<number here>
Nearest town/city, county and country:Cambridge, Cambs, UK
Team/Robot name:VNCbot
Team category:Intermediate
Team details:Our team:
<member1>
<member2>
<member3>
<member4>

We all work at RealVNC.
Schools only - age of team members:
Proposed robot details:A wheeled robot with a video display - a literal remote framebuffer.
A small robot with a big character. We hope to make it so that visitors to our stand will be able to connect remotely and draw on the robot's screen or upload images.
Which challenges are you expecting to take part in?:Remote-controlled challenges (4 of them), Autonomous challenges (3 of them), Blogging (before the event)
Mentoring/Assistance:
File Upload:
Why do you want to enter Pi Wars?:RealVNC work very closely with Raspberry Pi. We've sponsored and exhibited at the show for the past 3 years, which we've greatly enjoyed. After attending the previous shows, a number of our employees want to participate by building a robot this year.
Any more information:Whilst we've not competed before, we've built and brought along some robots to previous events. Last year, we built a hedgehog robot which was demoed on our stand, and taken into local schools as a show-and-tell. We all regularly use Raspberry Pis at work and for personal projects.
There will be a £10 entry fee for each team. Please confirm you're happy with that.:Yes, the £10 entry fee is acceptable
Will you require an invoice for the entry fee?:Yes
Please confirm that you will be able to attend Pi Wars in person:Yes, at least one member of our team will attend and under-18s will be accompanied
If not selected, would you be happy to be a 'reserve'?:Yes
If not selected, would you be interested in exhibiting your robot in our Show and Tell area?:Yes
Have you competed in Pi Wars before?:
Any questions for us at this stage?:Can we use super capacitors instead of batteries to power the robot?

Can any image processing be done on a wirelessly-linked laptop, or does it all need to be done on the robot?

(CB)

Tuesday, 24 September 2019

2019 Antigravity

PiWars was space themed this year, so a little re-invention was required.
And so we began a new chapter under a new robot overlord
(pic here)

(pic here)
and so on...

2018 The VNCBot

I might not look that impressive, but this is how all self aware machines start out. You can see I was off to a happy start. I just needed some...
Clothes, yes.
They say the cloth maketh a man, or is that robot.... Not happy with this first pass, I had my loyal subjects try once more.


(CB)