MDB (Multi-Drop Bus) & Stamp
docwisdom
Posts: 28
I am using a BS2px to control a host of vending machine type coin dispensers. Has anyone worked with MDB or ccTalk on the stamp? I am stumped on circuit connection and communication with the devices within Pbasic.
Here is a link for MDB protocol
http://www.vending.org/technology/MDB_Version_4.pdf
Here is the link for ccTalk
http://www.moneycontrols.com/en/products/view/70/ccTalk+Serial+Communication+Protocol
I have followed the directions in part 3 of cctalk to build a serial interface. I connected it into my board but when I get to use header 167 to dispense I have no idea what security algorithm they are talking about. If ccTalk is too complicated, I will go with MDB, but I havent seen how to connect it with the stamp and what baud rate combo to use because it has an extra mode bit.
thanks
Here is a link for MDB protocol
http://www.vending.org/technology/MDB_Version_4.pdf
Here is the link for ccTalk
http://www.moneycontrols.com/en/products/view/70/ccTalk+Serial+Communication+Protocol
I have followed the directions in part 3 of cctalk to build a serial interface. I connected it into my board but when I get to use header 167 to dispense I have no idea what security algorithm they are talking about. If ccTalk is too complicated, I will go with MDB, but I havent seen how to connect it with the stamp and what baud rate combo to use because it has an extra mode bit.
thanks
Comments
What makes MDB hard to implement is that it uses a 9600 baud 9 bit data stream. The timing is rather critical.
I use one of the devices attached below to communicate via a pc serial port to MDB devices and this could easily be done with the basic stamp as well. You just need to send a simple command via SEROUT and receive in via SERIN.
I would like to avoid purchasing another component for this project. Do you know how I might interface with the MDB directly and how (if possible) I would format my serout & serin for 9 bit?
thanks!
anyone else have any experience using MDB?
Me too I'm interrested in·vending m. control and MDB. Have you done any progresses meanwhile?
The rx line needs a small pullup resistor and the tx line will need an amplifier to supply the minimum source current of 100mA @ 4v.
Our company also offers a product called the MDBPro
http://home.datawrx.com/products/mdbpro.html
It handles the complexity of the MDB protocol and passes simple ASCII or modbus signals over serial line.
The MDB layer is completely masked from the host device.