top of page

Week 5

It took sooo long but this week I finally managed to create a connection between Arduino and Unity! Man what was it a pain in my ass.

​

The first day of the week I tried to connect the touchboard with processing. This was so difficult because I could use a normal pre writen program. The touchboard variables are much more different than the normal Arduino code. It was also very difficult because normaly we would get a pre written code that you need to put on your Arduino and it connects with  processing if you load the pre written processing code as well.

Luckily the Bare Conductive Company had some examples on how to connect the board with processing. The only problem with this was that it sends digital data instead of Analog data. I spent a day trying to convert this data to analog and then I found the solution.

The problem was that inside the pre written code for sending data to processing was a function that transfered everything to Digital data.

I spent half a day writing a code myself together with Boris who helped me with this!

​

When I finaly had the data inside of processing, I found myself having the problem that the data that came into Processing was a String. Because of this I couldn't use the OSC server to send the data to Unity in the way we normaly used it. I needed to convert this string to an INT to that I could read it more easily in Unity.

But than Boris told me that that would've been an unnecessary step because I could also convert the string in Unity to an INT instead of doing this in Processing first.

Boris helped me make this possible and when we finaly create a String array to send the data to unity we converted the string arrays to INT's with the help of a function in Unity.

​

I also made a (almost) full sized scale of one of the sides of the hologram. I bought a piece of acrylic glass and cut it out at Saxion. This gave us a good idea of how the hologram was going to look like and made things much clearer for the team. We also tested this piece on one of the screens to see how clear the hologram will be!

​

​

 

 

 

 

 

​

​

​

​

​

​

 

 

 

 

 

 

 

 

 

 

 

 

 

I also calculated the wooden plates and how much we needed for this, how expensive it is going to be and what more we need.

​

bottom of page