"Sparky Luke" - my *mildly updated* SH Robot

Update - 23 May 2015

It's been a while since I first posted my SH robot, but in the meantime I've been tinkering about with it in my sparetime, mainly playing around with the code but also tacking on some odds and sods stolen from toys my kids have discarded. (As an aside, does anyone else around here find themselves eying off their kids' toys for parts?? Surely I can't be the only deadbead dad stealing bits from last year's annoying "Walking Talking Pooping Parent-Infurating Dora Doll" ^-^).

My kids have also christened the robot "Sparky Luke" (don't ask me where the hell that came from), and decked it out with sweet stickers (well, one wierd pink hammer and sickle sticker). Other modifications from the standard Start Here bot are as follows:

  • on/off switch
  • bump switch (coded to an interrupt)
  • LED
  • Weird guard mode code (I've posted the code if anyone is interested, but it's pretty rough as I don't have much experience with coding... the main thing that I found fun was to try and program some way to distinguish between and remember objects)

 I actually did most of these additions a few months ago, but I decided to make a video and post here as a record of where it got to, because I about to pull it apart completely and use my picaxe to play around with a laser, seven segment display and other random stuff I picked up from an electronic store a while back!

Hope you enjoy the video, and apologies for the gratuitous use of Flight of the Conchords' Robot song ^o^


 

Original Post

Well, after lurking around the LMR site for quite a few months I have finally gotten around to building my first robot!

This was a pretty daunting project for me at first - I have zero electronics experience, and only minimal experience with coding etc so it was a bit outside my usual comfort zone (I've done a bit of statistical scripting using R, and some GIS stuff but nothing like this). But I'm a little bit of a robot tragic (case in point - I've got a small collection of wind-up robot toys that I don't let my 3 kids play with) so once I stumbled across this website I just couldn't get the idea of building a real robot out of my head!

Anyways, after reading Fritsl's excellent tutorial about 300 times, watching a million 'How to Solder' YouTube videos, scouring electronics stores (both online and here in Perth), and generally obsessing over everything I could, I finally built my very own Start Here Robot. As you can see, I stuck to Fritsl's instructions very carefully because I wasn't confident enough to go 'off-piste'... the only minor differences between mine and his is that I used hotglue in place of tape, and I positioned the PCB upright (purely because my wires to the motors were too short).

I was very surprised when I put the batteries in at the end - voila, it works perfectly! Thanks Fritsl, and everyone else here at LMR!!!

Also, now that I've made it this far I'm already thinking "hmm - what next"... some of the next steps I've got planned (in no particular order) are:

  • tweak the code to "personalise" the behaviour a bit;
  • add an on/off switch (the little sucker squirms like crazy in my hands while I try to pull a battery out - I've already dropped it a couple of times);
  • add some LEDs (because it's just not a proper beginner's electronics project without LEDs);
  • add some tracks (no reason, they just look cool)
  • modify the code more heavily to add some different functions - maybe navigating a maze, or scanning for "danger"
  • build another robot - maybe a walker, a little beam style bot, or one of those cool wall racers!

I'm not quite sure what else I should do... perhaps add some other sensors, or add a remote control function. Looks like I'll be lurking around here some more to get some ideas :)

 

Drives around inside, avoiding obstacles. Uses PICAXE 28, Sharp IR distance sensor, Bump Switch


This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/sparky-luke-my-mildly-updated-sh-robot

Welcome to LMR

I’m sure I speak for everyone when I say welcome to LMR, congrats on your first bot and we look forward to seeing more from you!

Re: Welcome

Thanks mate!

Hey that’s really cool.

Hey that’s really cool. Seems to work really well and the unexplained seizure can only mean that it’s already become fully sentient and is trying to communicate with you via the medium of twirl dancing. Especially like the flight of the conchords soundtrack LOL!

Thanks danphobic, I like

Thanks danphobic, I like your explanation for the glitch! I’ve got a cheap laser that I’ll likely add to a future iteration, but hopefully it refrains from doing what most sentient (human) idiots do when they get their hands on a laser - shine it in the nearest person’s eyes! Actually, here in The Nanny State Australia even low power lasers are banned on those grounds, so thankfully they are cheap to buy from China on eBay.

Funny thing about the soundtrack - when I uploaded the video, YouTube automatically detected that the video included copyright material and that I wasn’t the rights holder. However, rather than make me remove the video they just stick ads on it, and send the revenue to legitimate holder… never knew about that!