{"product_id":"3542-romi-encoder-pair-kit-12-cpr-3-5-18v","title":"Romi Encoder Pair Kit, 12 CPR, 3.5-18V","description":"\u003cp\u003eAdd quadrature encoders to the mini plastic gearmotors on your Romi chassis with this kit that uses a magnetic disc and Hall effect sensors to provide 12 counts per revolution of the motor shaft.  The sensors operate from 3.5 V to 18 V and provide digital outputs that can be connected directly to a microcontroller or other digital circuit.\u003c\/p\u003e\n\u003cbr\u003e\u003ch2\u003eOverview\u003c\/h2\u003e\n\u003cp\u003eThis kit includes two dual-channel Hall effect sensor boards and two \u003ca href=\"https:\/\/www.pololu.com\/product\/1524\"\u003e6-pole magnetic discs\u003c\/a\u003e that can be used to add quadrature encoding to the mini plastic gearmotors on a \u003ca href=\"https:\/\/www.pololu.com\/product\/3500\"\u003eRomi chassis\u003c\/a\u003e.  The encoder board senses the rotation of the magnetic disc and provides a resolution of 12 counts per revolution of the motor shaft when counting both edges of both channels, which corresponds to approximately 1440 counts per revolution of the Romi’s wheels.\u003c\/p\u003e\n\u003cp\u003eThis compact encoder solution fits within the 11.5 mm × 22.5 mm cross section of the rear of the motors on three of the four sides.  The fourth side of the encoder has the signal and power connections, and it extends 7 mm past the edge of the motor so that it is at just the right height to be able to plug into a board mounted below on the Romi chassis when the included low-profile male and female header pins are used.  The assembly does not extend past the end of the extended motor shaft, which protrudes 5 mm beyond the back of the motor.\u003c\/p\u003e\n\u003ch2\u003ePinout and installation\u003c\/h2\u003e\n\u003cp\u003eThe encoder board is designed to be soldered directly to the back of the motor, with the back shaft of the motor protruding through the hole in the middle of the circuit board.  One way to achieve good alignment between the board and the motor is to tack down the board to one motor pin and to solder the other pin only when the board is flat and well aligned.  Be careful to avoid prolonged heating of the motor pins, which could deform the motor case or brushes.\u003c\/p\u003e\n\u003cp\u003eWe currently have two boards that the these encoders can directly plug into: the \u003ca href=\"https:\/\/www.pololu.com\/product\/3544\"\u003eRomi 32U4 Control Board\u003c\/a\u003e and the \u003ca href=\"https:\/\/www.pololu.com\/product\/3543\"\u003eMotor Driver and Power Distribution Board for Romi Chassis\u003c\/a\u003e.  The encoder pins need to be installed pointing down toward the chassis in order to be able to plug into this board.\u003c\/p\u003e\n\u003ctable class=\"side_by_side_pics\"\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\n\u003ctr\u003e\u003ctd style=\"max-width: 300px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7356.1200.jpg?84324a4e3ceed523dbee5f4325b5687d\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id romi encoder can plug directly into the motor driver and power distribution board for chassis. data-picture-id=\"0J7356\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7356.300.jpg?84324a4e3ceed523dbee5f4325b5687d\"\u003e\u003c\/a\u003e\u003c\/td\u003e\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 300px\"\u003e\u003cp\u003eThe Romi Encoder can plug directly into the Motor Driver and Power Distribution Board for Romi Chassis.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\n\u003ctr\u003e\u003ctd style=\"max-width: 300px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7521.1200.jpg?424ce3cc58fa834c00c512d19cb05907\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id control board with lcd on a romi chassis. data-picture-id=\"0J7521\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7521.300.jpg?424ce3cc58fa834c00c512d19cb05907\"\u003e\u003c\/a\u003e\u003c\/td\u003e\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 300px\"\u003e\u003cp\u003eRomi 32U4 Control Board with LCD on a Romi chassis.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eFor robots not using these boards, it might be more convenient to install the board and pins facing up and connect to them with a cable made from our \u003ca href=\"https:\/\/www.pololu.com\/category\/71\/wires-with-pre-crimped-terminals\"\u003ewires with pre-crimped terminals\u003c\/a\u003e.\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\n\u003ctr\u003e\n\u003ctd style=\"max-width: 300px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7301.1200.jpg?d7f3d498d8c13d955d5695c0173654b7\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id included low-profile headers are still long enough to work with our pre-crimped jumper wires. data-picture-id=\"0J7301\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7301.300.jpg?d7f3d498d8c13d955d5695c0173654b7\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 300px\"\u003e\u003cp\u003eThe included low-profile headers are still long enough to work with our pre-crimped jumper wires.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eTo later use the same encoders with a board that they can plug into, just pull the motor portion off of the gearbox, rotate it 180°, and push it back in to make the encoder and pins point down.\u003c\/p\u003e\n\u003ctable class=\"side_by_side_pics\"\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\n\u003ctr\u003e\u003ctd style=\"max-width: 250px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7300.1200.jpg?6d4f235fac9d2ef70f2aada456e07662\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id motor can be removed from the gearbox even when encoder is soldered to motor. data-picture-id=\"0J7300\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7300.250.jpg?6d4f235fac9d2ef70f2aada456e07662\"\u003e\u003c\/a\u003e\u003c\/td\u003e\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 250px\"\u003e\u003cp\u003eThe motor can be removed from the gearbox even when the encoder is soldered to the motor.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\n\u003ctr\u003e\u003ctd style=\"max-width: 250px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7299.1200.jpg?1f83097ac9e51227fbfd9d9dd3d0eab1\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id motor portion can be removed from the gearbox and rotated to change whether connector pins point up or down. data-picture-id=\"0J7299\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7299.250.jpg?1f83097ac9e51227fbfd9d9dd3d0eab1\"\u003e\u003c\/a\u003e\u003c\/td\u003e\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 250px\"\u003e\u003cp\u003eThe motor portion can be removed from the gearbox and rotated 180° to change whether the connector pins point up or down.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eIf you do not care about compatibility with existing or potential future boards, we recommend soldering wires directly to the encoder or installing a \u003ca href=\"https:\/\/www.pololu.com\/product\/965\"\u003estandard-length male header\u003c\/a\u003e that works better with cables made from our wires with pre-crimped terminals.\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\n\u003ctr\u003e\n\u003ctd style=\"max-width: 300px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7302.1200.jpg?37ebf53405fb20f48911ade0a211e2d0\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id standard-length straight male header allows for compact cable connection. data-picture-id=\"0J7302\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7302.300.jpg?37ebf53405fb20f48911ade0a211e2d0\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 300px\"\u003e\u003cp\u003eA standard-length straight 0.1″ male header allows for compact cable connection.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eOnce the board is soldered down to the two terminals, the motor leads are connected to the M1 and M2 pads along the edge of the board; the remaining four pads are used to power the sensors and access the two quadrature outputs:\u003c\/p\u003e\n\u003ctable class=\"side_by_side_pics\"\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J9435.1200.jpg?f45eff563ae60fd3421ee8131f9e3f41\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id encoder pair kit magnet-side view of pcb with labeled pinout. data-picture-id=\"0J9435\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J9435.250.jpg?f45eff563ae60fd3421ee8131f9e3f41\"\u003e\u003c\/a\u003e\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7296.1200.jpg?3b38e47666b1c9a1030ec8ef85ed3346\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id encoder pair kit motor-side view of pcb with dimensions. data-picture-id=\"0J7296\" data-picture-longest_side=\"1188\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7296.330.jpg?3b38e47666b1c9a1030ec8ef85ed3346\"\u003e\u003c\/a\u003e\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eThe sensors are powered through the VCC and GND pins.  VCC can be 3.5 V to 18 V, and the quadrature outputs A and B are open-drain digital signals that need to be pulled up to the appropriate logic voltage of your system.  The encoder boards have pads for optional 0603 size surface-mount resistors to pull the outputs up to VCC, but in typical applications, the pull-up resistors will be on the main electronics board.\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center wide\"\u003e\n\u003ctr\u003e\n\u003ctd style=\"max-width: 600px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7254.1200.png?f938c002301c0b1b710415211e44a988\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id a and b outputs of magnetic encoder on high-power mini plastic gearmotor running at v. data-picture-id=\"0J7254\" data-picture-longest_side=\"800\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7254.600.jpg?f938c002301c0b1b710415211e44a988\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 600px\"\u003e\u003cp\u003eEncoder A and B outputs of a magnetic encoder on a high-power (HP) mini plastic gearmotor running at 4.5 V.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eThe board’s six through-holes have a 0.1″ (2.54 mm) pitch, so they are compatible with common 0.1″ connectors, or you can just solder individual wires directly to the board.\u003c\/p\u003e\n\u003cp\u003eOnce the board is soldered to the motor, the magnetic encoder disc can be pushed onto the motor shaft.  One easy way to accomplish this is to press the motor onto the disc while it is sitting on a flat surface, pushing until the shaft makes contact with that surface.  The size of the gap between the encoder disc and the sensor board does not have a big impact on performance as long as the motor shaft is at least all the way through the disc.\u003c\/p\u003e\n\u003ch2\u003eSchematic diagram\u003c\/h2\u003e\n\u003ctable class=\"picture_with_caption center wide\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7293.1200.png?0538f92810a5ec2ef362262a434ef153\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id diagram for the romi encoder pair kit. data-picture-id=\"0J7293\" data-picture-longest_side=\"830\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7293.600.jpg?0538f92810a5ec2ef362262a434ef153\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003cp\u003eThis schematic is also available as a \u003ca href=\"\/file\/0J1208\/romi-encoder-pair-kit-schematic-diagram.pdf\"\u003edownloadable pdf\u003c\/a\u003e (88k pdf).\u003c\/p\u003e","brand":"Pololu","offers":[{"title":"2-4 Settimane","offer_id":47696707256665,"sku":"POL-3542","price":14.57,"currency_code":"EUR","in_stock":true},{"title":"1 Giorno","offer_id":47886003339609,"sku":"POL-3542\/A","price":14.57,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0J9433.1200.jpg?v=1705456695","url":"https:\/\/xernuqvalzi.pro\/products\/3542-romi-encoder-pair-kit-12-cpr-3-5-18v","provider":"Robot Italy","version":"1.0","type":"link"}