avatarJ3

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

4513

Abstract

te Line Follower — Algorithm for your EV3 PID Line Follower Robot</a> — Episode#15</p><p id="f550">5 Make a sandwich — Provide all the connections, mainly with the <b>power cords”/</b></p><figure id="8557"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*2_tDdYhT2hij46-kF9OsuA.jpeg"><figcaption>Fig 3. PitBot v1.0</figcaption></figure><figure id="e15b"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*FzF2isv3T7qcqesAiIWV6w.jpeg"><figcaption>Fig 4. PitBot upside down!</figcaption></figure><p id="f1c0">6 Upload the code</p><p id="6da2">[TODO: LINK TO THE GITHUB GOES HERE]</p><p id="e8cc">7 <b>Go</b> <b>to Impress Your Friends </b>;)</p><figure id="1e6e"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*HKJAMkhjUPuXIhMCaA2Xag.gif"><figcaption>Fig 5. Starting the PitBot’s adventure!</figcaption></figure><p id="c23f">Alright, thank you for reading this article. If you have some question, please feel free to send me a comment on the section below.</p><p id="f73b">Bye for now!</p><p id="2c04">Download All The Files For This Project</p><h2 id="35c7">Credits & References</h2><p id="990c"><a href="https://learn.adafruit.com/pixy-pet-robot-color-vision-follower-using-pixycam/playing-with-your-pet">Playing with your Pixy Pet!</a> by and from <a href="https://learn.sparkfun.com/tutorials">Sparkfun</a></p><p id="909a"><a href="https://docs.pixycam.com/wiki/doku.php?id=wiki:v1:building_the_pan_tilt_1">Assembling the pan/tilt Mechanism</a> by and from <a href="https://docs.pixycam.com/wiki/doku.php?id=start">Pixy Documentation Wiki Page</a></p><p id="6da3"><a href="https://docs.pixycam.com/wiki/doku.php?id=wiki:v1:run_the_pantilt_demo">Running the Pan/tilt Demo</a> by and from <a href="https://docs.pixycam.com/wiki/doku.php?id=start">Pixy Documentation Wiki Page</a></p><h2 id="f19b">Related Posts</h2><p id="fd5d">63Ardu_Series — <a href="http://xn--vnh2sp30-monster-5b6ib/%20Moto%20Shield?source=post_page---------------------------"><b>VNH2SP30 — Monster Moto Shield</b></a> — Use This Board In Extreme High-Demand Application — <a href="http://vnh2sp30/?source=post_page---------------------------"><b>Full-Bridge Motor Drivers — 30A@16v peak</b></a></p><p id="ee19">23° ArduSeries — <a href="https://readmedium.com/pid-sample-for-arduino-260eae8975a4?source=post_page---------------------------"><b>PID sample for Arduino</b></a><b> </b>— HowTo Control devices with PIDLibrary</p><p id="6a53">5/5 Part JayThree Balancing Car Project — <a href="https://readmedium.com/jaythree-balancing-car-project-part-5-5-2aaa48924428?source=post_page---------------------------"><b>PID without a PhD</b></a></p><p id="6907">01º Lego Episode — <a href="https://readmedium.com/lego-our-startups-journey-2db83f9e92a4?source=post_page---------------------------"><b>Our Startup’s Journey</b> </a>— Invaders and Invasions?</p><p id="859a">02º Lego Episode — <a href="https://readmedium.com/timmyton-lego-adventures-02-faae7d8c6fea?source=post_page---------------------------"><b>Timmyton </b><b>Lego-Learning-By-Playing — L2BP Series</b></a></p><p id="176b">04º Lego Episode — <a href="https://readmedium.com/lego-motions-episode-04-41dff47e8834?source=post_page---------------------------"><b>Lego Motions</b><b>Tribot v 1.0</b><b>Seeing Your Creation Move</b> </a>— Move Steering Block</p><p id="f755">05º Lego Episode — <a href="https://readmedium.com/lego-motions-move-tribot-around-deb227946425?source=post_page---------------------------"><b>Lego Motions </b><b>Move Tribot Around</b> </a>— And Backward…Five Programs Files</p><p id="bb39">06º Lego Episode — <a href="https://readmedium.com/lego-sensors-touch-n-color-edbe0f6642f?source=post_page---------------------------"><b>Lego Sensors</b><b>Touch N Color</b></a> — Two out of five human senses — Touch N Sight</p><p id="6142">07º Lego Episode — <a href="https://readmedium.com/lego-sensor-color-5db4d42e0203?source=post_page---------------------------"><b>Lego Sensor </b><b>LineFollower</b> </a>— Line Follower Tribot v1.0</p><p id="8bfa">08º Lego Episode — <a href="https://readmedium.com/maze-solving-tribot-v1-0-a29963f8742a?source=post_page---------------------------"><b>Maze Solving Robot v1</b></a><b> </b>— Lego Solution Right-Wall-Follower-Robot</p><p id="9a02">09° Lego Episode — <a href="https://readmedium.com/lego-gettle-sound-bots-5fb40f6d84df?source=post_page---------------------------"><b>Gettle_&_Sound_Bots</b></a> — How gentle can a robot be? What is the aud

Options

ible range of the human ear? How deep can we dive?</p><p id="eba2">10° Lego Episode — <a href="https://readmedium.com/lego-data-logging-a2fd59dd7933?source=post_page---------------------------"><b>Data Logging</b></a> — Data Collection and the EV3</p><p id="097f">11º Lego Episode — <a href="https://readmedium.com/lego-binning-the-linefollower-code-5562e059237e?source=post_page---------------------------"><b>Binning the LineFollower Code </b></a>— Binning: Arithmetic To Map Sensor Reading</p><p id="fbab">12º Lego Episode — <a href="https://readmedium.com/lego-a-proportional-linefollower-robot-d9a951debbef?source=post_page---------------------------"><b>A Proportional LineFollower Robot </b></a>— Advanced Math To Improve Your Robot’s Steering</p><p id="f2c7">8th KidSeries — <a href="https://readmedium.com/j3-folower-line-robot-v1-0-7ad68256de83?source=post_page---------------------------"><b>J3 Follower Line Robot v1.0</b></a> — The Simplest Follower Line Robot</p><p id="60e6">13º LEGO Theory — <a href="https://readmedium.com/lego-theory-multitasking-2f060d2e3678?source=post_page---------------------------"><b>Multitasking </b></a>— A very Useful Programming Technique</p><p id="94cf">14º LEGO formula — <a href="https://readmedium.com/lego-formula-normalizing-data-66fefd9eb90e?postPublishedType=repub&amp;source=post_page---------------------------"><b>Normalizing Data</b></a> — Converting Data to Use The Same Range</p><p id="6e50">15º Lego Episode — <a href="https://readmedium.com/lego-pid-the-ultimate-line-follower-45d4e517572b?source=post_page---------------------------"><b>PID — The Ultimate Line Follower </b></a>— Algorithm for your EV3 PID Line Follower Robot</p><p id="3f98">16° <a href="https://readmedium.com/lego-meets-pixy-8f8ea7677114?postPublishedType=repub&amp;source=post_page---------------------------"><b>Lego Meets Pixy Episode</b></a> — How to Connect Your Inexpensive Camera Module to Lego</p><p id="34df">18° Lego Episode — <a href="https://readmedium.com/lego-gears-worms-bf8ef3280d0e?source=post_page---------------------------"><b>GEARS & WORMS</b></a> — Geartrains & Worm & Clutch Gears</p><p id="2adb">23° Lego Episode — <a href="https://readmedium.com/lego-differential-explained-12fa1865f3db?source=post_page---------------------------"><b>Differential Explained</b></a><b> </b>— How Differential Works?</p><p id="35df">24 24° Lego Episode — <a href="https://readmedium.com/pitbot-a-star-is-born-e04a0f305fb6?source=post_page---------------------------"><b>PitBot — A Star Is Born </b></a>— Working at The First Structure in Our Sparring Robot</p><p id="c258">25° Lego Episode — <a href="https://readmedium.com/pitbot-is-agressive-well-no-worries-c801adba4b4c?source=post_page---------------------------"><b>PitBot Is Agressive? Well, No Worries! </b></a>— Making PitBot bite!</p><p id="6512">26° Lego Episode — <a href="https://readmedium.com/dancing-good-w-pitbot-16b5ef035077"><b>Dancing Good w/ PitBot</b></a> — All The Secret for Replicate This Awesome Robot</p><p id="875c">27 ° LEGO Episode — <a href="https://readmedium.com/lego-sumo-arena-is-ready-64a59e8bf987"><b>Sumo Arena is Ready! </b></a>— Here is the playing arena for Arduino x Lego</p><p id="bf85">28 ° LEGO Episode — <a href="https://readmedium.com/pick-pitbot-up-7dbfa4edc12e"><b>Pick Pitbot Up!</b></a> — Our Robot Are Leaving Body & Paint Shop</p><p id="edbc">28 ° LEGO — B — Episode — <a href="https://readmedium.com/pitbot-battery-sensor-setup-4f572fedfe20"><b>Pitbot Battery & Sensor Setup</b></a> — Preparing The infrastructure for running Arduino code</p><p id="9e17">29 ° LEGO Episode — <a href="https://readmedium.com/bridging-all-sensors-together-pitbot-ca8803bf9cb"><b>Bridging All Sensors Together</b></a> — Pitbot — Collecting All Codes for the Final Act of Giving Behaviors to Robot</p> <figure id="133c"> <div> <div> <img class="ratio" src="http://placehold.it/16x9"> <iframe class="" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F3c7Fcy24AJU%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D3c7Fcy24AJU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F3c7Fcy24AJU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" allowfullscreen="" frameborder="0" height="480" width="854"> </div> </div> </figure></iframe></div></div></figure></article></body>

PitBot Is Agressive? Well, No Worries!

Making PitBot bite! Lego Episode #25

In This episode, we’re gonna make PitBot Run after a yellow cup :|

Fig 1. Pitbot bite! PitBot is a pitbull dog’s robot-like that will be used for LEGO’s Sumo Training :)

It is heavily based on SparkFun code from Playing with your Pixy Pet!.

There, the SF’s guys use Arduino Leonardo and Zumo Robot from Pololu — The official Arduino Leonardo has been discontinued =/

In my implementation, I will use Arduino UNO Rev 3, DoRobot (Meet DoRobot — Assembly Techniques) and SparkFun Monster Moto Shield and Pixy Camera (oops I almost forgot:)

Fig 2. Just made it! It works! PitBot running after a yellow cup:)

Let’s get it on!

How can you replicate it at your home?

First, Here’s the code:

[TODO: THE CODE GOES HERE]

The first thing you’re probably asking for is about the USB cable…Good question, though!

There is a need for another 5v battery. Although I have provided the PitBot with two batteries, one for Arduino (Li-ion 18650 7.4V 1500mAh battery with PCB/PCM and connector) and another for the two 12 Volts DC Motors (ZIPPY Compact 1000mAh 3S 35C Lipo Pack), Pixy needs a VCC power too...

That’s the next challenger! (Do you have an idea how to fix it?)

But for now, enjoy this implementation as it is. It took me a day to translate the Sparkfun’s code. There is room for improvements, though. That’s for sure!

Step-By-Step

1 Mount The $25 Bucks Chassis

Here you can follow my pretty neat tutorial about mounting DoRobot :)

Meet DoRobot — Assembly Techniques — J3C3-Caterpillar-Crawler-Chassis v1.0 — ArduSerie#46

2 Get acquainted with the SparkFun Monster Moto Shield’s novelties

VNH2SP30 — Monster Moto Shield — Use This Board In Extreme High-Demand Application — Full-Bridge Motor Drivers — 30A@16v peak — Ardu_Serie#63

3 Enjoy LEGO’s PID use with Pixy Camera and understand all the intricacies to make this cheap charmedlabs’ camera working with the not-so-really-inexpensive LEGO MINDSTORMS EV3 31313 Robot Kit :)

Lego Meets Pixy — How to Connect Your Inexpensive Camera Module to Lego — Episode #16

4 Make a debut about PID’s subject (if you already haven’t…); check out and make sure you can find PID’s issue comfortable enough

Lego PID — The Ultimate Line Follower — Algorithm for your EV3 PID Line Follower Robot — Episode#15

5 Make a sandwich — Provide all the connections, mainly with the power cords”/

Fig 3. PitBot v1.0
Fig 4. PitBot upside down!

6 Upload the code

[TODO: LINK TO THE GITHUB GOES HERE]

7 Go to Impress Your Friends ;)

Fig 5. Starting the PitBot’s adventure!

Alright, thank you for reading this article. If you have some question, please feel free to send me a comment on the section below.

Bye for now!

Download All The Files For This Project

Credits & References

Playing with your Pixy Pet! by and from Sparkfun

Assembling the pan/tilt Mechanism by and from Pixy Documentation Wiki Page

Running the Pan/tilt Demo by and from Pixy Documentation Wiki Page

Related Posts

63Ardu_Series — VNH2SP30 — Monster Moto Shield — Use This Board In Extreme High-Demand Application — Full-Bridge Motor Drivers — 30A@16v peak

23° ArduSeries — PID sample for Arduino — HowTo Control devices with PIDLibrary

5/5 Part JayThree Balancing Car Project — PID without a PhD

01º Lego Episode — Our Startup’s Journey — Invaders and Invasions?

02º Lego Episode — Timmyton Lego-Learning-By-Playing — L2BP Series

04º Lego Episode — Lego MotionsTribot v 1.0Seeing Your Creation Move — Move Steering Block

05º Lego Episode — Lego Motions Move Tribot Around — And Backward…Five Programs Files

06º Lego Episode — Lego SensorsTouch N Color — Two out of five human senses — Touch N Sight

07º Lego Episode — Lego Sensor LineFollower — Line Follower Tribot v1.0

08º Lego Episode — Maze Solving Robot v1 — Lego Solution Right-Wall-Follower-Robot

09° Lego Episode — Gettle_&_Sound_Bots — How gentle can a robot be? What is the audible range of the human ear? How deep can we dive?

10° Lego Episode — Data Logging — Data Collection and the EV3

11º Lego Episode — Binning the LineFollower Code — Binning: Arithmetic To Map Sensor Reading

12º Lego Episode — A Proportional LineFollower Robot — Advanced Math To Improve Your Robot’s Steering

8th KidSeries — J3 Follower Line Robot v1.0 — The Simplest Follower Line Robot

13º LEGO Theory — Multitasking — A very Useful Programming Technique

14º LEGO formula — Normalizing Data — Converting Data to Use The Same Range

15º Lego Episode — PID — The Ultimate Line Follower — Algorithm for your EV3 PID Line Follower Robot

16° Lego Meets Pixy Episode — How to Connect Your Inexpensive Camera Module to Lego

18° Lego Episode — GEARS & WORMS — Geartrains & Worm & Clutch Gears

23° Lego Episode — Differential Explained — How Differential Works?

24 24° Lego Episode — PitBot — A Star Is Born — Working at The First Structure in Our Sparring Robot

25° Lego Episode — PitBot Is Agressive? Well, No Worries! — Making PitBot bite!

26° Lego Episode — Dancing Good w/ PitBot — All The Secret for Replicate This Awesome Robot

27 ° LEGO Episode — Sumo Arena is Ready! — Here is the playing arena for Arduino x Lego

28 ° LEGO Episode — Pick Pitbot Up! — Our Robot Are Leaving Body & Paint Shop

28 ° LEGO — B — Episode — Pitbot Battery & Sensor Setup — Preparing The infrastructure for running Arduino code

29 ° LEGO Episode — Bridging All Sensors Together — Pitbot — Collecting All Codes for the Final Act of Giving Behaviors to Robot

Arduino
Sparkfun Monster Motor
Lego Serious Play
Pitbull
Pixy Camera
Recommended from ReadMedium