Integration of the bed sensors into an arduino