background image

MDB-RS232  Interface  Adapter  for  MDB  Coin  Changer  Bill  Acceptor  and  MDB  card  reader 

                                                      Page 3 of 12                                                                              http://www.waferlife.com 

 

 

 

(2) Power connector for AC/DC power supply (Normally we use the DC24V) 

 

(3) MDB connector to bill acceptor,coin validator or card reader 

 

(4) GPIO to Raspberry Pi board (Use RXD, TXD, GND and Ouput 5V to Raspberry pi) 

 

(5) Serial port to PC (Can use this port to test with PC software) 

Installation is relatively simple; there are only three connections that must be made for full 

functioning of the device. There are connectors on the MDB adapter box.: 

One  cable  plugs  into  a 24VDC power  supply.  (When  connecting  the  DC24V  power  supply, 

there is no need to consider the specific polarity. The 6-pin Molex connects to the MDB devices. 
The  final  connector  is  a  DB-9  and  connects  into  the  back  of  the  computer  or  any  other  main 
board  with  RS232  port.  There  should  be  an  open  port  on  the  back  of  the  computer  labeled 
“SERIAL2”  or  “COM2.”  If  you  only has the  USB port  on  your  computer,then  would  be  easy for 
you to order a RS232/USB adapter. 

For  MDB-RPI  board,has  two  serial  port  to  PC  and  also  to  Raspberry  pi  board  GPIO.Also  it 

will supply the DC5V voltage for Raspberry pi board. 

After connected the device,and then Apply power on with DC24V. Check for 

“Power Status”

 

LED on the box (RED led) indicating power is OK. 
 

If the MDB device is properly connected and working properly,then the 

“MDB Status”

 LED 

should start to flash. 
 

On the MDB-RS232 box also has another 

“PC Communication”

 LED,that would be flashing if 

has any data sendt from MDB-RS232 box to PC. 

Software 

The MDB-RS232 sends information generated by the MDB device directly to the PC via RS-232 
serial  communication.  There  is  no  need  to  poll  each  MDB  device.  This  is  done  by  the 
MDB-RS232. By default the MDB-RS232 will poll all known MDB devices. The MDB-RS232 then 
sends  data  to  the  PC  if  there  is  activity.  The  information  sent  to  the  PC  is  send  as  bytes  in 

hexadecimal

. For activity data,the first byte sent is the device ID. For example 30 XX means that 

a bill validator has sent information. Whereas 08 XX means that a coin mechanism has sent data. 
Consult the MDB V4.2 command specification for commands specific to your MDB device. 

Summary of Contents for MDB-RS232

Page 1: ...RS232 New Version box type V3 SPECIFICATIONS Communication format Baud rate 9600 Start bit 1 Data bits 8 Parity NO Stop bit 1 PC data Send Hex PC data Receive ASCII Hardware Specification Power Min 2...

Page 2: ...and protocol the only difference is Three LED version will enable the payment device from the start and Five LED version start with disable status for payment device and user need to use the enable co...

Page 3: ...asy for you to order a RS232 USB adapter For MDB RPI board has two serial port to PC and also to Raspberry pi board GPIO Also it will supply the DC5V voltage for Raspberry pi board After connected the...

Page 4: ...09 After sent the data 09 from PC then adapter box will read and send back the coin acceptor setup information 03 11 56 05 01 00 03 01 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 76 For example Bill...

Page 5: ...no bill s For example Send the command 3400030000h Bill s held in Escrow Y3 Y4 001Fh for all US bills held in escrow 0000h for no bill s held in escrow Send out 34h and then the 4 bytes Y1 Y4 to chan...

Page 6: ...09 to PC and also later will keep to send 3009 to PC 30 that means data is from bill acceptor 90 means a TYPE0 bill is accepted and stoped at the Escrow position For different bills maybe 91 or 92 or...

Page 7: ...gnized For COIN ACCEPTOR Coins Deposited Byte1 Byte 2 01yyxxxx zzzzzzzz yy Coin Routing 00 Cash Box 01 Tubes 10 Not Used 11 Reject xxxx Coin Type zzzzzzzz The number of coins in the tube for the type...

Page 8: ...8 92 4B QUARTER 1 08 92 00 08 92 06 08 92 15 Coin Rejected NICKEL 08 70 00 08 70 06 08 70 4C DIME 08 71 00 08 71 08 08 71 6B QUARTER 08 72 00 08 72 06 08 72 4B QUARTER 1 08 72 00 08 72 06 08 72 15 1 C...

Page 9: ...MDB RS232 Interface Adapter for MDB Coin Changer Bill Acceptor and MDB card reader Page 9 of 12 http www waferlife com...

Page 10: ...card reader 1402 Cancel card reader 1300000A0001 REQUEST VEND 1301 VEND CANCEL 13020001 VEND SUCCESS 130500640001 CASH SALE 1304 SESSION COMPLETE 1500 REQUEST REVALUE 1700 REQUEST ID 110001000000 Conf...

Page 11: ...ion And install the driver to create the virtual com port in the main controller 3 If can supply more documents to facilitate the development of applications Answer The MDB box we provide is to forwar...

Page 12: ...erface PC or android main board or popular Raspberry pi board to vending machine and then developer can use some simple command to act as a perfect cashless payment solution We also can order the samp...

Reviews: