<commit_before><!DOCTYPE html>
<!-- 
  This template is adapted from the W3Schools example page available at: https://www.w3schools.com/css/tryit.asp?filename=tryresponsive_col-s
  All edits to the template from W3Schools were done by <NAME> in October 2017
-->
<html>
  <head>
    <title>Mayfield Engineering</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/Open-Class-Website/styles/flexpage.css">
  </head>
  <body>
    <div class="header">
      <h1>
        Explorations in Engineering 2018
      </h1>
    </div>
    <div class="row">
      <div class="col-3 col-m-3 menu">
        <ul>
          <a href='/Open-Class-Website/narration.html' class='nounderline'><li>A Course in Context</li></a>
          <a href='/Open-Class-Website/units/' class='nounderline'><li>The Units of Learning</li></a>
          <a href='http://archive.fabacademy.org/2017/fablablccc/students/43/00aboutme/' class='nounderline'><li>Instructor: <NAME></li></a>
          <a href='/Open-Class-Website/finalprojects/' class='nounderline'></a><li>Student Final Projects</li></a>
        </ul>
      </div>
      <div class="col-6 col-m-9">
        <h1>Arduino & Physical Computing</h1>
        <p>
           An Arduino is a tool that we will use to learn about how microcontrollers 
           and attached electronics can interact with the 
        </p>
        <iframe width="560" height="315" src="https://www.youtube.com/embed/nL34zDTPkcs" frameborder="0" allowfullscreen></iframe>
        <h2>Arduino Basics</h2>
        <ul>
          <li>Hookup guide [Arduino & breadboard]</li>
          <iframe width="560" height="315" src="https://www.youtube.com/embed/fCxzA9_kg6s" frameborder="0" allowfullscreen></iframe>
          <li>Hello world/ Basic program structure</li>
          <li>Types of feedback for troubleshooting</li>
          <ul>
            <li>IDE error messages</li>
            <li>print(...); & println(...); [written feedback]</li>
            <li>println(...); [numerical/graphical]</li>
            <li><a href='https://learn.sparkfun.com/tutorials/sik-experiment-guide-for-arduino---v33/experiment-1-blinking-an-led'>LED/output</a></li>
          </ul>
          <li>Digital logic (generic, beyond Arduino)</li>
            <img src='https://upload.wikimedia.org/wikipedia/commons/4/4a/Truth_table_for_AND%2C_OR%2C_and_NOT.png'>
            <ul>
              <li>if</li>
              <li>or</li> 
              <li>and</li>
              <li>not</li>
            </ul>
          <li>Arduino core digital & logic operations</li>
          <ul>
            <li>#define (‘macro’ also called ‘IDE-swap’)</li>
            <li>Variables/Constants</li>
            <ul>
              <li>Variable types</li>
              <li>Variable scope</li>
            </ul>
            <li>If(...){...;}else{...;}	and	If(...){...;}</li>
            <li>digitalRead(...);	and	digitalWrite(...);</li>
            <li>for(int ...; ...; ...;){...;}</li>
            <li>while(...){...;}</li>
            <li>delay(...);</li>
          </ul>
          <li>Arduino analog simulation operations</li>
          <ul>
            <li>analogRead(...);	and	analogWrite(...);</li>
            <li>map(..., ..., ..., ..., ...);</li>
            <li>**calibration & offset</li>
            <li>**debounce & machine time</li>
          </ul>
          <li>Considerations for building real circuits</li>
          <ul>
            <li>Analog >>> Digital Voltages</li>
            <li>‘floating’ input pins</li>
            <ul>
              <li>Pull down resistors</li>
              <li>Built-in pull up resistors</li>
            </ul>
            <li>Maximum current limits on each pin</li>
            <ul>
              <li>‘half-brained’ circuits</li>
              <li>Transistors for small circuit control</li>
              <li>MOSFETs for medium circuit control</li>
              <li>Relays for huge DC & AC circuit control</li>
            </ul>
          </ul>
          <li>Functions</li>
          <li>Object Oriented Programming</li>
          <li>Libraries</li>
        </ul>
        <h2>Hardware (digitally controlled & other specialty)</h2>
        <ul>
          <li>Still need to make a list…</li>
        </ul>
      </div>
      <div class="col-4 col-m-12">
        <div class="aside">
          <h2>subject area content</h2>
          <ul column-gap:5px class="aside largelist">
              <li>item 1</li>
              <li>item 2</li>
              <li>item 3</li>
          </ul>
        </div>
      </div>
    </div>
    <div class="footer">
        <img src='https://upload.wikimedia.org/wikipedia/commons/6/6b/License_icon-mit-88x31.svg'>
        <p>
            <a href='https://opensource.org/licenses/MIT'>The MIT License</a>   Copyright 2017-present by <NAME>
        </p>
        <p>
            The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
        </p>
    </div>
  </body>
</html><commit_msg>arduino basics<commit_after><!DOCTYPE html>
<!-- 
  This template is adapted from the W3Schools example page available at: https://www.w3schools.com/css/tryit.asp?filename=tryresponsive_col-s
  All edits to the template from W3Schools were done by <NAME> in October 2017
-->
<html>
  <head>
    <title>Mayfield Engineering</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/Open-Class-Website/styles/flexpage.css">
  </head>
  <body>
    <div class="header">
      <h1>
        Explorations in Engineering 2018
      </h1>
    </div>
    <div class="row">
      <div class="col-3 col-m-3 menu">
        <ul>
          <a href='/Open-Class-Website/narration.html' class='nounderline'><li>A Course in Context</li></a>
          <a href='/Open-Class-Website/units/' class='nounderline'><li>The Units of Learning</li></a>
          <a href='http://archive.fabacademy.org/2017/fablablccc/students/43/00aboutme/' class='nounderline'><li>Instructor: <NAME></li></a>
          <a href='/Open-Class-Website/finalprojects/' class='nounderline'></a><li>Student Final Projects</li></a>
        </ul>
      </div>
      <div class="col-6 col-m-9">
        <h1>Arduino & Physical Computing</h1>
        <p>
           An Arduino is a tool that we will use to learn about how microcontrollers 
           and attached electronics can interact with the 
        </p>
        <iframe width="560" height="315" src="https://www.youtube.com/embed/nL34zDTPkcs" frameborder="0" allowfullscreen></iframe>
        <h2>Arduino Basics</h2>
        <iframe width="560" height="315" src="https://www.youtube.com/embed/pnf8ojsK6S4" frameborder="0" allowfullscreen></iframe>
        <ul>
          <li>Hookup guide [Arduino & breadboard]</li>
          <iframe width="560" height="315" src="https://www.youtube.com/embed/fCxzA9_kg6s" frameborder="0" allowfullscreen></iframe>
          <li>Hello world/ Basic program structure</li>
          <li>Types of feedback for <a href='https://www.arduino.cc/en/Guide/Troubleshooting'>troubleshooting</a></li>
          <ul>
            <li><a href='https://diyroboticslab.wordpress.com/2009/06/05/correcting-arduino-compiler-errors/'>IDE error messages</a></li>
            <li><a href='https://youtu.be/g0pSfyXOXj8?t=1m16s'>print(...); & println(...); [written feedback]</a></li>
            <li><a href='https://youtu.be/f7SAO2FCxdg'>println(...); [numerical/graphical]</a></li>
            <li><a href='https://learn.sparkfun.com/tutorials/sik-experiment-guide-for-arduino---v33/experiment-1-blinking-an-led'>LED/output</a></li>
          </ul>
          <li>Boolean/ Digital logic (generic, beyond Arduino)</li>
            <img src='https://upload.wikimedia.org/wikipedia/commons/4/4a/Truth_table_for_AND%2C_OR%2C_and_NOT.png'>
            <ul>
              <li>if</li>
              <li>or</li> 
              <li>and</li>
              <li>not</li>
            </ul>
          <li>Arduino core digital & logic operations</li>
          <ul>
            <li>#define (‘macro’ also called ‘IDE-swap’)</li>
            <li>Variables/Constants</li>
            <ul>
              <li>Variable types</li>
              <li>Variable scope</li>
            </ul>
            <li>If(...){...;}else{...;}	and	If(...){...;}</li>
            <li>digitalRead(...);	and	digitalWrite(...);</li>
            <li>for(int ...; ...; ...;){...;}</li>
            <li>while(...){...;}</li>
            <li>delay(...);</li>
          </ul>
          <li>Arduino analog simulation operations</li>
          <ul>
            <li>analogRead(...);	and	analogWrite(...);</li>
            <li>map(..., ..., ..., ..., ...);</li>
            <li>**calibration & offset</li>
            <li>**debounce & machine time</li>
          </ul>
          <li>Considerations for building real circuits</li>
          <ul>
            <li>Analog >>> Digital Voltages</li>
            <li>‘floating’ input pins</li>
            <ul>
              <li>Pull down resistors</li>
              <li>Built-in pull up resistors</li>
            </ul>
            <li>Maximum current limits on each pin</li>
            <ul>
              <li>‘half-brained’ circuits</li>
              <li>Transistors for small circuit control</li>
              <li>MOSFETs for medium circuit control</li>
              <li>Relays for huge DC & AC circuit control</li>
            </ul>
          </ul>
          <li>Functions</li>
          <li>Object Oriented Programming</li>
          <li>Libraries</li>
        </ul>
        <h2>Hardware (digitally controlled & other specialty)</h2>
        <ul>
          <li>Still need to make a list…</li>
        </ul>
      </div>
      <div class="col-4 col-m-12">
        <div class="aside">
          <h2>subject area content</h2>
          <ul column-gap:5px class="aside largelist">
              <li>item 1</li>
              <li>item 2</li>
              <li>item 3</li>
          </ul>
        </div>
      </div>
    </div>
    <div class="footer">
        <img src='https://upload.wikimedia.org/wikipedia/commons/6/6b/License_icon-mit-88x31.svg'>
        <p>
            <a href='https://opensource.org/licenses/MIT'>The MIT License</a>   Copyright 2017-present by <NAME>
        </p>
        <p>
            The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
        </p>
    </div>
  </body>
</html>
{'fraction_non_alphanumeric': 0.1729616592141566, 'fraction_numerical': 0.017029778327466463, 'mean_word_length': 1.9561304836895388, 'pattern_counts': {'":': 0, '<': 381, '<?xml version=': 0, '>': 387, 'https://': 19, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2342260', 'n_tokens_mistral': 3580, 'n_tokens_neox': 3375, 'n_words': 689}