Rewrite/improve/add some functionality mega 2560 code efficiently. it is currently working well but I feel improvements can be made to it :
1. improve target distance calculations and <>= signs.
2., improve pwm and braking between direction changes to protect driver
3. improve Serial and Sensors read/write accuracy.
4. Add wireless functionality using node mcu
5. Add 2 limit switches
6. add custom delay in seconds between movements
7. Add serial monitor control for relays
8 freelancers are bidding on average $37 for this job
i can do arduino project for you according to your requirements. i have an experience of 3.5 -4 years in this field. sir i did projects like this kindly reply i want to discuss it with you