Interesting project Arduino Serving tray

Arduino Pro Mini rotating serving tray
connect IR reflect sensor and DC motor
DC motor keeps spinning until IR sensor meets a reflective surface; it stops the motor for 3 seconds; then spin it again until meet next reflective spot and do the same 3 seconds stop and so on.
Please help write the code. Please guys.
Many thanks

what hardware involved?
what do you pay?
geo-location?
how to test?
requirements in detail? (without it you never know hen you're done!)
only code?
who does the hardware?

There are so many open ends in your post...

My question is ...

Why are you using a complex system with reflective steps on a rotating tray. Why not use a stepper motor with a single point on the tray that serves to specify a fixed point in the rotation (Home position).. Ohh and what do the "knight Rider" lights do.

Cheers Pete.

robtillaart:
what hardware involved?
what do you pay?
geo-location?
how to test?
requirements in detail? (without it you never know hen you're done!)
only code?
who does the hardware?

There are so many open ends in your post...
Thanks for reading my post.
Only code needed.
I don hav mch money 2 pay; but anyhow, plz qoute what you want and I will see.
Hardware I bult already, used a 6 volt DC motor, tray on a bearing; I have Arduino mini pro; IR reflect sensors ...all built..yet cannot write code...
how to test: attach a motor and sensor to Arduino and everytime sensor is faced to a reflective face motor should stop for 3 seconds and then proceed...
Requirement: tray rotates in segments, at each segment stops for 3 sec and then mmoves to the nest..rotating speed doesn't matter.
the nigh rider LEDs is just an add on to give some action look... hope this answers. Geo location means what please ?

Goldenshuttle:
I don hav mch money 2 pay; but anyhow, plz qoute what you want and I will see.

So why not give us a ballpark amount to consider.

It would be a good idea to fill in the story a bit more. You catch the reflection and advance the motor.

What motor is involved? Is the speed to be controlled? What about the LEDs? When do they light?

Is there anything else involved? Any controls?

The more you fully you can describe your goal, the more likely that someone can estimate the time/effort.

Thanks alot...here are more info:
motor is 6Volt DC motor; speed is not so important...but as the tray is 10 inch diameter..after i calculated the drive belt ratio..motor can spin at fixed speed 120rpm. LEDs are just to add a hitek look..so they can be making a night rider effect as long as power is connected. as I mentioned ..motor spins rotating the tray.., once IR faces the reflective batch; it instructs motor to stop/break for 3 seconds. and then resume rotation till it meets the next reflective batch; and does the 3 sec stop again..and so on..while the 6 LED simply roll to give a hitek look to entire tray...All i need is the sketch code; mechanics i have built already.