Saturday, September 24, 2011

Update from the shed...

What’s going on then? Well, I have returned truly to my roots and I am working on electronics projects that will be available soon online and possibly in a store near you.

As I mentioned some time ago, the announcement that Google were adopting the Arduino open-source hardware platform for Android phones smacked me in the forehead like a well-aimed Cricket bat. I’ve never been a great proponent of open source but the idea of open source hardware somehow pushed my buttons (see what I did there?) Anyhoo, hacking, making, re-purposing and general interest in electronic hardware fiddling has resurfaced in a big way recently. Even in political circles, a realization that so many people are consumers of “stuff” and yet not many have the faintest inkling of how that stuff really works. Eric Schmidt tore the British Government off a strip for allowing education to bypass technical subjects (and rightly so Eric!) so now there is a scurry to create classes that teach programming in schools.
I am about to don my grandfatherly hat now and say things that I shuddered to hear when my own grandfather spake them many years ago. He said (and I reiterate) “Young folks of today have no clue of what it was like in my day, we had to….”  and then he went off on a long rant about bicycles and motorbike engines and how to make a steam engine out of discarded tin cans. I feel the same way about kids who consume XBox 360 games or Facebook apps without the slightest understanding of how a computer program functions or having never had to sit through the annoying whistle of a Sinclair Spectrum program that one wrote oneself loading via tape-cassette.
I began my career as a radio and T.V. engineer fixing things that still had vacuum tubes in. I had to know what a triode valve did and how to do the math to allow me to bias one correctly. Later, I wrote software in assembly language which drove the MIDI equipment I had designed and today, I have come full circle because I am still looking up the functions of TTL and CMOS integrated circuits to complete my designs for electronical gizmos that I am creating.

Lately, I have become aware that the desire for real understanding has surfaced again. We want children to learn Ohm’s law and to be able to actually program the computers that they use. Why? Because if we don’t, the next generation of electronic design engineers will suffer the same fate that this generation’s chemical engineers have suffered. There won’t be enough young people to take over the task of designing and building tomorrow’s iPad or tri-corder or whatever is needed. This is scary. I challenge you to find 10 people that you know and ask them what a spark-plug does. If more than four of them even know that one goes in a car engine I will be surprised. Then ask them where a nand gate is used…

I have begun a series of videos, soon to be released, that show how to make clever stuff with things like Arduino or PIC or Propeller microcontrollers. I have proven to myself that I can program an Arduino using Visual Studio 2010 and that I can use cheap or even free tools to create seriously cool electronics. There is a new move towards comprehending our complicated world and simplifying it in such a way that kids can grow up in it without thinking that they must consume but cannot control. The time for re-understanding has arrived. Be part of it!

Friday, September 16, 2011

The more I use Visual Studio the more I'm impressed by the way it outshines other development systems. The surprising thing is that I use Visual Studio for writing software on all sorts of platforms, not just Microsoft ones.
Currently, I am using VS for writing code to run on Arduino boards thanks to the Visual Micro addin.
Visual Studio can manage makefile projects easily as well as the VS solution files. This means that given the right makefile, one can edit and compile all sorts of code on the same IDE.

Thursday, September 15, 2011

Parallax

I just took delivery of two PARALLAX P8X32A Quick Start boards. These micro-controller boards have 8 32 bit cores each. 

I’m thinking parallel programming of some kind of complicated sensor mechanism.

Wednesday, September 07, 2011

Arduinos in the kitchen!

Had a couple of days of pure fun. I have been having a new kitchen fitted and one of the requirements from my wife was a touchscreen PC for recipies and streaming radio built in to the cabinets.
This was duly done with a nice little Asus touch screen running Windows 7.
The PC fits in a frame that hangs nicely in the 600 mm wide cabinet that is really designed to take a built in fridge and behind it there is a lot of unused space. I fitted an electrical socket in there to power the PC and the under-cabinet lighting (All LEDs) and wondered if the PC could be used in some home automation applications too.
I had an Arduino board hanging about and a relay adapter which I have assembled into a big PVC junction box. There are three mains sockets on the side and the arduino can switch mains power to each socket in response to a message sent to the USB port.
I have written a little program on the PC that sends commands to the arduino to turn the sockets on and off so now the lighting in the kitchen is all driven by the touchscreen.
The family are now realising the potential of this and have asked for an alarm clock that will start the coffee machine at 6:50 so that coffee is ready by 7:00 AM.
Wake up and smell the arduino...