Questions regarding circuit using jm_dmxout.spin by Jon Williams
skylight
Posts: 1,915
This is a very elegant and simple object to understand programming wise
I have a few questions about the circuit itself
the questions relate to what I believe is the last updated version: 23 SEP 2009
diagram is as below:
Regarding the two resistors top left attached to pin 1 of the ST485BN i'm presuming they are both 4K7 as there is only one designation, is this correct?
The diagram above is one of two I found on the OBEX the previous one (older version) I believe (mislaid this and can't find it) showed a 10k ohm in the 5v line to pin 1 so is the latest version diagram missing this or are both resistors 4K7 as presumed?
The 120 ohm resistor is shown with a symbol that looks like a removable link is this showing a link or does it mean use on long length of cable? I ask as normally the 120 ohm resistor is an end of line resistor, so should that be across pins 6&7 or is it saying attach at end of cable run from the XLR? If not wouldn't it terminate and drag down the signal out from the ST485BN pre the XLR?
Again the same "link" symbol is shown on the screen to Gnd cable from pin 1 of the XLR , what does it denote?
I notice no resistor shown on the prop pin to pin 4 of the ST485BN (there is one in line with pin 1) as the chip is supplied with 5v is it safe to connect pin 4 directly to the prop i/o without a resistor? Same with prop to pin 2&3?
Thanks in advance for clarifying
I have a few questions about the circuit itself
the questions relate to what I believe is the last updated version: 23 SEP 2009
diagram is as below:
+5v +5v   │ │  │ 4k7 │ ┌─────────┐ │ dmxrx ────┻─┤1° 8├─┘ txrx ──────┳─┤2 7├────────┳──────┳─────── Pin 2 XLR-F ┣─┤3 6├────────┼─┳────┼─┳───── Pin 3 XLR-F DMX OUT dmxtx ──────┼─┤4 5├─┐ │ │ │ │ ┌─── Pin 1 XLR-F │ └─────────┘ │ │ └ ┐ │ │ │ 4k7  ST485BN │ 120  ┌ ┘ └─┼─┼─── Pin 2 XLR-M │ │ │ │ └─┼─── Pin 3 XLR-M DMX IN   └─┘ ┣─── Pin 1 XLR-M └ ┐ ┌ ┘ 
Regarding the two resistors top left attached to pin 1 of the ST485BN i'm presuming they are both 4K7 as there is only one designation, is this correct?
The diagram above is one of two I found on the OBEX the previous one (older version) I believe (mislaid this and can't find it) showed a 10k ohm in the 5v line to pin 1 so is the latest version diagram missing this or are both resistors 4K7 as presumed?
The 120 ohm resistor is shown with a symbol that looks like a removable link is this showing a link or does it mean use on long length of cable? I ask as normally the 120 ohm resistor is an end of line resistor, so should that be across pins 6&7 or is it saying attach at end of cable run from the XLR? If not wouldn't it terminate and drag down the signal out from the ST485BN pre the XLR?
Again the same "link" symbol is shown on the screen to Gnd cable from pin 1 of the XLR , what does it denote?
I notice no resistor shown on the prop pin to pin 4 of the ST485BN (there is one in line with pin 1) as the chip is supplied with 5v is it safe to connect pin 4 directly to the prop i/o without a resistor? Same with prop to pin 2&3?
Thanks in advance for clarifying
Comments
The jumpers are explained in the article. The correct resistor are also listed.
The complete "Spin Zone" listing is here
I didn't realise there was this resource existing
I used 4.7K resistors all around to simplify the BOM. The pull-up on the RX line keeps it at idle when the device is in TX mode (which floats the RX output of the chip). The series resistor into the Propeller RX pin limits current as that chip has a driven output when in RX mode. The pull-down (on pins 2 and 3) keeps the device in RX mode when that Propeller control pin is floating -- you have to [deliberately] drive that pin high to put the chip in TX mode. The chip is a 5v device and does not need a current limiter into the TX pin. It won't hurt to put a resistor in the TX line but it does not help anything, either; pin 4 on that chip is an input so there would never be an electrical conflict between it and the Propeller
The 120-ohm line terminator is required at the ends of an RS-485 link to prevent reflections; the jumper allows you to move nodes in a system and enable line termination if the node is at one end of the line or the other. See this link:
-- http://www.maximintegrated.com/app-notes/index.mvp/id/763
I have used that circuit many times -- it works really well for half-duplex, RS-485 applications.
Looking through the Gadget Gangster site i'm unable to locate the kit and wondered if it is still available from somewhere?
Nick from Gadget Gangster has been off the radar for a while.
The original Platform that JonnyMac created is in Column #0, (ExpressPCB)
The ExpressPCB files were included in the DMX article.
Express PCB is out of the question at $135 for two boards, that's without silkscreen and solder mask
$311 with!!
I can't do it right away, but I will probably convert this to QuickStart format as I do a lot of work with DMX.
The hardest thing is getting compatibility with other boards plugged into the Quickstart, for my project I'm already using a QMP touchscreen, obviously this would have to be the top board in the sandwich It leaves pins 8-15 free for use with the DMX board which would have to be the middle board so would need pins below with female header above, do they make female headers with long pins that could pass through the middle board and plug into the Quickstart?
The Quickstart does have alternative pinouts that can be soldered to so perhaps the dmx board could end up underneath the quickstart?
I'm trying to keep the quickstart footprint for compactness, would be nice to keep the height as low as possible too as batteries need to be added also, been looking at the 18650 format to give 7.5v which I would regulate to 5v to feed the DMX and Quickstart boards..