Tuesday, November 18, 2014

It works

Post 33

Happiness Level: 6

I have made it a point to record every single detail of my working progress.

Note to self:

1. Open arduino first and link up the sketch,
then only open unity.

Why? If I open up unity first, the serial port would be already in use and I wouldn't be able to upload new sketches to my board.

2. z to a2

Wire it like this. I'm only using the Z index, so yeah I only need to hook one up.

3. blah c# script put ON THE CUBE (element)


Yes, out of frustration I named the file blah. I tried renaming it but it messes up everything. So yeah, I'm sticking with blah.


I was trying to hook up my wifi module and connect it to the computer but had some troubles. Apprently online people said the usb port has to be on com1.

I downloaded different terminals, hyperterminal, coolterm, x-ctu and XCTU. Still doesn't work. I'm starting to think it's the wiring problem.

Totally cannot be the driver problem because I already got the accelerometer to work.

BUT, after awhile I got it to work with HYPERTERMINAL and it connects! You had to pay for it.



I had to make sure the board is clean from code, I got spammed because my accelerometer code is still in it.

I have to adjust Baud rate to 38400 so I don't get alien wordings. Like this.


So after awhile I got what I wanted, but not really. It didn't say OK like it's supposed to after I typed in +++. It's to show that it's connected. Tutorials in the links below.
It was supposed to be +++OK.


Well, it's a step.


References

Faludi, R. (2013). Common XBee Mistakes. [online] Faludi. Available at: http://www.faludi.com/projects/common-xbee-mistakes/ [Accessed 18 Nov. 2014].
Hartman, K. and Faludi, R. (2012). D I Y : Superhero Communicator Cuffs. 1st ed. [ebook] New York: OCAD University. Available at: http://research.ocadu.ca/sites/research.ocadu.ca/files/socialbody/201106_SuperHeroCommunicatorCuffs.pdf [Accessed 18 Nov. 2014].
Ladyada, (2012). Xbee Adapter - Connecting, Configuring and Upgrading. [online] Available at: http://www.ladyada.net/make/xbee/configure.html [Accessed 18 Nov. 2014].
sparkfun, (2014). Serial Terminal Basics. [online] Available at: https://learn.sparkfun.com/tutorials/terminal-basics/all [Accessed 18 Nov. 2014].

Friday, November 14, 2014

First Technical Tutorial of the Final Sem

Post 32

Tutor(s) present: Yee Siang

Happiness level: -5

Yes, this is the first time my happiness level went below 0. Not that seeing him after the two month holiday was bad at all, it was more on how embarrassed I was with the little progress I had for the technical parts over that period.
Spent the whole time trouble shooting stuff I managed to do at home on my desktop. One thing I did though, I tried out the wifi router,

Problem 1:
I didn't record my success and what I did when I got the Unity and Arduino linked at the time, (the post which had a youtube of me waving around the working accelerometer)
I didn't even record how the wiring map looked like. I brought the try out files with ghoul files with weird namings like 'blah, tryout, try2' so I did not know which file was the exact one which worked.
So here it is:





Problem 2:
I did not try out the Xbee wifi module at all and discovered that XCTU was more complicated to use than I thought it was. There;s this new software called CoolTerm which I found online on the Arduino site which could help with the wifi on my xbee.


Tuesday, November 11, 2014

Back to School.

Post 31

Tutor(s) present: Jazmi Jamal

So here starts the first tutorial of my final semester before I plunge headfirst into land of professional working adulthood and OT's. I have made several alterations on the output of my FYP, one drastic one would be the output.

Won't be using a holobox anymore, instead I would be using a projector screen to project map the audiences beside the main screen and the main screen onto a blank wall.

My initial idea was, that I wanted o place 2 monitors at both sides of the screen for instructions and visual aids.  Like so.



BUT, if I had use the two monitors, I'd had to handle 4 monitors including the projected screen, my laptop and the two monitors along with all the extra CPU's and what not. So instead of lugging all these monitors around, using one projector to project the 3 panels would be easier.


I updated him with my progress over the holidays, the changes I made and such.


*Important actions
- Take note of the distance and projector placements
- The song isn't 'hyped' enough.
- Produce the mock up by next week.
- Test out the wifi connection

Somehow every time I think about the FYP I'd get all jittery and wouldn't know where to start. Well at least I'm making things simpler and cleaner, which also requires less effort to produce, so I'm less worried now.

Happiness Level: 6 

(Happy that I could compromise some things.
Instead of 'compromising on the idea and quality' like most people would think compromise meant, these compromises actually help the project)




Wednesday, October 22, 2014

Music editing

Post 30

Alright so after an entire month of holiday-ing I have decided to get back to work on the Woo Band. I edited the music and kind of pictured the entire flow with the sound effects and everything.


I created a mock up animation just to put on youtube. Obviously it will resemble nothing of this (as in the art style). It's kind of like a story board. At which point of the music when the graphics will be more aggressive and what not. So here's my little experiment with SUMMERTIME SADNESS:

I have edited 2 mixes so that people wouldn't be bored with just one music.
I have another one called ARE YOU READY.
Good progress I must say. 
HAPPINESS LEVEL: 8

Saturday, September 20, 2014

TESTING ARDUINO + RGB BULBS

Post 29

OH GOLLY IT WORKS! I SUCCESSFULLY CONNECTED ARDUINO TO UNITY. LIKE YEAYS.

And my RGB works!
Turns out I couldn't use any other FTDI other than the special FTDI FOR Lilypad.



This is me testing out the accelerometer in Arduino.



Here's a video of me waving it around with unity at the background.



I had an error about an extra unused class but it was just a minor problem. They didn't want me to waste the declaration.

I'm overjoyed. One step closer!

ALL THANKS TO THESE TUTORIALS:

I'm going to add a Happiness level graph later on. I thought I wanted it to be Stress Level, but..it's a little bit discouraging for my tastes.

Happines level : 10


References

LilyPad Arduino, (2013). LilyPad Accelerometer. [online] Available at: http://lilypadarduino.org/?p=384 [Accessed 20 Sep. 2014].
Mengsk, C. (2010). Unity3d + Arduino (Read serial in Unity3d) - Arduino Forum. [online] Forum Arduino. Available at: http://forum.arduino.cc/index.php/topic,40001.0.html [Accessed 20 Sep. 2014].
Stackoverflow, (2014). Weird warning : "is assigned but its value is never used". [online] Available at: http://stackoverflow.com/questions/6330491/weird-warning-is-assigned-but-its-value-is-never-used [Accessed 20 Sep. 2014].

Sunday, September 14, 2014

Misery & Linking Arduino to Unity

Post 28

I tried and tried again with my boards but it just couldn't connect.

I keep getting the same errors I got in my Aug 27 post.

Turns out I had to buy a SPECIAL FTDI Breakout board and the one I got from China is not compatible.

So, I have to get a new one. From Singapore.



I'm going to have to use my Adafruit flora to test this out while waiting for my usb chip, the tutorial to link unity and Arduino looks pretty simple.

My adafruit Flora works swimmingly and I got the response I needed. Step 1 complete.



I keep getting errors for the UNITY. Will look more into this soon. I can't seem to find the problem, I followed the tutorial word by word.





I'm going to start on editing the music tomorrow.


Happiness Level : 2

Sunday, September 7, 2014

Motion Graphic Tutorials

Post 27

These are a few examples and tutorials I watched today. I needed a proper milestone so I did this today and it's level of difficulty seems pretty okay.

http://www.videocopilot.net/tutorial/the_grid/

http://www.videocopilot.net/tutorial/3d_replicator/

http://www.videocopilot.net/tutorial/shockwaves/

http://www.videocopilot.net/tutorial/advanced_spin_fx/


Happiness Level : 5 (Neutral)