{"product_id":"3v-micro-metal-gearmotor-w-encoder-cable-37rpm-1","title":"3V Micro Metal gearmotor w\/ Encoder \u0026 cable, 37rpm","description":"\u003cul\u003e\r\n\u003cli\u003eprecious metal brushes\r\n\u003c\/li\u003e\r\n\u003cli\u003eshaft length 10mm, D-shaped\r\n\u003c\/li\u003e\r\n\u003cli\u003eLong lifetime, low noise\r\n\u003c\/li\u003e\r\n\u003cli\u003eGear ratio 210:1\r\n\u003c\/li\u003e\r\n\u003cli\u003eMagneic encoder, 2 channels, 7 PPR\r\n\u003c\/li\u003e\r\n\u003c\/ul\u003e\r\n\r\n\u003cp\u003e\u003c\/p\u003e\u003cp\u003eThis particular DC motor comes with 1:210 gear ratio, uses 12V nominal power for the motor . The gear ratio will not affect the current draw but does change the torque and RPM. See below for the no load\/rated\/stall current, RPM and torque for a range of ratios!\u003c\/p\u003e\r\n\u003cp\u003eProvide 3V DC (nominal) to the white and red wires - these connect to your motor driver, and can be PWM'd for speed adjustment and direction by using an H-bridge.\u003c\/p\u003e\r\n\u003cp\u003eConnect the black wire to your microcontroller ground pin, and the blue wire to 3-5V DC (we tried both, works fine) use whichever voltage your microcontroller uses. Then you can read the hall effect outputs on the yellow and green wires.  basically you just want to interrupt on one of the encoder pins, use count the time since the last interrupt, and multiply the count time by 14-counts-per-revolution and the gear ratio.\u003c\/p\u003e\r\n\u003cp\u003eMounting bracket for this motor is also available. See https:\/\/www.robotshop.com\/en\/micro-metal-gearmotor-bracket.html\u003c\/p\u003e\r\n","brand":"E-S Motor","offers":[{"title":"Default Title","offer_id":41721205555352,"sku":"RM-ESMO-091","price":11.18,"currency_code":"CAD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0487\/4158\/0952\/products\/rm-esmo-091_c6337_jpg_48be2cc1-f52d-4e5f-a413-07a5b5525e8e.jpg?v=1652478704","url":"https:\/\/robotshopshop-dev.myshopify.com\/es\/products\/3v-micro-metal-gearmotor-w-encoder-cable-37rpm-1","provider":"RobotShop Dev","version":"1.0","type":"link"}