Physical

Interface consists of a DB9/female to DB9/female connection through shielded cable. Through this cable, data signals are routed according to RS232 protocol, at 19200 bps, 8 bit data, no parity, one stop bit (19200/8N1).

Data transfer

Transfer takes place in asynchronous transmissions in both directions. For data transmission, characters from ASCII code 32 to 126 are used. At the end of a transmission, a newline character (ASCII code 10) is sent. The recipient begins processing a message after receipt of this newline character.

GCC software must read transmissions from PB-B03 as soon as it receives notice of incoming data. PB-B03 may stop further transmission and switch matrix monitoring while it is waiting for data to be read from the serial line by the GCC. PB-B03 must provide appropriate safety measures to shut down the lamp matrix if it cannot maintain tolerable strobe timings there due to congestion of the serial line.

Protocol

The objective of the protocol is to transfer one byte of address information from GCC to PB-B03 or PB-B03 to GCC. Additionally, the desired or observed direction of change (on->off, off->on) has to be transmitted. Addressing is out of scope for this document.

Each sender transmits data in the following way:

0xAA:XXX\n

AA      Hexadecimal address
XXX     Desired/observed state: " ON" | "OFF"
\n      Newline character (ASCII 10 decimal)

If, for example, GCC wishes to turn on lamp matrix output 0x3c, if would send "0x3c: ON\n" to PB-B03. If in turn PB-B03 notices a switch at address 0x44 having opened, it sends "0x44:OFF\n" to the GCC.


CategoryPinball


THIS DATA IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DATA, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

All product and brand names mentioned on there pages and in the source code are registered names and/or trademarks of the respective owner and are mentioned for identification purposes only.

For a full copyright notice, please see this link. For imprint and contact information, please see http://www.thiemo.net/.

PinBall/Parts/PB-I01/PB-I01.01 (last edited 2006-10-30 21:43:45 by ThiemoNordenholz)