Following is the link that is related to this project-http://www.engineersgarage.com/contribution/intelligent-ambulance-automatic-traffic-control
I have a problem regarding the remote which has to be connected in the ambulance unit which tells about the lane the ambulance is travelling.Please do help where does the remote has to be connected to the PIC microcontroller or it can be done by connecting it to HT12E?
both options are the best. if you are connecting the remote directly to pic, then plug through the Tx and Rx of the PIC.
And if you are using the Encoder(HT12E), Connect the Data Pin of the encoder to the PIC and make sure that at the PIC, the data lines are Inputs to the PIC. so, you then configure your channels.