The sensors are powered through the VCC (blue wire) and GND (green wire) pins. The remaining four connector pins are used to power the sensors and access the two quadrature outputs: Once the board is soldered down to the two terminals, the motor leads are connected to the M1 and M2 connector pins as labeled below, and they can be accessed via the red and black wires when used with our corresponding JST cables. Be careful to avoid prolonged heating of the motor pins, which could deform the plastic end cap of the motor or the motor brushes. 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. The 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. These double-ended cables can be used with our JST SH-style connector breakout boards (available in top-entry and side-entry versions) to easily access the motor and encoder pins on a standard solderless breadboard. Twisted female-female cables with connectors on both ends are available in five lengths: Single-ended cables, with a connector on one end and unterminated wires on the other end, are available in three lengths: We have two types of cables with matching JST SH-style connectors that can be used with these encoders. ![]() It only works with micro metal gearmotors that have extended back shafts. Note: This sensor system is intended for users comfortable with the physical encoder installation. ![]() Magnetic Encoder with Top-Entry Connector (top) and Side-Entry Connector (bottom) assembled Micro Metal Gearmotors with Extended Motor Shafts (JST cables not included). Magnetic Encoders with Top-Entry Connector (left) and Side-Entry Connector (right) assembled on Micro Metal Gearmotors with Extended Motor Shafts (JST cables not included). We also carry a version of this encoder with a top-entry connector the following pictures show comparisons of the top-entry and side-entry versions: The encoders include a side-entry, 6-pin male JST SH-type connector. This compact encoder solution fits within the 12 mm × 10 mm cross section of the motors on three of the four sides, and it extends 4.2 mm past the edge of the fourth side. To compute the counts per revolution of the gearbox output shaft, multiply the gear ratio by 12. 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. Next, connect the wires to the Arduino’s digital pins as follows:įinally, connect the +5v and GND to their respective terminals on the Arduino board.This kit includes two dual-channel Hall effect sensor boards and two 6-pole magnetic discs that can be used to add quadrature encoding to two micro metal gearmotors with extended back shafts (motors and cables are not included with this kit). In this case, consult your reader’s datasheet to locate the necessary pads. Of course, if you have a different reader, the wiring will probably be different. Once you have received your reader, pop off the side cover, and solder wires to the pads as shown in the picture. There are breakout pads on the circuit board inside of the reader. If you can’t find one of these, any standard TTL reader will do.ĭon’t worry about buying one of the fancy harnesses that they sell. I’m using an Omron V3A-4K that I ordered from digikey. Obviously, you first must obtain a magnetic stripe reader. The last step of this instructable has some links to more in-depth information about this topic for those who are interested. However, this application simply shows the data that’s on a magnetic stripe it does not have any of the more advanced features that Stripe Snoop does.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |