i dont get why this wont work.

what is your specific question? you just seem to be detailing your project. Do you have coding issues, or queries as to how to organize your hardware?