Create Raspberry Pi Arduino and DCC

Reading DCC Code with an opto coupler with an arduino and send it to a raspberry pi