Gadgets:
an Electronics &
Microcontroller Lab

Spring 2022
course
site
-->

March 1 : light

Last week we got going by doing experiment 1A, and seeing how things work.

Your mission today is to play around with any or all of experiments 1B, 1C, and 1D. I'll describe them briefly.

Homework due by next Tuesday is to choose any one circuit that you did, and to describe it. If it's a new variation, upload the circuit (or a description or a photo) and the code.

Next week: on to the next set of experiments, buttons and buzzers.

experiments

ideas to understand :

circuit elements "in series"

----[thing1]-----[thing2]-----wire-----  I = current = same through both
      V1            V2

<--- total voltage drop is V1 + V2 -->

code fragments

if (a < b){             // test if something is true
  do_something();       // if so, run this function
}
void function_name(){   // a function definition
  things_to_do();
}

resources

I've added a few links over in the left menu, to the SIK (Sparkfun Inventor's Kit) booklet and their code, and to a reference for the arduino programming language ... mostly like C, but with its own arduino-friendly built-in functions. Also check out Fritzing, an application that lets you draw wiring diagrams for the arduino like those in the SIK experiment guide.

https://cs.bennington.college /courses /spring2022 /gadgets /notes /march1
last modified Mon February 28 2022 8:28 pm

attachments [paper clip]

  last modified size
TXT 1B.png Mon Feb 28 2022 08:00 pm 658K
TXT 1C.png Mon Feb 28 2022 08:00 pm 561K
TXT 1D.png Mon Feb 28 2022 08:00 pm 619K