Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.99 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.99 KB

hello-puppy

The Puppy Robot is one of the robots that can be built with the LEGO Mindstorms EV3 Education kit. I wrote a small leJOS program for it to entertain my children. :) The implemented behaviour is rather simple. Anyway, it may serve as a starting point for further experiments with this robot.

Here is a short video demonstration on youtube:

Puppy video on youtube

How to get it run

You should have a LEGO Mindstorms EV3 brick with leJOS installed and an Eclipse working space where the leJOS plugin is available (see the leJOS wiki page for details). Instructions:

  1. Build the robot (building instructions can be found in Fabian Deitelhoff's Blog (x)
  2. Checkout the code and import it into the Eclipse Workspace.
  3. Use the EV3control GUI tool that comes with the leJOS eclipse plugin to connect to the brick and move the head (Motor 3) all the way down.
  4. Right-Click on the wav-files in the sound folder and upload them via leJOS EV3 -> Upload...
  5. Run the program (Run as -> LeJOS ...)

(x) I am not responsible for the content of this external link

What it does

You can wake the puppy by pressing the touch sensor on the back. When the puppy is awake, you can present the different colors from the bone (green color is not implemented yet) and the puppy reacts differenlty. After 10s idle time, the puppy sits down and starts to sleep.

Note: The most difficult part is the stand up procedure. Since I've build the robot using the rechargeable battery pack, its head is very heavy and so the puppy easily falls on his face. You might need to tweak the standUp() method when you are using batteries (see Legs class).

License

General Public License 3, see LICENSE.txt.