Class 7 : (4th March 2016) (RGB LED + Flex Sensor circuit)

IMG_7691

Started by cutting my switch pattern and then cutting out conductive fabric

IMG_7692

Cut out felt slightly larger than the conductive fabric

IMG_7693

Cut out a space fabric which varies resistance within the circuit, creating a flex sensor / potentiometer

IMG_7694

Sewed it all together with a ____ switch

IMG_7695

Tested the code on the RGB LED and it worked!

IMG_7696

Changed a bit of the code to make the circuit work in terms with the flex sensor. The colour of the LED changes according to the pressure I give to the sensor input.

IMG_7697

IMG_7698

IMG_7699

Here are just some written values of the High and Lows that my sensor gives me