Controller and Arduino code for the wheelchair automation project