Please,i need help with a project for my younger brother,this is what he's trying to do.we're trying to build an intelligent traffic control system using 2 microcontrollers in a four way junction.there has to be 1 infrared sensor on each road detecting passing of a vehicle making four for the for four roads.All four ir sensors will be connected to a microcontroller 'M' which will pass the information of vehicle count on each road to the other microcontroller 'D' using an RF module. The other RF module should recieve the information and the microcontroller 'D' should make decisions for allocating time based on the road with highest number of vehicles. LED will be attached to microcontroller D to show timing decisions.
It's a project from school I said i'd help him with but i completely forgot.it's due in 2 days. Any help is highly appreciated. I really dont have any prior knowledge of this sorta thing,so please expalin things in simple terms please :confused: .Thank you
P.S:he already has the following equipment ir sensors,arduino mega,arduino uno,breadboard,Nrf24L01-2.4 transciever