Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
fabricademy2017:students:julie.taris:class9-e-textiles-wearables2 [2018/06/25 20:58]
julie_taris
fabricademy2017:students:julie.taris:class9-e-textiles-wearables2 [2018/06/30 17:31]
julie_taris
Line 179: Line 179:
 \\  \\ 
 === Arduino tests === === Arduino tests ===
 +== connect an analog sensor to the Arduino==
 +See the instructable here : [http://​www.instructables.com/​id/​Connecting-a-textile-analog-sensor-to-Arduino/​|Connecting a Textile Analog Sensor to Arduino]]
 +
 +
 +  * Connect the '​+'​ pad of your Lilypad to your sensor. Sensors are not polarized, so it does not matter on which side you connect it.
 +  * Connect the output of the sensor to the analog input a0 of the Lilypad
 +  * Connect Sensor to Ground.
 +
 +
 +Plug the USB cable into your USB port of your laptop, and into the USB port of the FTDI board and copy, paste and upload the following program to the Lilypad:
  
-[http://​www.instructables.com/​id/​Connecting-a-textile-analog-sensor-to-Arduino/​|Connecting a Textile Analog Sensor to Arduino]] 
  
 <​code>​ <​code>​