top of page
Devin

The controller application

Updated: Nov 13, 2020

The heartpiece of the project is the standalone controller application, linking together audio, video and hardware, while recording valuable data to improve functionality.


The boring and technical part:

This application was built using the brand new .NET 5.0 framework in combination with WPF, meaning that the GUI is built using WPF's standard XAML format. This makes easy and quick iterations possible, while interacting with code in a more dynamic way.


It uses standard serial communication to detect and connect to any hardware device running compatible software. This idea was chosen because the initial hardware prototypes were built using arduinos, which emulate a serial connection over USB. Additionally, the bluetooth module in use does the same, making the software compatible to both without any additional work!


After retrieving data from the hardware, it processes it to more useful formats and logs it into files that can be used to draw graphs (and conclusions!) from it. This way we can figure out what connection there is between specific types of music and excitement, allowing us to tailor music to the wearer's personal preference much more easily.



 

What does this mean for the end user of this application? The first prototype may give some insight:


Essentially all the end user will have to do is start up hardware, the other software that's used by this project, and then finally the controller application. This will give a selection of devices that can be connected to (as data can only be read from one per instance), reading data straight from the hardware as soon as everything is connected.


In order to keep load low for the Arduino (and effectively circumventing its 8-bit limit), all data is transferred in byte sized packages, then pieced together in the application, leading to data such as temperature to actually have decimals once processed.


As more parts of the prototype get finished, more information will follow!

18 views0 comments

Recent Posts

See All

Comments


bottom of page