NodeJS app to control boom gates, using these micro servo motors using some kind of sensors. I used blue LEDs facing these LDRs, which is basically just an LDR and a resistory into the GPIO port.
There are two sensors, on GPIO pins 4 and 17, with pin 18 controlling the servo PWM output.
