Picture of The Fearful Robot
Fearful Robot.jpg
The Fearful Robot
The Fearful Robot is scared of being in the dark. As the room gets darker you can see his heart beat faster and faster. When it gets to dark the robot flat lines it. Turn on the lights to calm him down or bring him back to life.

Components Needed:

1x Stuffed Animal
1x Breadboard
1x Arduino
3x LED's
1x 100 or 220 Ohm Resistor
3x 220 Ohm Resistors
1x 10K Resistor
1x LDR
1x Speaker or Piezo Buzzer

Components can be found at http://egrobotics.com/store/
This Project uses and Arduino Board and LDR Add-on Kit


The Code:

int flashrate = 0;
void setup() {
  pinMode(13, OUTPUT);
void loop() {
void loop() {  int sensorValue = analogRead(A0);
  int flashrate = sensorValue * .9;
      if (sensorValue > 80 ) {
analogWrite(3, 150);   
digitalWrite(13, HIGH);
  digitalWrite(3, LOW);
  digitalWrite(13, LOW);
    if (sensorValue < 80 ) {
    analogWrite(3, 150);
    digitalWrite(13, LOW);


Go to www.instructables.com/member/EGRobotics/ for more fun projects!
very cute, I'm glad he can be easily resuscitated!