Meeting 9: Week 5, Short day (Tuesday February 25 4:05 – 5:20)

Miscellaneous

  1. Pedagogy
    1. How do you remember the things I tell you if you don’t take notes?
  2. Documentation
    1. Github
      1. Readme.md
    2. Programs
      1. Remove irrelevant comments
  3. Construction techniques
    1. Do not solder wires to your potentiometer or switches. These are meant to be installed on a breadboard, not on the end of a wire
      1. There are special potentiometers and switches that are designed to be connected to wire
    2. Do not solder your jumper wires to anything. They are meant to be used on a breadboard or between a breadboard and header pins like those on an Arduino
  4. Technical
    1. A latching switch
      1. Concept
      2. Mechanical bounce
      3. https://www.arduino.cc/en/Tutorial/Switch
    2. Pulldown and pullup resistors
      1. Concept
      2. Difference between pullup and pulldown
      3. INPUT_PULLUP
    3. Pins to avoid
        1. Analog input, PWM
        2. 0 and 1
        3. A4 and A5

Homework 

Reading Assignment due Tuesday March 3 (or sooner if you need it for your project)
Midterm project due Thursday March 5

Show off your knowledge of all things I/O by building a project which incorporates one or more inputs and one or more outputs, and some creative programming

  • Your project should be whimsical, delightful, surprising, wonderful, or fun.
  • Your project does not need to be practical
  • You should come up with an idea and  start prototyping your project now so that you can ask questions in class
  • Next Tuesday I will spend some time in class helping solve your problems, but there won’t be enough time for lengthy debugging. Please come prepared with specific questions. 
  • Make appointments with me if you need more serious time
  • Here is the blog from spring 2019 if you want to see more examples of midterm projects. (Note that the semester date on the website is wrong)
  • Your project should be on a base, and your Arduino and solderless breadboard should be included and held in place.
    • I would discourage making a full enclosure. It’s a lot of work, and you almost certainly will need to work inside to get your project to work. Better to make it open, with a front panel for switches, knobs, etc.
    • Cardboard, acrylic, and wood are all good candidates. You can also use an enclosure from something else (e.g. food or whatever.
    • Hot glue is a good option for holding this together, except for acrylic, as hot glue doesn’t stick well to acrylic
    • You can apply hot glue to the bottom of the Arduino, it will not affect the circuit.
    • Hot glue might not stick to the bottom of the solderless breadboard. I suggest you carefully put hot glue on the edge of the solderless breadboard, being careful not to get any in the holes. Or use zip ties like I showed in class
  • Document your project
    • Take pictures while you build the project. I like seeing your process, and it’s nice for you too to see how much you’ve accomplished.