Oct 31
project discussion
Schedule for the rest of the term : expectations & time put in.
op-amp challenge
Recall the
Arduino program for the Dawn Treader that uses two photocells to track light, namely the function which does the light tracking:
void move_towards_the_light(int seconds){
int diff_threshold = 0; // 0 if photocells act the same
int difference = analogRead(photocell_pin[0]) -
analogRead(photocell_pin[1]);
if (difference < diff_threshold){
warp_factor(off, slow, seconds);
}
else {
warp_factor(slow, off, seconds);
}
}
The goal is to remove the Arduino completely, and achieve the same functionality using the parts we have, such as resistors, capacitors, transistors, op-amps, etc..