Hi.
Please welcome me as a new guy trying to learn open source electronic devices.
I have a project to set an interface between smartphone apps online payment web server to a self vending machine.
The situation is.
1. Self vending use TTL serial with no addressing.
2. Command in multiple byte HEX Code
3. Link at most 15 unit machine in 1 shop.
The idea,
1. Use TTL to RS485 adapter pull up to a gateway(Currently have Arduino YUN, Maybe change to Raspberry PI)
2. Pull 1 to 1 connection for each machine.
Question:
1. If Raspberry Pi HAT could be connect to 15 unit serial port?
2. Do I have to use 4 port HAT and stack to 4 unit to get 15 port?
3. My boss say have to install REST API to the Raspberry PI so it can send specific hex command.
Please help because i'm not tech savvy person. Just learning as it flow.
Thanks