And the project is already running with arduino mega board
That is absolutely no reason to use two processors. Put it all onto one, you are just making it a lot more complex than you need to by having two processors..
Do you have links
What is wrong with googling arduino xxx where xxx is what you are looking for.
I did this and came up with these.