woodworking workshop
Monday, September 24
Kris Camp leads us into the wood shop!
Due: Wed, 10/4
You will use the skills from class to create your own WelcomeBot! Take what you've learned/made from the BloxBots Workshop and combine it with the Circuit Playground Lab and the sketch below. Your WelcomeBot should be interactive and respond when someone comes close to it.
the input for the bot uses the on-board microphone to sense sound levels
the output for the bot is pre-programmed with LEDs
[optional] If you'd like, you can modify the code (or get some assistance modifying the code) to respond in other ways!
[optional] Use external LEDs
Requirements
Document your process on your web site, including successes and failures encountered along the way. There should be:
pictures of your design and steps that you took when creating the project
the woodworking components of the bot "body"
a sketch of how you will incorporate the Circuit Playground Express
a final video or collection of photos that demonstrates the final product
a reflection on the project and how it relates to the topics of belongingness (which can intersect with self-efficacy and mindset)
you can choose to write the reflection (3-4 paragraphs) or record it as video/audio (1-3 minutes)
challenge yourself to step back and think about any parallels you can draw to your learning journey at large, using these prompts:
have there been courses or co-curricular activities that you have embraced or turned away from because you felt a stronger or weaker sense of belongingness?
looking back, did messages from the environment play a role?
if you were to revisit a decision to embrace or turn away from a course/activity, what would you tell your former self?
This sketch uses the on-board mic to sense sounds and show different LEDs in response. You'll use it to make your WelcomeBots!
// Using the onboard sound sensor, light NeoPixels in response to ambient noise
#include <Adafruit_CircuitPlayground.h>
// react only to sound levels above this value
// this is a starting value that will be updated during calibration
int baseSoundLevel = 65;
// parameter for tuning how sensitive the lights are to sound
float soundSensitivity = 4.0;
void setup() {
Serial.begin(9600); // this will let us print to the "Serial monitor"
CircuitPlayground.begin(); // initialize the board
}
void loop()
{
float sensedSound = CircuitPlayground.mic.soundPressureLevel(10);
Serial.print("Sound sensor: ");
Serial.println(sensedSound);
delay(10);
for ( int i = 0; i < 10; i++ )
{
if( sensedSound > baseSoundLevel + i*i/soundSensitivity )
CircuitPlayground.setPixelColor(i, CircuitPlayground.colorWheel(25 * i));
else
CircuitPlayground.setPixelColor(i,0,0,0);
}
}