WCTU – Update #1
I have not been posting about WCTU(Wirelessly Controlled Testing Unit) as I have been making progress on it because the project has alot of (confusing) sub-tasks being worked on at once. I hope to have a full schematic laid out by the end of winter break for v1.0(ATMEGA powered version). The c-interface I also hope to have done at that time.
The sub-task of focus recently has been developing the html interface. This interface will hopefully communicate directly to the device without the dependency of a server. Originally, I planned on only having the device communicate with the computer via UDP however since HTML5 Websockets require a TCP connection I will need to implement that on the device as well. In hindsight, TCP is probably worth implementing so that when the user wants to set the voltage to 8V it isn’t accidentally set to 30V. Since the interface requires html5 sockets it will only work in Chrome at this point in time.
Pictures of the html interface can be found below. As shown, the interface has 3 main components(controls, oscilloscope, console). The controls are used to control the device while the oscilloscope will display all connected device’s readings. The oscilloscope uses a library called Smoothie Charts to plot the points. The console is used to output general, warning, error, and alert messages(each message type is color coded).
I plan on pushing this sub-project’s code to Github in the next few days. I still need to add the buttons used for controlling the device as well as implementing the method for plotting actual data from the device(right now it just plots dummy data but I do have a dummy server set up using Tornado).