Automatically railway crossing system

This project is done by my group for the physics project

wrong category, no information....

Hello, do yourself a favour and please read How to get the best out of this forum and post accordingly (including code with code tags and necessary documentation for your ask like your exact circuit and power supply, links to components etc).

I moved your topic to an appropriate forum category @rahulbhagat.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

That could be a fun project. I will assume it is a team effort. Have you done the brainstorming session to determine what to build. From that have you put together a requirements document stating what needs to be accomplished. After that you need to put together a schematic showing how to build it. How much time do you have to accomplish this. Also allow several days for debugging both code and hardware.

Before posting code read the forum guidelines and use the code tags, it will save days of effort on the part of a lot of people.

A great supplement that should be in your library is the Arduino Cookbook, if not ask the librarian to get it for you. It can also be found on line.