Little Keith: part one

Say hello to Little Keith, an unholy marriage of Lego, Arduino and breadboarding:

Here’s another view of the little blighter:

Some details. He’s powered by an arduino at the back there, and hardware wise he’s got:

  • two L293 motor controllers (the two chips on breadboard)
  • two bidirectional drive motors controlled by one of the chips, geared down a fair bit – each motor has three control wires
  • two photoresistors, one on each side, just for fun
  • an HC-SR04 cheap ultrasonic proximity detector, mounted on a panning head (which makes him bear a remarkable resemblance to Wall-E)
  • a third motor controlling the head, geared down a lot
  • a crude encoder – you can see it at the back there – based on a red LED shining through a hole at a photoresistor, which is occluded every time a bar, coupled to the pan motor, sweeps by it.
  • too many damn wires – three for each motor, for starters.

The motors are standard Lego motors, connected to the breadboard by wires made by cutting standard Lego connectors in half and soldering header pins onto one end. Works pretty well.

As far as the software goes, I’m using it as a test for a subsumption framework in C++, hopefully not using too much memory by using function passing to define the wiring. I’ll let you all know how it goes.

Oh yes – I’m aware that putting such a crappy little sensor on a panning head is almost pointless given what the FOV of the damn thing is likely to be :)

Twitter Updates for 2012-06-17

  • @stephenfry Hope you get time to read some Joyce later. #

Powered by Twitter Tools

Twitter Updates for 2012-06-16

  • @cstross I'm 44 and I learnt Haskell last year (part of a CompSci BSc) Did my head in, but now I miss its features in other languages. #
  • @prufrax @chris_bloke @cstross Monads. Arrows. Having to understand category theory before you can do anything important. in reply to prufrax #

Powered by Twitter Tools

Twitter Updates for 2012-06-13

  • Why does Tom Barnaby never figure out that the real killer is always Joyce? #

Powered by Twitter Tools

Twitter Updates for 2012-06-11

  • @chris_bloke we're fine, but it's been pretty surreal just outside town! in reply to chris_bloke #
  • @chris_bloke river in spate, llanbadarn flooded. The big roundabout in the valley completely underwater. Surreal and calm in the sun. in reply to chris_bloke #
  • Malcolm Gladwell thinks Gates will be remembered, but not Jobs, because of the former's philanthropy. #

Powered by Twitter Tools

Twitter Updates for 2012-06-10

Powered by Twitter Tools

Twitter Updates for 2012-06-09

Powered by Twitter Tools

Twitter Updates for 2012-06-01

Powered by Twitter Tools

Copyright © Found
Jim Finnis' personal blog

Built on Notes Blog Core
Powered by WordPress