First i would like to say that this will be my 1st real project using a arduino.
In the building where i live, we have a -1 level for carpark and a main gate (garage door). also in the middle of the ramp we have some kind of a magnetic system "driiled" on the floor (looks like a square of some sort) and a couple of red/green traffic lights (all this from an old system that was all analog based on reley's)
Can i... have both lights RED and whenever a car pool in the gate ( gate light) will turn GREEN but the other light (bottom of ramp) stays RED and it only goes GREEN when the 1st car passed.
then both go RED for 5 sec and then the car that wants to go up the ramp gets GREEN go ahead.