This week we made great strides for the hardware software interface. All of the teams esp8266s were registered with CMU-Device’s wifi. We successfully implemented the esp8266’s quick connection to wifi, establishing communication with AWS IoT, and pushing data packets with table occupancy. Code can be found here
We initially deployed our Amazon RDS mySQL instance and created the preliminary AWS lambda rule to push the uploaded data to this mySQL database: code
We are currently on schedule with exception to low power testing and code creation. The major deviation is the necessity to use the PubSubClient and WifiClientSecure libraries to upload data securely from the esp8266 without fully knowing what they are doing under the hood. The risk mitigation for this is that we could rewrite some of the connecting and publish code as we only need to transfer data in one direction.
Additionally, we ordered the rest of the hardware last week, including switching regulators and a battery charger, and are hopeful that we will be able to get everything assembled soon! Although we would have ideally had this done a few days earlier, we still have a lot of time to run potential risk mitigation plans in case pieces of hardware don’t work as expected by figuring out and purchasing alternative solutions.