Please answer me.

Hello everybody. I'm new on this forum and I don't know so much about Arduino, so excuse me if my question are "silly"
I'm working on project for monitoring road traffic and I want to use Arduino. I have two questions :

1- can I use IR deterctor and an ultrasonic detector simultaneously for detecting car presence (for more accuracy).

If (IR & ultrasonic detect an object)
| number_of_objects += 1
otherwise
| not counted

2- And the second question is: can I use timers with arduino. The detector must count the car and set a timer if it still on his field (count the stop time of the car).

Thank you all and sorry for my bad english.

1- can I use IR deterctor and an ultrasonic detector simultaneously for detecting car presence (for more accuracy).

Yes

2- And the second question is: can I use timers with arduino. The detector must count the car and set a timer if it still on his field (count the stop time of the car).

Yes

Thank you verry much Mr johnwasser for your answer.
Now I can start making my project :slight_smile:
Thanks again !