{"product_id":"1-50pcs-ky-040-rotary-encoder-module-20-ppr-360-infinite-rotation-with-push-button-for-arduino-raspberry-pi","title":"1-50PCS KY-040 Rotary Encoder Module – 20 PPR, 360° Infinite Rotation with Push Button, for Arduino Raspberry Pi","description":"\u003ch1\u003eSPECIFICATIONS\u003c\/h1\u003e\u003cp\u003e\u003cspan\u003eApplication\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eOther\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eBrand Name\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eSZYTF\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eChoice\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eyes\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eCondition\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNew\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eDissipation Power\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eN\/A\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eHigh-concerned chemical\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003enone\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOperating Temperature\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e.\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOrigin\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMainland China\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003ePackage\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eOther\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eSupply Voltage\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e5V\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eType\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eOther\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eis_customized\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eYes\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003esemi_Choice\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eyes\u003c\/span\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_html\"\u003e\u003cdiv class=\"detail-desc-decorate-richtext\"\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003eOperating voltage: 5V\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003ePulse count in one turn: 20\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:content-box'\u003e\u003c\/div\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003eThe rotary encoder can count the number of output pulses in the forward direction and the reverse direction by rotation. Unlike the potentiometer, the rotation count is unlimited. With the key on the rotary encoder, it can be reset to the initial state, that is, counting from 0.\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:content-box'\u003e\u003c\/div\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:22px;font-family:\"Times New Roman\"'\u003e\u003cstrong\u003e\u003cu\u003eWorking principle:\u003c\/u\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003eIncremental encoder is a rotary sensor that converts rotating displacement into a series of digital pulse signals. These pulses are used to control angular displacement. The angular displacement conversion in Eltra encoder is based on photoelectric scanning principle. The READING SYSTEM IS BASED ON THE ROTATION OF A RADIAL DIAL (CODE DIAL) CONSISTING OF ALTERNATING LIGHT AND OPAQUE Windows, SIMULTANEOUSLY ILLUMINATED VERTICALLY BY AN INFRARED LIGHT SOURCE, WHICH PROJECTS THE IMAGE OF THE CODE DIAL ONTO THE RECEIVER SURFACE. The receiver is covered with a diffraction grating, which has the same window width as the code plate. The receiver's job is to sense the changes caused by the rotation of the disc and then convert the optical changes into corresponding electrical changes. The low level signal is then raised to the high level to produce a square pulse without any interference, which must be processed by electronic circuits. The readout system is usually differential, in which two different signals with the same waveform but a phase difference of 180° are compared to improve the quality and stability of the output signal. The reading is based on the difference between the other two signals, thus eliminating interference.\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:content-box'\u003e\u003c\/div\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:22px;font-family:\"Times New Roman\"'\u003e\u003cstrong\u003e\u003cu\u003eIncremental encoder:\u003c\/u\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003eThe incremental encoder gives two phase square waves with A phase difference of 90°, commonly referred to as A channel and B channel. One of the channels gives information related to the rotation speed, and at the same time, the information of the rotation direction is obtained by sequential comparison of the signals of the two channels. There is also A special signal called Z or zero channel, which gives the zero bit of the encoder. This signal is a square wave that coincides with the center line of the square wave in channel A.\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:content-box'\u003e\u003c\/div\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003eIncremental encoder accuracy depends on both mechanical and electrical factors, such as grating indexing errors, disc eccentricity, bearing eccentricity, errors introduced by electronic reading devices, and optical inaccuracies. The measurement unit to determine the encoder accuracy is the electrical degree, and the encoder accuracy determines the pulse degree produced by the encoder. In the following, 360° electrical degrees are used to represent the rotation of the mechanical shaft, and the rotation of the shaft must be a complete cycle. To find out how many mechanical angles are equivalent to an electrical 360 degrees, use the following formula: electrical 360 = mechanical 360°\/n° pulse\/revolution\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:content-box'\u003e\u003c\/div\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003eFigure: Signal of A and B reversing\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:content-box'\u003e\u003c\/div\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003eThe encoder indexing error is expressed as the offset of two consecutive pulse waves in electrical Angle. Error exists in any encoder, which is caused by the foregoing factors. The Eltra encoder has an error of ±25 electrical angles (under any condition stated), which corresponds to a rating offset of ±7%, and a deviation of ±35 for two channels with a phase difference of 90° (electrically). The electrical degree corresponds to a rating offset of about ±10%.\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:content-box'\u003e\u003c\/div\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003eUVW signal incremental encoder\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:content-box'\u003e\u003c\/div\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003eIn addition to the above traditional encoders, some are incremental encoders integrated with other electrical output signals. An example is the incremental encoder integrated with the UVW signal, which is commonly used for AC servo motor feedback. These magnetic pole signals generally appear in AC servo motors, and UVW signals are generally designed by simulating the function of magnetic components. In the Eltra encoder, these UVW signals are generated optically and appear as three square waves, which are offset 120° from each other. These correct signals are required for the starter to control the motor for easy starting. These UVW pole pulses can be repeated many times in a mechanical shaft rotation because they depend directly on the number of motor poles connected and are used for UVW signals for 4, 6 or more pole motors.\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:content-box'\u003e\u003c\/div\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   ******************\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   test code:\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   const int interruptA = 0; \/ \/ Interrupt 0 (pin 2)\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   const int interruptB = 1; \/ \/ Interrupt 1 (pin 3)\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   int CLK = 2; \/ \/ PIN2\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   int DAT = 3; \/ \/ PIN3\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   int BUTTON = 4; \/ \/ PIN4\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   int LED1 = 5; \/ \/ PIN5\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   int LED2 = 6; \/ \/ PIN6\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   int COUNT = 0;\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   void setup ()\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   {\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   attachInterrupt (interruptA, RoteStateChanged, FALLING);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   \/ \/ AttachInterrupt (interruptB, buttonState, FALLING);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   pinMode (CLK, INPUT);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   digitalWrite (2, HIGH); \/ \/ Pull High Restance\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   pinMode (DAT, INPUT);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   digitalWrite (3, HIGH); \/ \/ Pull High Restance\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   pinMode (BUTTON, INPUT);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   digitalWrite (4, HIGH); \/ \/ Pull High Restance\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   pinMode (LED1, OUTPUT);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   pinMode (LED2, OUTPUT);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   Serial.begin (9600);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   }\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   void loop ()\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   {\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   if (! (digitalRead (BUTTON)))\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   {\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   COUNT = 0;\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   Serial.println (\"STOP COUNT = 0\");\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   digitalWrite (LED1, LOW);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   digitalWrite (LED2, LOW);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   delay (2000);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   }\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   Serial.println (COUNT);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   }\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   \/ \/ -------------------------------------------\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   void RoteStateChanged () \/ \/ When CLK FALLING READ DAT\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   {\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   if (digitalRead (DAT)) \/ \/ When DAT = HIGH IS FORWARD\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   {\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   COUNT;\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   digitalWrite (LED1, HIGH);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   digitalWrite (LED2, LOW);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   delay (20);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   }\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   else \/ \/ When DAT = LOW IS BackRote\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   {\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   COUNT -;\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   digitalWrite (LED2, HIGH);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   digitalWrite (LED1, LOW);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   delay (20);\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   }\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cspan style='font-size:18px;font-family:\"Times New Roman\"'\u003e   }\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style='font-family:\"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun;line-height:inherit;color:rgb(34, 34, 34);margin:0px;margin-bottom:0px;margin-top:0px;margin-left:0px;margin-right:0px;padding:0px;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;box-sizing:border-box'\u003e\u003cimg src=\"https:\/\/ae01.alicdn.com\/kf\/Se638f778acc04298ae1761ad29654adcX.jpg\" slate-data-type=\"image\"\u003e\u003c\/p\u003e\n\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\n\u003c\/div\u003e\u003c\/div\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"Yoeruyo","offers":[{"title":"KY-040 \/ 5PCS","offer_id":55428415848747,"sku":"14:10#KY-040;3:1981284404#5PCS","price":24.12,"currency_code":"USD","in_stock":true},{"title":"KY-040 \/ 1PCS","offer_id":55428415881515,"sku":"14:10#KY-040;3:201010228#1PCS","price":8.42,"currency_code":"USD","in_stock":true},{"title":"KY-040 \/ 20PCS","offer_id":55428415914283,"sku":"14:10#KY-040;3:202097275#20PCS","price":102.38,"currency_code":"USD","in_stock":true},{"title":"KY-040 \/ 10PCS","offer_id":55428415947051,"sku":"14:10#KY-040;3:18247432443#10PCS","price":41.72,"currency_code":"USD","in_stock":true},{"title":"KY-040 \/ 50PCS","offer_id":55428415979819,"sku":"14:10#KY-040;3:202097014#50PCS","price":207.41,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1000\/5744\/8747\/files\/S439d741f2f9149389c1225c5a72bdb26e.webp?v=1788581344","url":"https:\/\/yoeruyo.com\/products\/1-50pcs-ky-040-rotary-encoder-module-20-ppr-360-infinite-rotation-with-push-button-for-arduino-raspberry-pi","provider":"Yoeruyo","version":"1.0","type":"link"}