ok... all that text hurt my head!
anyway.... what I don't understand is WHY you are using another board (the Nano) when you already are working with a PI!!!
are you lacking IO an the PI or something???
For me, given that the PI is a beast compared to a nano, I would be implementing everything on it!