| Application of Longshow 1cm single point pressure sensor in smart LED  steering standard jacketThe scheme introduces making a simple turning mark of the jacket,
 wearing the can by pressing sleeve bending sensor to open or close the  turning signal. This scheme requires only two 1cm in diameter, the  Longshow thin film pressure sensor (measuring range and 1kg, as shown  in Figure 1), 4 of a red LED, 3 meters long conductive sewing line, a  lilypad (it is a piece of the wearable devices and electronic placed  product design of the micro controller board, as shown in Figure 2).   1cm single point LiliPad circuit board   Figure 1, 1cm in diameter, Longshow dynamic thin film pressure sensor,  microcontroller boards   It is more convenient to use a curved sensor while riding a bicycle. A  1cm in diameter, Longshow dynamic film pressure sensor, by slightly  bending operation, quick change of internal resistance, it can users  easily switch signal, the scheme applicable in children's clothing,  car and other clothing.   Lilipad circuit diagram sewing position   Figure 3, circuit diagrams of the four, the sewing position   Bending sensor is not easy sewing in a cloth, it is recommended that  in bending sensor paper cover with a piece of cloth, and then the  sewing to the inner layer of the jacket cuffs. The cloth covered on  the sensor does not affect its operation or readings at all, so it is  very reliable.   The application code is very simple, you can read out the numerical  simulation from bending sensor, if the change in the value exceeds a  predetermined value, LED will light 10s. "Change the value quantity"  means when gentle pressure on the sensor does not trigger it, which  for cyclists is very convenient, because the user may sweeps or hold  something.   For the improvement of the jacket, to add a speaker or click on the  vibration can be, so that you can with voice or vibration to prompt  the user to signal has been opened.   If you need to correct more detLongshowled design method, please  contact customer service to get more dynamic Longshow Taobao  technology with support. Longshow moving group thin film pressure  sensor official flagship store is as follows: http://i- motion.taobao.com/.   Code list   Int LFORCE Const = 0;   Int RFORCE Const = 1;   Int pressLength Const = 10000;   Int LTURNSIGNAL Const = 2;   Int RTURNSIGNAL Const = 3;   LPrevious rPrevious, Int;   LeftOn rightOn, Boolean;   PressTime Int;   Setup Void ()   {   PinMode (LTURNSIGNAL, OUTPUT);   PinMode (RTURNSIGNAL, OUTPUT);   LeftOn = false;   RightOn = false;   }   Loop Void ()   {   LCurr Int = analogRead (LFORCE);   RCurr Int = analogRead (RFORCE);   If (lCurr - lPrevious > 200)   {   PressTime = millis ();   =true leftOn;   }   LPrevious = lCurr;   If (rCurr - rPrevious > 200)   {   PressTime = millis ();   =true rightOn;   }   RPrevious = rCurr;   If (leftOn)   {   DigitalWrite (LTURNSIGNAL, HIGH);   If (millis () - pressTime > pressLength)   {   LeftOn = false;   }   }   If (rightOn)   {   DigitalWrite (RTURNSIGNAL, HIGH);   If (millis () - pressTime > pressLength)   {   RightOn = false;   }   } |