Week 5: Arduino I

Resources

Assignment due Feb 27

General

  • Bring all supplies and your assignment to next class. We will be making pressure sensors!

Emotional LED States

Submit your documentation to this Google Form by end of day on Feb 27.

Choose 2 emotions and write code to reflect each emotional state in one or more LEDs. These states should be triggered by your soft switch. When an emotion is not activated, the LED(s) should all be one static color. For example, I might choose bored and have some of my LEDs fade very slowly in a yellow-greenish color when I press my switch.

You can choose one of the following options based on your level of experience and desire to challenge yourself:

  • Option 1: Use 2 switches to control 2 LEDs, one for each emotion.
  • Option 2: Use 1 switch to control 2 or more LEDs, one for each emotion.
  • Option 3: One of the above options, but with neopixels if you have the CPX board.

Document your project on a personal blog, in a Google doc, or another easily readable format that you can submit via the Google Form. It must include the elements below:

  • Include a video documenting each state. with each state working and a link to your code.
  • Write a brief description of the states you chose and why the code reflects those emotions.

  •  
  •