Week 12 Slides
*Remember to alter your heat circuit by adding the TIP120!*
Circuit
Code
/*
Flexinol PWM Tests
Comp Craft
MFADT Fall 2013
Connect to pin 3
Change the values in analogWrite() to control the
amount of power the wire is getting.
*/
int flex = 3;
void setup(){
pinMode(flex, OUTPUT);
}
void loop(){
analogWrite(flex,127);
delay(500);
analogWrite(flex,0);
delay(8000);
}
Resources
Heatit