Back to Parent

Outcome


Intention

  • get to know the sensors in your kits
  • learn how to integrate sensing into your circuits and read information from the environment around you;
  • become familiar with how to write code to translate sensors into outputs (cloud connectivity or output like LEDs)
  • build familiarity with conditional logic and if statements
  • map sensor readings onto actions and feedback 

Process

I built familiarity with several of the sensors, including the operations of:

  • Button
  • Potentiometer
  • Light Sensor
  • Pressure Sensor

I encountered several difficulties when trying to repeat the design and ultimately did not use the light sensor because it responded poorly and slowly. I adjusted the original code for a 300-4095 range and that worked the first time, but did not respond in subsequent tests.

Show Advanced Options
Show Advanced Options

Process

I then experimented with the pressure or 'flex sensor' as it's labeled in the code with greater success. I used the cloud readings to adjust the if loop conditions so that the effects in the lights were more distinguished, and turned 'off' the lights to mark the end of the loop.

Show Advanced Options
Show Advanced Options

Learnings

My learnings from this skill development are to 1) explore different ways to "bug test", such as testing a different sensor and 2) utilize the cloud readings as input to adjust the cloud. I spent a significant amount of time trying to understand the issue with the light sensor that may have been helpful testing something else!

Drop files here or click to select

You can upload files of up to 20MB using this form.