Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Jorvon Moss
Published © GPL3+

Build Your Own ROBOT MONKEY COMPANION BOT. DEXTER

Ever wanted a fun robot monkey that you can customize wear with you on adventure, or just use as an avatar, well I got the bot for you!

IntermediateFull instructions provided3 days7,678
Build Your Own ROBOT MONKEY COMPANION BOT. DEXTER

Things used in this project

Hardware components

SG90 Micro-servo motor
SG90 Micro-servo motor
×1
Adafruit PowerBoost 1000C
Adafruit PowerBoost 1000C
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
Hot glue gun (generic)
Hot glue gun (generic)
screw many

Story

Read more

Custom parts and enclosures

stomach

shoulder gear joints

ball joint arms

ball holder wrist

hands

micto servo gears

butt plate

thy ball joints

Hands 1a

feet

ears

tail

go pro 1

go pro bag clip

test clip

head 1a

head 1b

head 1c

neck gear

rib cage

chest plates

Schematics

circuit diagram

I used photoshop to edit this, but the set up is the same.

Code

Random moving servo cde for pro trinket

Arduino
its a code that moves the sevos 0-180 in random intervals
//this code was done using Adafruit Pro trinket assigning servo's to pins it is easily used for other microcontrolers 
#include <Servo.h>

#define SERVO_1_PIN 3
#define SERVO_2_PIN 5
#define SERVO_3_PIN 6
#define SERVO_4_PIN 8
#define SERVO_5_PIN 4
#define SERVO_6_PIN 10
#define SERVO_7_PIN 9

#define RND_SEED 0

#define wait 2000

Servo s1;
Servo s2;
Servo s3;
Servo s4;
Servo s5;
Servo s6;
Servo s7;


void setup()
{
  Serial.begin(9600);

  s1.attach(SERVO_1_PIN);
  s2.attach(SERVO_2_PIN);
  s3.attach(SERVO_3_PIN);
  s4.attach(SERVO_4_PIN);
  s5.attach(SERVO_5_PIN);
  s6.attach(SERVO_6_PIN);
  s7.attach(SERVO_7_PIN);

  randomSeed(analogRead(RND_SEED));

  delay(100);
}

void loop()
{
  long rand1 = random(50, 130);
  long rand2 = random(1, 181);
  long rand3 = random(90, 120);
  long rand4 = random(50, 130);
  long rand5 = random(1, 181);
  long rand6 = random(90, 120);
  long rand7 = random(1, 181);


  writeServo(s1, rand1);
  writeServo(s2, rand2);
  writeServo(s3, rand3);
  writeServo(s4, rand4);
  writeServo(s5, rand5);
  writeServo(s6, rand6);
  writeServo(s7, rand7);

  delay(wait);
}


void writeServo(Servo s, int angle)
{
  s.write(angle);
}

Credits

Jorvon Moss

Jorvon Moss

9 projects • 250 followers
Hi Odd Jayy Here I'm a tinker, who is design to make gadgets and robots, support me http://ko-fi.com/odd_jayy http://patreon.com/Odd_Jayy

Comments