Update mdb2pi-hat.md

This commit is contained in:
mmame 2017-03-28 10:05:49 +02:00 committed by GitHub
parent 4f04927acb
commit c95f8eded3

View File

@ -46,12 +46,12 @@ i2c:
name: RTC on I2C1 name: RTC on I2C1
device: PCF8563 device: PCF8563
--> -->
#MDB2Pi HAT # MDB2Pi HAT
The MDB2Pi HAT can serve as a 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 can serve as a 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 at 5V. Thus no separate power supply is required for the pi. Furthermore, the MDB2Pi HAT contains a Real Time Clock (RTC), buffered by a super capacitor. 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 at 5V. Thus no separate power supply is required for the pi. Furthermore, the MDB2Pi HAT contains a Real Time Clock (RTC), buffered by a super capacitor.
#Configuration ## Configuration
Enable UART and RTC by adding the following lines to /boot/config.txt: Enable UART and RTC by adding the following lines to /boot/config.txt:
```bash ```bash
enable_uart=1 enable_uart=1
@ -64,7 +64,7 @@ sudo nano /boot/cmdline.txt
``` ```
--> remove the "console=..." parameter --> remove the "console=..." parameter
#MDB Master and Cashless Device Demo: ## MDB Master and Cashless Device Demo:
Install mono runtime: Install mono runtime:
```bash ```bash
sudo apt-get install mono-runtime sudo apt-get install mono-runtime