Skip to content

Commit

Permalink
Archivos
Browse files Browse the repository at this point in the history
  • Loading branch information
lpostel committed Dec 1, 2018
1 parent 876f4f9 commit 429a77d
Show file tree
Hide file tree
Showing 133 changed files with 453,066 additions and 0 deletions.
Binary file added DIY-master.zip
Binary file not shown.
Binary file not shown.
Binary file added DIY-master/DIY-master/3D print/OTTO_body_v3.stl
Binary file not shown.
Binary file not shown.
Binary file added DIY-master/DIY-master/3D print/OTTO_footL_v4.stl
Binary file not shown.
Binary file added DIY-master/DIY-master/3D print/OTTO_footR_v4.stl
Binary file not shown.
Binary file not shown.
Binary file added DIY-master/DIY-master/3D print/OTTO_head_v3.stl
Binary file not shown.
Binary file not shown.
Binary file added DIY-master/DIY-master/3D print/OTTO_leg_v4.stl
Binary file not shown.
46 changes: 46 additions & 0 deletions DIY-master/DIY-master/CODE_OF_CONDUCT.md
@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at camilo@ottodiy.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
33 changes: 33 additions & 0 deletions DIY-master/DIY-master/CONTRIBUTING.md
@@ -0,0 +1,33 @@
# How to contribute to OttoDIY effectively?
Otto builders are the community of Otto DIY [sign up our mailing list](http://eepurl.com/ceWDBr)

## 1. step one to contribute is to be an Otto builder

join the Otto builder [group in thingiverse](https://www.thingiverse.com/groups/ottodiy/)

## 2. step two is to build your own Otto!
How? download all the files in [ottodiy.com](http://ottodiy.com), then check our step by step in [Hackster](https://www.hackster.io/otto/otto-build-your-own-robot-in-two-hours-5f2a1c)
build it! and show to the world that [you have MADE an Otto in Thingiverse](https://www.thingiverse.com/thing:1568652/add_instance), by just sharing your pictures.

Thanks for joining us!

## 3. step three is to publish your innovative creation related to Otto DIY

a new code, new part design, fix an issue, idea or if the creation is definitely different but inspired on; is techinically a remix, so please [publish your REMIX in Thingiverse too](https://www.thingiverse.com/thing:1568652/add_derivative)
if you want to contribute more officially to the project [join us in the development of Otto DIY + in Hackster](https://www.hackster.io/ottoplus/otto-diy-arduino-bluetooth-robot-easy-to-3dprint-33406c)

Happy to have you as a part of the Otto Community :) and welcome!

keep sharing with us in any of our social media, friends, family [#OttoDIY](https://twitter.com/search?q=%23OttoDIY&src=typd&lang=en) and make sure more #Ottobuilder do the same everywhere.
we love to see Ottos around the world!

Interested to buy?  help us please to spread the word in Maker Faires, maker spaces, hackerspaces, schools and so on;
with enought people willing to buy, we will offer very affordable kits.

## Otto as Ed-tech tool
Interested to donate?
Further plans with Otto in STEAM education or robotic workshops or looking to partner? you can contact us: camilo@ottodiy.com

For now we are rewarding the best Otto builders and as always we will do it to keep sharing this knoweledge for FREE to the society.
Regards from Otto 
o++o
21 changes: 21 additions & 0 deletions DIY-master/DIY-master/LICENSE
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017 Otto DIY

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Binary file not shown.
42 changes: 42 additions & 0 deletions DIY-master/DIY-master/OTTO_ServoHome/OTTO_ServoHome.ino
@@ -0,0 +1,42 @@
//----------------------------------------------------------------
// Code to put all 4 servos in home position (90 degrees)
//-----------------------------------------------------------------
#include <Servo.h>
#include <EEPROM.h>
#include <Otto.h>
Otto Otto; //This is Otto!

//---------------------------------------------------------
//-- First step: Configure the pins where the servos are attached
/*
---------------
| O O |
|---------------|
YR 3==> | | <== YL 2
---------------
|| ||
RR 5==> ----- ------ <== RL 4
|----- ------|
*/
#define PIN_YL 2 //servo[0]
#define PIN_YR 3 //servo[1]
#define PIN_RL 4 //servo[2]
#define PIN_RR 5 //servo[3]

///////////////////////////////////////////////////////////////////
//-- Global Variables -------------------------------------------//

///////////////////////////////////////////////////////////////////
//-- Setup ------------------------------------------------------//
///////////////////////////////////////////////////////////////////
void setup(){
//Set the servo pins
Otto.init(PIN_YL,PIN_YR,PIN_RL,PIN_RR,true);
}

///////////////////////////////////////////////////////////////////
//-- Principal Loop ---------------------------------------------//
///////////////////////////////////////////////////////////////////
void loop() {
Otto.home();
}
76 changes: 76 additions & 0 deletions DIY-master/DIY-master/OTTO_avoid/OTTO_avoid.ino
@@ -0,0 +1,76 @@
//----------------------------------------------------------------
//-- Otto basic firmware v2 adapted from Zowi (ottodiy.com)
//-- CC BY SA
//-- 04 December 2016
//-----------------------------------------------------------------
//-- Otto will avoid obstacles with this code!
//-----------------------------------------------------------------
#include <Servo.h>
#include <Oscillator.h>
#include <US.h>
#include <Otto.h>
Otto Otto; //This is Otto!
//---------------------------------------------------------
//-- First step: Make sure the pins for servos are in the right position
/*
---------------
| O O |
|---------------|
YR 3==> | | <== YL 2
---------------
|| ||
RR 5==> ----- ------ <== RL 4
|----- ------|
*/
#define PIN_YL 2 //servo[2]
#define PIN_YR 3 //servo[3]
#define PIN_RL 4 //servo[4]
#define PIN_RR 5 //servo[5]
///////////////////////////////////////////////////////////////////
//-- Global Variables -------------------------------------------//
///////////////////////////////////////////////////////////////////
//-- Movement parameters
int T=1000; //Initial duration of movement
int moveId=0; //Number of movement
int moveSize=15; //Asociated with the height of some movements
//---------------------------------------------------------
bool obstacleDetected = false;
///////////////////////////////////////////////////////////////////
//-- Setup ------------------------------------------------------//
///////////////////////////////////////////////////////////////////
void setup(){
//Set the servo pins
Otto.init(PIN_YL,PIN_YR,PIN_RL,PIN_RR,true, -1, 10, 8, 9);
Otto.sing(S_connection); //Otto wake up!
Otto.home();
delay(50);
Otto.sing(S_happy); // a happy Otto :)
}
///////////////////////////////////////////////////////////////////
//-- Principal Loop ---------------------------------------------//
///////////////////////////////////////////////////////////////////
void loop() {
if(obstacleDetected){
Otto.sing(S_surprise);
Otto.playGesture(OttoFretful);
Otto.sing(S_fart3);
Otto.walk(2,1300,-1);
Otto.turn(2,1000,-1);
delay(50);
obstacleDetector();
}
else{
Otto.walk(1,1000,1);
obstacleDetector();
}
}
///////////////////////////////////////////////////////////////////
//-- Function to read distance sensor & to actualize obstacleDetected variable
void obstacleDetector(){
int distance = Otto.getDistance();
if(distance<15){
obstacleDetected = true;
}else{
obstacleDetected = false;
}
}

0 comments on commit 429a77d

Please sign in to comment.