Initial hardware code

arduino and raspberry pi code