|
| 1 | +Title: Chip Confusion |
| 2 | +Date: 2022-09-12 |
| 3 | +Series: testing |
| 4 | + |
| 5 | +Today I revisited why the conveyor belt's board couldn't drive the other motors. Instead of relying on the obviously-not-working board from the conveyor belt, I pried the chip with the heatsink from its socket and plugged it into a breadboard. Here's the circuit diagram I used: |
| 6 | + |
| 7 | +```kroki |
| 8 | + +-----+ |
| 9 | + |PLUG | |
| 10 | + +++++++ |
| 11 | + ||||| |
| 12 | + |||| '-*---. |
| 13 | + |||| | | |
| 14 | + |||||||| | |
| 15 | + +-+++++++++ | |
| 16 | + ) driver | | |
| 17 | + +-+++++++++ | |
| 18 | + |||||||| *-----o +12V |
| 19 | + |||| '---|-----o GND |
| 20 | + oooo | |
| 21 | + '--/\/\/--. |
| 22 | + \ 330 | |
| 23 | + '--------------------' |
| 24 | +``` |
| 25 | + |
| 26 | +I manually touched the loose end of wire coming out of the resistor to the four terminals of the driver chip in turn, to make the motor rotate. |
| 27 | + |
| 28 | +Unfortunately, this didn't work! |
| 29 | + |
| 30 | +At least, now I knew that the specifics of this chip and/or how the motor was wired were why it only worked with one motor (the one it was originally wired to run). |
| 31 | + |
| 32 | +I dug out the circuit board of the Armdroid itself and had a look at how it was wired. On a hunch that one of the individual drivers in the conveyor's chip were faulty, I replaced the one on the breadboard with a confirmed UL2003A from the Armdroid board. |
| 33 | + |
| 34 | +And this is when I noticed a subtle but important difference. |
| 35 | + |
| 36 | +Having a look at the side of the two chips (where the pins come out) I noticed that on the unknown chip from the conveyor's board, the middle two pins were joined, but on the confirmed ULN2003A they were not: |
| 37 | + |
| 38 | +ULN2003A (with heatsink): |
| 39 | + |
| 40 | +```kroki |
| 41 | +.-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. |
| 42 | +| | | | | | | | | | | | | | | | | | | | | | | | | | |
| 43 | +| | | | | | | | | | | | | | | | | | | | | | | | | | |
| 44 | +| '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' | |
| 45 | ++-------------------------------------------------+ |
| 46 | +| | |
| 47 | +| +---+ +---+ +---+ +---+ +---+ +---+ +---+ +---+ | |
| 48 | +| | | | | | | | | | | | | | | | | | |
| 49 | ++-| |-| |-| |-| |-| |-| |-| |-| |-+ |
| 50 | + | | | | | | | | | | | | | | | | |
| 51 | + | | | | | | | | | | | | | | | | |
| 52 | + \ / \ / \ / \ / \ / \ / \ / \ / |
| 53 | + | | | | | | | | | | | | | | | | |
| 54 | + | | | | | | | | | | | | | | | | |
| 55 | + | | | | | | | | | | | | | | | | |
| 56 | + +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ |
| 57 | +``` |
| 58 | + |
| 59 | +Unknown chip: |
| 60 | + |
| 61 | +```kroki |
| 62 | +.-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. |
| 63 | +| | | | | | | | | | | | | | | | | | | | | | | | | | |
| 64 | +| | | | | | | | | | | | | | | | | | | | | | | | | | |
| 65 | +| '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' | |
| 66 | ++-------------------------------------------------+ |
| 67 | +| | |
| 68 | +| +---+ +---+ +---+ +---------+ +---+ +---+ +---+ | |
| 69 | +| | | | | | | | +-+ | | | | | | | | |
| 70 | ++-| |-| |-| |-| |-| |-| |-| |-| |-+ |
| 71 | + | | | | | | | | | | | | | | | | |
| 72 | + | | | | | | | | | | | | | | | | |
| 73 | + \ / \ / \ / \ / \ / \ / \ / \ / |
| 74 | + | | | | | | | | | | | | | | | | |
| 75 | + | | | | | | | | | | | | | | | | |
| 76 | + | | | | | | | | | | | | | | | | |
| 77 | + +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ |
| 78 | +``` |
| 79 | + |
| 80 | +Obviously, now, the chip on the conveyor board is *not* a ULN2003A! I naïvely assumed that it was the same, and I was wrong. |
| 81 | + |
| 82 | +My guess is that the unknown chip is an [L6220](armdroid/info/resources/datasheets/L6220-darlington-switches.pdf), which conveniently contains two inverted and two uninverted outputs, perfect for driving a unipolar stepper motor with two quadrature signals (which are easily generated by two D-flip-flops wired into each other). Unfortunately I'll never know for sure because the heat sink is obscuring the part number. |
0 commit comments