ADWSystems
Member
I follow your setup. But the current machine side design is mostly solid state, relays and terminal blocks. So changing voltages to signal would be easier than developing another component for the upstream side.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I still think there is a way to do it with just zeners and PNP (or NPN transistors), but I just can't get the setup.
The easiest thing on the sending side to do is select voltages by relays as the heart of the sending system has only discrete I/O (machine control). The picture I started with was a zener ladder, but that circuit turned on all the lights below the selected one. Not what I'm looking for. So I have been pondering a way to turn off the previous light(s) as the next one is triggered. But I haven't quite put the pieces together yet. I'm sure that someone knows or as a team we'll put the pieces together.
I would just use a serial connection from a UART. You only need to send one character, of 8 bits, so a PIC like a 16F627 would do that fine.
If you want to send a signal on the power wire, you will need a low baud rate, a transistor to drive the line, and a diode and capacitor at the receiving end to keep the power on while the character is being sent.
The UART transmit lines are high when no data is being sent, so that would go through the diode and charge the capacitor. When the character is being sent, there is a "Start" bit, which is low, 8 data bits, and a "Stop" bit which is high. After that the lines goes high again. (As there is no voltage transition at the end of the "Stop" bit if no more data is sent, the end of the "Stop" bit isn't a physical event)
Anyhow, if you just encoded each light as one bit of the 8 that you sent, you can send 8 independent bits with one character. For lights you would only have to send the data maybe 10 times a second at most, so the line would spend most of its time high.
As long as the capacitor could keep the power on the PIC while the line drops low during the transmission, it wouldn't reset. The lights could be powered from the line directly, as they would only turn off for an instant, so there would be no problem seeing which ones are on.
Status Light Control
Here's a design challenge for you all (and me).
I have a series of status lights (four currently, but might be three to six) that I would like to illuminate, one at a time, using two wires, and as few components as possible. There is no order to the lights so a counter would be out.
The driver behind the attempt is to reduce the conductors required in the cables and connector to reduce cost. But too many components in the solution may increase the complexity while not reducing the cost.
My first thought was select the light based on the voltage supplied. I can get two lights if I use a positive and a negative voltage, but that diesn't get me in the 3-6 count required. I also was pondering a zener ladder, increasing the voltage to trigger the next light, but all the previous lower voltage lights would also be on. No go there.
I look forward to seeing what you all come up with.
All the digital and PW solutions so far violate the "power over the same two wires" requirement.
Sorry dude. WAY too many pieces. I have already done the cost analysis for a pair of microcontrollers and associated PCB and components. It would be cheaper and easier to run a multi-conductor cable.
Y
Unfortunately I would need to device a way to send the pulse count.
.
Only one is on at a time. They will be selected by a relay output. But now I'm adding a circuit to the mix. The price advantage is slipping away.
Component and PCB combine cost versus multi-conductor cable and multi-pin connector combine cost. Two wire and two pins is super cheap. The cost goes up almost exponential as the conductor and pin count rises. Additionally the cost is excellerated by the station count. Cable and connectors assembly cost does not decrease much, if any, with and increase in volume. Where as PCB manufacture, component, and assembly costs have a distinct volume price reduction.