$USD
  • EUR€
  • £GBP
  • $USD
TUTORIALS Arduino

How to Build Your Own Claybots

DFRobot Feb 24 2014 225

Do you love the idea of building some tiny cute creatures with clay? Like a cat, the hulk, or even yourself? and how about giving them life? Yes, this can be done within steps. All you gonna need will only be arduino, a lit bit of patience, and a childish heart. 
Just like any other creature on earth, Claybots have four main body parts: the brain, the heart, the acting part, and the sensing part, which can be composed of a simple circuit with arduino. 
body of a claybot
the cheapduino
For example, a claybot that reacts to light - "lumio" is actually made of an analog ambient light sensor, a led, a cheapduino and battery. Really simple and straightforward, but the cool thing about it is that you can program its behavior whatever you like, at the the same time changing its appearance accordingly. I have to say it's really funny trying different looks and tweaking them. meet "lumio", a photosensitve claybot
the wiring diagram

How it Works

Example Code

int sensorPin = A0;    //ambient light sensor input
int ledPin = 9;       //led output
void setup()      //initialize
{
  pinMode(ledPin, OUTPUT); 
//  Serial.begin(57600);
}

void loop()    //run
{
  int sensorValue = analogRead(sensorPin);  //read data
//  Serial.println(sensorValue);
//  delay(200);
  if(sensorValue<150)
  digitalWrite(ledPin, HIGH); 
  else
  digitalWrite(ledPin, LOW); 
}

 Final Words

There are hundreds of other ways of building claybots, so start now and share a photo or video of your claybot on Facebook, Twitter, Instagram and Youtube with  #buildmyclaybot.

REVIEW