Final Blog Post

My concept for the final project is to create a robot pet that can be interacted with both physically and virtually.


My robot was inspired by Boston Dynamics’s robot.


I started out by researching all the components needed for creating my robot, which are 4 servos and one ultrasonic sensor. I used an Arduino as the main control board.


I connected all four servos to the Arduino and started to model and 3d print some test enclosures for the servos



Servo enclosure attempt 1:

Servo enclosure attempt 2:

Servo enclosure attempt 3:

Final enclosure for a single servo unit:


Then I began to work on the robot’s legs

Leg test:

Leg test 2(left):

Leg test 2(right):


After finishing the basic components, I put together an unibody frame that can hold all servos while carrying an Arduino board.

Unibody fram:



I connected all the essential parts and wrote the Arduino program for the robot to walk.



I added an ultrasonic distance sensor so that users can physically interact with the robot.



I looked up many methods to communicate with the Arduino using my laptop and found that bluetooth is the most efficient one.



I tried to shrink the robot size my making a custom PCB, the the board did not come out well.

Screen Shot 2015-12-19 at 1.05.21 PM IMG_0282



I tried again with prototype perfboard, but that did not turn out well either.



I kept with the Arduino board and started to work on a virtual interface for the robot, which let users to control the robot via their computers.


I took the design concept from a tamagotchi game machine.

Low Health Warning


It has a similar interface as the tamagotchi I made.

Screen Shot 2015-12-21 at 6.27.06 AM

There are two indicators, “heart” and “happy face”.

Heart indicates the health of the pet, the pet will die if it gets to zero.

Happy face indicates the mood of the pet; the yellow face will turn red, showing the pet is mad if the happy level gets below 40.

There are two options on the home page, FEED and REMOTE



Screen Shot 2015-12-21 at 6.26.20 AM

FEED lets the user to choose what to feed the pet (milk, apple ,or meat).



REMOTE lets the player control the robot

Screen Shot 2015-12-21 at 6.26.34 AM


The robot is physically interactive outside of the REMOTE tap, meaning that it will response to the user automatically.

When on the REMOTE page, the user can press S on the keyboard to make the robot sit, U to make the robot stand, and D to lay the robot down.



If health gets to zero the pet will die and the robot will show dead.

Screen Shot 2015-12-21 at 6.36.06 AM






Robot with bluetooth code:

Processing interface code:




Here’s the final demo video of the robot and its interface up and running.

Leave a reply

Skip to toolbar