<commit_before><!DOCTYPE html>
<html>
  <head>
    <meta charset='utf-8'>
    <meta http-equiv="X-UA-Compatible" content="chrome=1">
    <link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <title>Chojayr.github.io by chojayr</title>
  </head>

  <body>
    <div id="container">
      <div class="inner">

        <header>
          <h1>Pidro</h1>
          <h2>RaspberryPi + Motorcontroller + Python</h2>
        </header>

        
        <hr>

        <section id="main_content">
<h3>
<a name="welcome-to-github-pages" class="anchor" href="#welcome-to-github-pages"><span class="octicon octicon-link"></span></a>What is Pidro?</h3>

<p>Pidro is a remote control car (or we can consider it as a robot car since it was built to do something and can be control remotely) using Raspberry-Pi and a motor controller chips:</p>


<h3>
<a name="designer-templates" class="anchor" href="#designer-templates"><span class="octicon octicon-link"></span></a>Some Basics that you need to know first</h3>

 <p><a href="http://elinux.org/RPi_Low-level_peripherals#General_Purpose_Input.2FOutput_.28GPIO.29">About GPIO</a></p>
 <p><a href="http://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup">Basic GPIO set-up</a></p>
 <p><a href="http://www.pololu.com/product/713">TB6612FNG dual motor controller info</a></p>

<hr>
<h3>
<a name="rather-drive-stick" class="anchor" href="#rather-drive-stick"><span class="octicon octicon-link"></span></a>Materials that you need</h3>

<p>
 <ul>
	 <li><a href="http://www.pololu.com/product/713">TB6612FNG dual motor controller</a></li>
	 <li>RaspberryPi</li>
	 <li>2pcs 6V DC motor (tb6612fng can handle up to 15v supply for dc motor please read the datasheet)</li> 
	 <li>AA Batteries</li>
	 <li>battery holder for AA Battery</li> 
 	 <li>Prototyping Board(Bread Board)</li>
     <li>Jumper Wire (Solid)</li>
	 <li>Chassis and Wheel (you can buy some or you can custom on your own)</li>
 </ul>
</p>

<hr>
<h3>
<a name="authors-and-contributors" class="anchor" href="#authors-and-contributors"><span class="octicon octicon-link"></span></a>Wiring Details (for GPIO to Motor-controller)</h3>

<pre><code>
AIN1 => GPIO 27/21
AIN1 => GPIO 27/21    
AIN2 => GPIO 4        
BIN1 => GPIO 24       
BIN2 => GPIO 25       
AO1 => DC motor 1     
AO2 => DC motor 1
BO1 => DC motor 2
BO2 => DC motor 2
PWMA => 17
PWMB => 23
STBY => 22
VCC => 3.3v of RaspberryPi (pin 1)
VM => power source (for DC motors)
</code></pre>


<hr>
<h3>
<a name="support-or-contact" class="anchor" href="#support-or-contact"><span class="octicon octicon-link"></span></a>Wiring Lay-out (lame diagram)</h3>
<img src="images/lo-pidro.png">


<hr>
<h3>Check out the python script for controlling the DC motor</h3>
<section id="downloads" class="clearfix">
          <a href="https://github.com/chojayr/Pi-dro" id="view-on-github" class="button"><span>View on GitHub</span></a>
 </section>


<hr>
<h3>My Prototype</h3>
<iframe width="420" height="315" src="//www.youtube.com/embed/wn8POLiQeqg" frameborder="0" allowfullscreen></iframe>

<hr>
<img src="images/pdro2.png">

<hr>
<p>Confused or want to ask some questions? you can drop a dm  <a href="https://twitter.com/chojayr">https://twitter.com/chojayr</a> or contact jrlavina07 [at] yahoo [dot] com [dot] ph</a> and I will try to help out.</p>
        </section>

        <footer>
          Powered by <a href="http://pages.github.com">GitHub Pages</a>. Pidro project created by <a href="https://twitter.com/chojayr"><NAME></a>.
        </footer>

        
      </div>
    </div>
  </body>
</html><commit_msg>adjust something on index.htm<commit_after><!DOCTYPE html>
<html>
  <head>
    <meta charset='utf-8'>
    <meta http-equiv="X-UA-Compatible" content="chrome=1">
    <link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <title>Chojayr.github.io by chojayr</title>
  </head>

  <body>
    <div id="container">
      <div class="inner">

        <header>
          <h1>Pidro</h1>
          <h2>RaspberryPi + Motorcontroller + Python</h2>
        </header>

        
        <hr>

        <section id="main_content">
<h3>
<a name="welcome-to-github-pages" class="anchor" href="#welcome-to-github-pages"><span class="octicon octicon-link"></span></a>What is Pidro?</h3>

<p>Pidro is a remote control car (or we can consider it as a robot car since it was built to do something and can be control remotely) using Raspberry-Pi and a motor controller chips:</p>


<h3>
<a name="designer-templates" class="anchor" href="#designer-templates"><span class="octicon octicon-link"></span></a>Some Basics that you need to know first</h3>

 <p><a href="http://elinux.org/RPi_Low-level_peripherals#General_Purpose_Input.2FOutput_.28GPIO.29">About GPIO</a></p>
 <p><a href="http://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup">Basic GPIO set-up</a></p>
 <p><a href="http://www.pololu.com/product/713">TB6612FNG dual motor controller info</a></p>

<hr>
<h3>
<a name="rather-drive-stick" class="anchor" href="#rather-drive-stick"><span class="octicon octicon-link"></span></a>Materials that you need</h3>

<p>
 <ul>
	 <li><a href="http://www.pololu.com/product/713">TB6612FNG dual motor controller</a></li>
	 <li>RaspberryPi</li>
	 <li>2pcs 6V DC motor (tb6612fng can handle up to 15v supply for dc motor please read the datasheet)</li> 
	 <li>AA Batteries</li>
	 <li>battery holder for AA Battery</li> 
 	 <li>Prototyping Board(Bread Board)</li>
     <li>Jumper Wire (Solid)</li>
	 <li>Chassis and Wheel (you can buy some or you can custom on your own)</li>
 </ul>
</p>

<hr>
<h3>
<a name="authors-and-contributors" class="anchor" href="#authors-and-contributors"><span class="octicon octicon-link"></span></a>Wiring Details (for GPIO to Motor-controller)</h3>

<pre><code>
AIN1 => GPIO 27/21
AIN1 => GPIO 27/21    
AIN2 => GPIO 4        
BIN1 => GPIO 24       
BIN2 => GPIO 25       
AO1 => DC motor 1     
AO2 => DC motor 1
BO1 => DC motor 2
BO2 => DC motor 2
PWMA => 17
PWMB => 23
STBY => 22
VCC => 3.3v of RaspberryPi (pin 1)
VM => power source (for DC motors)
</code></pre>


<hr>
<h3>
<a name="support-or-contact" class="anchor" href="#support-or-contact"><span class="octicon octicon-link"></span></a>Wiring Lay-out (lame diagram)</h3>
<img src="images/lo-pidro.png">


<hr>
<h3>Check out the python script for controlling the DC motor</h3>
<section id="downloads" class="clearfix">
          <a href="https://github.com/chojayr/Pi-dro" id="view-on-github" class="button"><span>View on GitHub</span></a>
 </section>

<hr>
<h3>Prototype dry run</h3>
<iframe width="420" height="315" src="//www.youtube.com/embed/wn8POLiQeqg" frameborder="0" allowfullscreen></iframe>
<hr>
<img src="images/pdro2.png">

<hr>
<p>Confused or want to ask some questions? you can drop a dm  <a href="https://twitter.com/chojayr">https://twitter.com/chojayr</a> or contact jrlavina07 [at] yahoo [dot] com [dot] ph</a> and I will try to help out.</p>
        </section>

        <footer>
          Powered by <a href="http://pages.github.com">GitHub Pages</a>. Pidro project created by <a href="https://twitter.com/chojayr"><NAME></a>.
        </footer>

        
      </div>
    </div>
  </body>
</html>
{'fraction_non_alphanumeric': 0.18237271256068716, 'fraction_numerical': 0.024897298643097223, 'mean_word_length': 3.857315598548972, 'pattern_counts': {'":': 0, '<': 273, '<?xml version=': 0, '>': 301, 'https://': 10, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2422176', 'n_tokens_mistral': 3076, 'n_tokens_neox': 2842, 'n_words': 699}