I need software written to create a 2 way traffic light system.
This is for mobile units, and the units will connect to each other by ethernet.
There is to be a master, and a slave unit (master and slave to be set by pulling A0 low, or high). Master/slave detection will only occur during boot.
Master unit will generate a simple web interface, to make settings.
Setting that are available should be:
-Master duration in seconds (period that master unit is green for traffic)
-Slave duration in seconds (period that slave unit is green for traffic)
-Amber duration in seconds (period that both units display amber)
-2x manual override buttons to demand a change in traffic flow (swap which unit is green)
Master unit will have ip address [login to view URL]
Slave unit will have ip address [login to view URL]
Every 1 second the units should send a network heartbeat to the other, so that if there is a failure of communication, or hardware, all traffic lights go to flashing amber state.
The heartbeat should simply be the master sending the current operation, like <green>, {wait 1 second} <green>, {wait 1 second}
The slave should echo the heartbeat. If slave doesn't get packet in 2 seconds, goto flashing amber state
If master doesn't get response in 2 seconds, goto flashing amber state.
The slave should just do what the heart beat says, <green> for green, <amber> for amber and <red> for red.
Hello
We are a team of Electrical Engineers with experience in embedded and software solutions. We have worked on projects based on Arduino and other development platforms involving sensor interfacing, actuator driving and communication. We have extensive experience in Network Sockets Programming and Web and Desktop GUI applications development.
Kindly mention your timeline details. Furthermore, kindly mention if you only want the arduino code or the accomanying hardware too. Which ethernet module are you using ? We can develop a highly efficient solution to allow synchronisation of the two modules without a central server as required.
Looking forward to working for you.