Skip to main content
9 events
when toggle format what by license comment
Feb 5, 2013 at 14:32 history edited Anindo Ghosh CC BY-SA 3.0
Added link to "dead bug construction" on Wikipedia
Jan 17, 2013 at 17:10 comment added Chris Stratton This is probably overkill for the application in question, though as mentioned there are applications where the extra cost and complexity is warranted.
Jan 17, 2013 at 16:56 comment added John U Some google/wikipedia search terms for you: MIDI, DMX, RS-232, RS-485, RS-422, 20mA current loop, differential signalling.
Jan 17, 2013 at 16:05 comment added Phil Frost @CodenamedSC: search "midi microcontroller" or "midi schematic". Thousands of things out there. Another direction for further research is current loop, MIDI being simple example of such.
Jan 17, 2013 at 15:54 comment added Codenamed SC @PhilFrost any link will be helpful
Jan 17, 2013 at 12:40 comment added Phil Frost I suggest you look at MIDI for real examples of this technique. Plenty of tutorials out there for interfacing with MIDI in both directions.
Jan 17, 2013 at 9:07 comment added John U Opto on the micro end is definitely the more elegant idea, I'd be paranoid (experience with telecomms / lightning / EMC) and add a couple of protection diodes/tranzorbs to save the opto from stray/reverse/over voltages. In general it's preferable to send a bigger signal down the line (send 12v and deal with it at the micro end) rather than start with a small signal and struggle to receive it reliably. It may also help your cause (noise immunity) if your sensor can drive some current down the line, EG through a 100Ohm termination resistor. See RS485 / RS422 standard for examples.
Jan 17, 2013 at 9:04 comment added Vladimir Cravero this is probably the best solution, but if the cable has a ground conductor I do not think the potential mismatch would be significant. I'd try a resistive divider, that's the simplest solution, or the zener solution below which is even more precise.
Jan 17, 2013 at 5:22 history answered Anindo Ghosh CC BY-SA 3.0