REPOST: During lock down due to Covid19, I have nothing to do so I decided to make Train simulator to simulate the world of train travel by myself. Let's see ...
Detail
1. The final prototype is like this picture
2. At train simulator panel, you need all buttons and levers to connect with Arduino board as describe in schematic here
3. The simulator diagram is as the below picture. You need the Arduino Leonardo to connect with Ubuntu Notebook that running BVE Train simulator program.
4. Download sourcecode for Arduino Leonardo here
5. See the working of Train Simulator Control Panel video is here ->