description: Multi-Drop-Bus MDB Converter Board for the Raspberry Pi
url: http://www.abrantix.com/MDBConverter.html
buy: http://blog.abrantix.com/webshop/
image: 'mdb2pi-hat.png'
pincount: 40
eeprom: yes
power:
'1':
'2':
'4':
'17':
ground:
'6':
'9':
'14':
'20':
'25':
'30':
'34':
'39':
pin:
'8':
mode: UART
'10':
mode: UART
'27':
mode: i2c
'28':
mode: i2c
i2c:
'0x50':
name: HAT EEPROM
device: 24C32
-->
#MDB2Pi HAT
The MDB2Pi HAT can serve as an MDB master or as a peripheral MDB Device for Vending Machines (VMC). It takes care of the MDB specific 9-bit format, electrical and timing constraints. It forwards the MDB payload to the Raspberry Pi UART using a simple serial protocol.
The MDB2Pi HAT is powered from the MDB bus (10...42V regulated or unregulated supply) and backpowers the Raspberry Pi with up to 2.5A@5V. Thus no separate power supply is required for the pi.
##Configuration
1. Enable UART and HAT detection by adding the following lines to /boot/config.txt: