retrointerfacing

- connecting past and future -

Archive for the ‘flatpack walker’ tag

Flatpack Walker with Sensor

without comments

As presented for the first time on FAB6, using a Sharp gp2y0a02 sensor the flatpack-walker just got a little bit smarter. As long as the distance sensor is triggered, the robot walks backwards.

flatpack

The code is still pretty simple:

// avoid obstacles using Sharp G2P sensor on Analog 0
#include <Servo.h>
Servo frontservo,backservo;
char walkpattern[] = {60,100,100,100,100,60,60,60};
void setup(){
  frontservo.attach(9);
  backservo.attach(10);
}
void loop(){
  for(int n=0;n<4;n++){
    if(analogRead(0)>500){
      frontservo.write(walkpattern[2*n]);
      backservo.write(walkpattern[(2*n)+1]);
    }
    else{
      backservo.write(walkpattern[2*n]);
      frontservo.write(walkpattern[(2*n)+1]);
    }
    delay(200);
  }
}

Written by edwin

August 22nd, 2010 at 7:40 pm

Posted in Arduino, Robotics, fablab

Tagged with

Flatpackwalker in news

without comments

http://www.protospace.nl/content/protospace-novu-editie-nl-rtl4 -> see the flatpack walker in action on dutch television - it has also been submitted in the unlimited design contest http://unlimiteddesign.nl/en/node/44/6
It is being used in the fablabtruck: http://www.fablabtruck.nl/nl/fablabtruck/lesprogramma.html
Also on idealize (read interview) http://www.idealize.nl/2009/09/udc-2009-edwin-over-simplewalker/

Joris van Tubergen (protospace) talks about the robot in this interview (see vimeo)

Written by edwin

January 20th, 2010 at 9:32 pm

Posted in fablab, fabrication

Tagged with

whiskers for the flatpack walker

without comments

So much for the ‘paws’, on to the whiskers. I used old guitar string which is very flexible (but does not permanently deform that easy) so it stays in shape nicely. The switch is made out of one loop of wire which normally does not touch the feeler-wire. As soon as the feeler is bended by an obstacle, it will touch the loop, making electrical contact.

The wiring to the arduino or ottantotto is quite easy too. See the schematic below:

whiskerschematic

A resistor and LED are soldered at the positive side. As soon as the switch makes contact, the LED will light up, and a low (0) will be sent to the microcontroller.

whiskers whiskercloseup whiskermounted

Written by edwin

June 8th, 2009 at 7:08 pm

Posted in Arduino, Robotics

Tagged with ,

simpleWalker = flatpackWalker

without comments

Okay.. by common consent my simpleWalker has been dubbed flatpack walker according to hack a day. Who am I to disagree.. It got posted on hack-a-day after my first-time-ever ‘instructable‘ I posted on this topic.

Written by edwin

February 24th, 2009 at 8:27 pm

Posted in Arduino, fablab

Tagged with ,

Fablab version of simpleWalker

without comments

At the protospace fablab I made a laser-cut wood version of the simpleWalker. It took only 5 minutes on the laser cutter, instead of an hour behind the bandsaw! I used 4mm birch plywood.

00-fabbing

The robot works well (and smells like a campfire … oh well…)
01-lasercutparts104-baseplate05-legplate106-legplate208-frameready09-addedelectronics

Again, it can be seen walking on YouTube (but with a lot more noise than the silent rubber feet used in previous versions)

Written by edwin

February 20th, 2009 at 6:45 pm

Arduino brain for simple walker

without comments

In the first version of the simple walker I used a custom atmega32 based board. I replaced it by a ‘custom’ version of the Arduino which I dubbed ‘ottantotto’

The microcontrollerboard is a breadboard version of the ‘ottantotto’ controller. It uses an ATmega88 instead of mega168 (mostly because they are cheaper, they sell for <2 eur at ledsee.com). This required altering the bootloader, arduino hardware-cores directory and file 'boards.txt'. Read more details and download the bootloader from the wiki.

breadboarduino

In some cases disturbance on the powerlines by the RC servo’s can cause the microcontroller to ‘freeze’. The capacitor I originally mounted is probably to small.. Adding an external 1000uF cap seems to solve the problems.
condensator1 condensator2

In the meantime I also made an arduino-sketch instead of the WinAVR gcc sources.. It is staggeringly simple:

#include <Servo.h>
Servo frontservo,backservo;
char forward[] = {60,100,100,100,100,60,60,60};
void setup()
{
frontservo.attach(9);
backservo.attach(10);
}
void loop()
{
for(int n=0;n<4;n++)
{
frontservo.write(forward[2*n]);
backservo.write(forward[(2*n)+1]);
delay(300);
}
}

on breadboard a simple programming dongle has been made (using a max232) which can be used in combination with an usb-serial adapter cable (or a plain RS232 cable) to program the board. It is fully Arduino compatible. Schematics can be found on the ottantotto wiki page.

10-programmer

Written by edwin

February 20th, 2009 at 5:19 pm

Posted in Arduino, DIY, Robotics

Tagged with ,

Simple Walker - finished

without comments

simplewalker

The simple 2-servo walker (which I hope to use as a fablab-ready robot kit) went through its first paces today. The microcontrollerboard used is an ATmega32.. my ‘ottantotto’s haven’t arrived yet :(

The robot walks well, now it’s time to make it turn, avoid obstacles, sit up, make noise, etc… You can see it walk on Youtube

If you want to build your own: see the previous post on construction details. You have to get some parts, such as two RC servo’s, 4 AA batteries, battery container, microcontroller board, etc..
onderdelenset

Then you have to make the mechanics. Here is a pdf which you need to cut or saw out of a sheet of polycarbonate, perspex, plywood .. walker

Written by edwin

February 10th, 2009 at 12:09 am

Posted in Arduino, DIY, Robotics

Tagged with ,