Smart roller gate controller, a printed circuit board