We have to program a car wash! And need help to program it. We are not good at programming but it’s a project in school. The brushes are controlled by sensors. We watched YouTube videos but it doesn’t helped us. Car wash with Commodore SX-64, part 1 - YouTube
Please help us
Welcome to the forum
Your post was MOVED to its current location as it is more suitable
This is a great place to get help with a program when you have a problem, but it is usual for you to have a go at writing the program yourself
So, what have you written so far ?
- Which Arduino do you have ?
- Which motor control board do you have ?
- Which motors do you have ?
- Can you stop and start a motor using a program ?
- Which sensors do you have ?
- Can you read the sensors and print the readings ?
List out all the actions, sensors, switches and actuators/motors you’re going to control.
Next, develop a sequence or state list that shows how they will act together. (almost a flowchart).
Then work one one element at a time to make sure you’re getting the right values and can perform the individual actions you identified.
Forget about automation at the moment, you just trying to make individual things work.
Take a rest, and read up on millis() timing, and doing several things at the same time (e.g. reading the emergency stop switch while a car is half way through a timed cycle)
About now, you’ll be ready to get help combining all the things you learned - and discovered you hadn’t thought of!
You’ll also need to plan your power supplies and drivers to ensure you have enough oomph to make things happen when they need to.
Topic closed as there is a duplicate in the German section with multiple replies