0
\$\begingroup\$

Question poster's level of knowledge: BEGINNER/NOVICE/MENTALLY CHALLENGED

Device:

A stage lighting pan/tilt motor, for one axis. Used in sets of two to provide remotely controlled X and Y movement of a spotlight.

Function:

It has been designed to be controlled indirectly THROUGH a followspot light fixture, which itself is DMX controlled. The DMX movement instructions sent to the light are sent to the LIGHT, and then are 'forwarded' to each of two motors over Cat5 cable by the light. The Cat5 is 'daisy-chained' such that the connections look like this: DMX_CABLE_INPUT_TO_LIGHT>LIGHT>Cat5CABLE1>MOTOR1>Cat5CABLE2>MOTOR2

Goal:

Use motor control devices without having a light fixture translating and forwarding the commands to the motor controller.

Reason for goal:

I have many of these motor units, but do not own the light fixture they are controlled by. I want to use the motors for the same purpose, but on different objects (Eg - a different model of follow-spot and/or other lighting).

Issue:

I have made magic smoke come out one as I attempted to figure out what it's power requirements are. 5v makes it smoke. I don't want to ruin any more by guessing and hoping, because I actually want to use these, not just experiment with them.

NOTE:

J1 on the RJ45 input board connects to BOTH J2 and J3 on the main board. The two pins on J1 closest to the "J1" label connect to J3 on the main board, and these seem to me to be the power input pins for the board as well as the motor.

ANOTHER NOTE:

I am working under the assumption that if I can supply power to the boards properly, I can then begin to explore how to address it using the DMX protocol, since the DMX protocol is 'knowable' via Google and it's voltages/signal are searchable. The boards, it seems, are not Google-able.

Also - Forgive me for my awful diagram.

QUESTION, IN THREE PARTS:

1) Can the power needs of the board be determined by visual inspection?

2) If the answer to number 1) is 'yes': What is that power need?

3) If the answer to number 1) is 'yes': How was this determined, in terms a novice might understand?

Main board

RJ45 input board

Schematic of RJ45 input board

Everything all wired together

\$\endgroup\$
  • \$\begingroup\$ No this is not possible unless you have interface experience unless you the experience to design one like this. Too late . Look for alternative solutions \$\endgroup\$ – Tony Stewart Sunnyskyguy EE75 Jul 8 '18 at 2:12
  • \$\begingroup\$ @TonyEErocketscientist - if this is an answer could you please post it as an answer not as a comment? \$\endgroup\$ – 111936 Jul 8 '18 at 2:14
  • \$\begingroup\$ "5v makes it smoke" - That is unlikely. Are you sure you applied the voltage correctly? Unfortunately your photos are not clear enough to see all the device markings. At a minimum you should identify regulators U4 and U7, then read their datasheets to find out what they can take. For a full understanding I suggest tracing the entire circuit. Then post it here. Also tell us as much as you can about the motor (markings, winding resistance...) \$\endgroup\$ – Bruce Abbott Jul 8 '18 at 2:23
  • \$\begingroup\$ Using red and black wire colours as polarity indicators, I connected 5v DC to the board. Likely or not- smoking board is what happened. \$\endgroup\$ – 111936 Jul 8 '18 at 3:24
  • \$\begingroup\$ U7 and U4 are both labeled with "C2" over "9A". Googling the exact term <"C2 9A"> along with many different additional words like regulator, part, chip, part search, printed on it, electronics, component - these all got me NOTHING useful regarding any electronics parts that look like that one does. I am happy to do the work of finding and posting this information, I just don't know how to FIND the data sheet for a thing on a circuitboard if the printed information ON the object gets me nowhere! \$\endgroup\$ – 111936 Jul 8 '18 at 3:24
4
\$\begingroup\$

Nah, don't listen to the naysayers. Actually, I can figure out a lot from the information you've provided. And the high-res images were very helpful. My attempt to answer your questions:

1) Can the power needs of the board be determined by visual inspection? Answer: Mostly. Googling for "stepper motor ic 24 pin" led me to find that U2 is probably an Allegro MicroSystems A3982. Photo here shows marking style and part numbering identical to your photo.

Looking at its datasheet, it uses two power rails: logic rail needs 3V to 5V and the stepper motor power rail can take up to 30V or so. Make sure you read that datasheet.

2) If the answer to number 1) is 'yes': What is that power need?

More reverse-engineering steps are needed. First one makes a hypothesis, and then one tests the hypothesis. So here's the data I think is relevant:

a) There's a black and red wire pair going to 2 pin J3 connector. Guess: probably power.

b) J3 is next to U7. Guess: U7 looks like a typical linear voltage regulator

c) Typically, stepper motors would not be fed tightly regulated voltage and too much current or voltage for regulator U7 to deal with. Guess: J3 probably connects directly to U7 VBB1 pin which powers the motor.

3) If the answer to number 1) is 'yes': How was this determined, in terms a novice might understand?

Basically, you can use the data deduced so far to make a good hypothesis:

a) J3 provides stepper motor power. Test this by verifying that one pin of J3 goes to GND plane, the other pin goes to VBB1 pin of U2 using an Ohmmeter or tracing the pin (you should have posted an image of the bottom side).

b) The label on the stepper motor should give you a voltage rating maybe 12V or 24V or so. If 3a) above is verified, then this would be the voltage you feed into J3.

c) U7 is a linear regulator that powers the logic block of U2 stepper driver IC. Test this by verifying that one of its pins connects directly to U2's VDD pin. If true, then the stepper motor and driver IC gets all its power from J3 connector; just feed in whatever voltage is stated on the stepper motor label into J3.

Other Power

4) There's another red/black wire pair on J2. Black on pin 4, red on pin 1. Looking at your schematic, this is probably 5 Volts.

a) U6 is an LT1791 is an RS485/RS422 line transceiver. This makes sense since there are two twisted pair wires in your cable. Skimming through that datasheet, LT1791 signalling is at 5V, and the RJ45 clamps the data signals to the red/black power rail with the Schottky diodes so it must be that the red/black pair on J2 is probably 5 Volts.

Follow the RX and TX of U6 to J2 connector and you'll figure out which twisted pair is RX and which twisted pair is TX.

Error in RJ45 schematic

There's a glaring error in the RJ45 board schematic and I was really confused until I read that you drew it yourself. The photo shows black and red pair (I assume are power wires) which in your schematic correspond to green and gray lines. But matching up the photo with your schematic, it would mean the diodes on the RJ45 board would get forward biased and short circuit the 5V. So either your schematic is not quite right, or the black wire is carrying 5V and red is GND which is backwards from convention.

Other Tidbits

U1 is a Microchip PIC18F???? something 8-bit microcontroller. It has the Microchip logo and the "PIC18F" is just barely readable. It has a crystal on pins 17 and 18 so you can use that if you want to confirm it is a PIC.

U4 is probably another linear voltage regulator. It could be they are running the PIC at 3.3 Volts. You can trace that wire on the circuit board, but not really relevant here.

There's a whole bunch of vias around U4 and U7. But it seems like the PC board layout guy/gal forgot to put a polygon fill to tie the heat tab of U4 and U7 to those vias. Duh.

In Closing

So basically, that is how you reverse-engineer someone's work. You compare each small section to circuits you've seen before, find the IC datasheets, make some hypothesis, and then test the hypothesis by tracing out and "Ohming out" the connects to match your hypothesis. Update/correct the hypothesis if the data doesn't agree with it, and repeat.

And you don't need to reverse-engineer the entire thing; just the parts you need: the power rails and RS422 signaling pairs. Hope that helps and good luck!

Edit: P.S. The power stuff is actually not that hard. What will be harder is reverse-engineering the data protocol. Without a working set to "sniff" data from or source code to figure out how it talks to the board or a protocol specification, you won't know how to "talk" to the board unless you can read out the PIC code (if not protected) and disassemble it (very advanced stuff).

\$\endgroup\$
  • \$\begingroup\$ Thanks you's are not allowed and that's not what the following comments are: \$\endgroup\$ – 111936 Jul 8 '18 at 10:14
  • \$\begingroup\$ The expansiveness of this answer is exactly what we noobs seek when asking things like this. Of notable significant value is that you textually walked through not just the facts involved, but took adequate time to provide your reasoning and the strategy used for developing the answer. There was no condescending tone, and there was very little presumption of foreknowledge on the reader's part. \$\endgroup\$ – 111936 Jul 8 '18 at 10:18
  • \$\begingroup\$ Another key component to this being an excellent answer is that information sources were referenced and put into context for the reader. Noobs (and there are so many of us) are often not able to Google in useful ways because we do not have enough foreknowledge to use the right terms or tactics. Being directed to resources and provided with terms to use when seeking further information is an excellent thing to have included in an answer. \$\endgroup\$ – 111936 Jul 8 '18 at 10:20
  • \$\begingroup\$ And last, an actual response - I will follow all recommended investigations and now understand how to view this problem. Also, the protocol issue is already partly addressed by knowing that DMX uses the same wire layout as seen on J2 and that the nearby 1109 chip is a RS485 transciever which is what DMX uses. So hoorah! Some testing to do! \$\endgroup\$ – 111936 Jul 8 '18 at 10:27
  • 1
    \$\begingroup\$ Sorry - another thing of value to point out: Not stated overtly by the answerer but included by implication is the idea that I should not have limited my thinking to just the first component the power hit on arriving onto the board, just following the power through the device - but rather to look at other things to work back from toward the power input wires (Eg: Answerer begins by considering U2 and then considering things 'upstream' of it) This is good to have pointed out to me, a noob, baffled by most things I see on boards and stuck in a rather rudimentary view of how it all works. \$\endgroup\$ – 111936 Jul 8 '18 at 10:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.