Project showcase

Running Breadboard © GPL3+

This is a great toy for your pets (if they are gentle) or just as a nice toy to have around the office or home.

  • 2,278 views
  • 1 comment
  • 14 respects

Components and supplies

Necessary tools and machines

3drag
3D Printer (generic)
For the legs we used PCTPE which is a flexible printing material, so that the legs could move more freely.

Apps and online services

About this project

Materials

Click on the magic link to circuito.io and you'll see the components for the project already selected for you.

The core components for this project are:

  • UltraSonic range finder
  • Arduino Pro Mini 5v
  • Hobby Motor Gear

As always, you can replace the components that we pre-selected for this project, with other components on circuito.io. For instance:

  • We used the LV-MaxSonar-EZ1 but you can also use the HC-SR-04 which is more common).
  • We used an Arduino pro-mini but you can also use Arduino Uno.
  • You can add a piezo speaker if you want sound for your project, or maybe LEDs that will light up depending on the direction the breadboard is going.

The possibilities are endless :)

Once you've selected the components you want, click on Generate.

Circuito.io Reply

On this page, you have three sections: BoM (Bill of materials), step-by-step wiring guide, and code.

Going through the BoM, make sure that you have all the parts you need. Notice that there are also peripherals such as capacitors and jumper cables, that are necessary for your project.

Next, follow the step-by-step wiring guide which will show you exactly how to put together your circuit.

Last, in the code section, you'll see a sample code for your circuit. This code is not specific for the running breadboard, but rather it is a sample code that activates the different components in your circuit.

To activate the code, follow these steps:

  • Download the code
  • Extract it to your computer
  • Open with Arduino IDE
  • Upload to your Arduino

If everything works properly, replace the test code you received from circuito.io with the code in this tutorial. Follow the instructions in the code section of the tutorial.

The Body

The running breadboard has three 3d printed parts:

  • Engine holder
  • Weight
  • Legs

The .STL files are in the CAD section. You can customize them as you like.

Enjoy your running breadboard project!

Code

Running BreadboardArduino
Replace the code you received in the circuito.io reply with the attached code.
No preview (download only).
Code for running breadboardArduino
in order for this code to work, first download the code from circuito.io as explained in the tutorial, then replace the void setup () and void loop () in the firmware tab of the original code with the code below. Leave the other tabs of the code untouched.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::                                                                ::
::          Copy and paste this code in the firmware.ino          ::
::            tab in the code you got from circuito.io            ::
::                                                                ::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

void setup()
{
  // Setup Serial which is useful for debugging
  // Use the Serial Monitor to view printed messages
  Serial.begin(9600);
  while (!Serial) ; // wait for serial port to connect. Needed for native USB
  Serial.println("start");



}

// Main logic of your circuit. It defines the interaction between the components you selected. After setup, it runs over and over again, in an eternal loop.
void loop()
{
  if (//Get distance measurement in cm. see also ultraSonic.getInches()
    ultraSonic.getCms() < 30)  {
    // The DC motor will turn on and off for 4000ms (4 sec)
    dcMotor.on(200);                        // 1. turns on
    delay(4000);                             // 2. waits 4000 milliseconds (4 sec). change the value in the brackets (4000) for a longer or shorter delay.
    dcMotor.off();                       // 3. turns off
    delay(1000);                             // 4. waits 4000 milliseconds (4 sec). change the value in the brackets (4000) for a longer or shorter delay.
  }
}

/*******************************************************

     Circuito.io is an automatic generator of schematics and code for off
     the shelf hardware combinations.

     Copyright (C) 2016 Roboplan Technologies Ltd.

     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation, either version 3 of the License, or
     (at your option) any later version.

     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>.

     In addition, and without limitation, to the disclaimers of warranties
     stated above and in the GNU General Public License version 3 (or any
     later version), Roboplan Technologies Ltd. ("Roboplan") offers this
     program subject to the following warranty disclaimers and by using
     this program you acknowledge and agree to the following:
     THIS PROGRAM IS PROVIDED ON AN "AS IS" AND "AS AVAILABLE" BASIS, AND
     WITHOUT WARRANTIES OF ANY KIND EITHER EXPRESS OR IMPLIED.  ROBOPLAN
     HEREBY DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
     NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY, TITLE, FITNESS
     FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND THOSE ARISING BY
     STATUTE OR FROM A COURSE OF DEALING OR USAGE OF TRADE.
     YOUR RELIANCE ON, OR USE OF THIS PROGRAM IS AT YOUR SOLE RISK.
     ROBOPLAN DOES NOT GUARANTEE THAT THE PROGRAM WILL BE FREE OF, OR NOT
     SUSCEPTIBLE TO, BUGS, SECURITY BREACHES, OR VIRUSES. ROBOPLAN DOES
     NOT WARRANT THAT YOUR USE OF THE PROGRAM, INCLUDING PURSUANT TO
     SCHEMATICS, INSTRUCTIONS OR RECOMMENDATIONS OF ROBOPLAN, WILL BE SAFE
     FOR PERSONAL USE OR FOR PRODUCTION OR COMMERCIAL USE, WILL NOT
     VIOLATE ANY THIRD PARTY RIGHTS, WILL PROVIDE THE INTENDED OR DESIRED
     RESULTS, OR OPERATE AS YOU INTENDED OR AS MAY BE INDICATED BY ROBOPLAN.
     YOU HEREBY WAIVE, AGREE NOT TO ASSERT AGAINST, AND RELEASE ROBOPLAN,
     ITS LICENSORS AND AFFILIATES FROM, ANY CLAIMS IN CONNECTION WITH ANY OF
     THE ABOVE.
********************************************************/

Custom parts and enclosures

Engine holder
Weight
For the legs we used PCTPE which is a flexible printing material, so that the legs could move more freely

Schematics

running breadboard schematics
diagram_(2)_zXSwFmokfH.fzz

Comments

Similar projects you might like

Valentine's Sunflower

Project tutorial by circuito.io team

  • 6,915 views
  • 11 comments
  • 22 respects

Evil Fruit Bowl for April Fool’s Day

Project showcase by circuito.io team

  • 4,702 views
  • 1 comment
  • 18 respects

3D-Printed Air Gate for Drones

Project tutorial by circuito.io team

  • 5,618 views
  • 2 comments
  • 27 respects

Backward Running Analog Clock with Three Steppers

Project tutorial by scott mangiacotti

  • 892 views
  • 4 comments
  • 8 respects

WALTER - The Arduino Photovore Insect

Project tutorial by Martedi

  • 22,960 views
  • 13 comments
  • 99 respects

Animatronic Tail by Circuito.io

Project showcase by circuito.io team

  • 4,090 views
  • 4 comments
  • 18 respects
Add projectSign up / Login