Conclusion

In conclusion the train track was a significantly more complex project than we anticipated.  What made it more challenging was the interface between the BlueTooth modules as well as the interface to control the train tracks.  Neither of these modules had a good feedback mechanism for letting the developer know if they were connected.  The train track was particularly annoying since it only let the developer know if a valid packet was received not if there was a bad checksum or if there was an invalid packet.  In the future it might be a good idea to develop a UART network with a tx or txen or rx light so that the connection can quickly be diagnosed.  Alternatively a test point to be able to probe the communication line could be a good idea.  The BlueTooth suffered a similar problem.  We were unable to establish a two-way communication which meant that the stations could not send any information back to the controller.  If the stations could reply then the controller could check to see if all of the stations were connected.  If the stations were not connected then the controller could either try again or display a message saying that the boards were not connected.  Due to this unreliable connection it was very challenging to provide effective diagnostics on the different boards while attempting to find where the communication link was broken.