2015年5月3日星期日

Week 8. Own group presentation and feedback(Communication)

Group presentation 2: Communication

So this week, we are doing our own presentation,and because they've already separate the topic in parts so my job is doing the map for the presentation.

My part:

The map is for showing the suburb we are living.Because we are living in 5 different suburb. and some of the team member have job or study, so there is really hard we have a face to face meeting.So usually we just post the stuffs on the Facebook group and use Google docs to share the work.
map

Steps:

  1. Research the map image on internet (based on Google). Map image original
  2. Ask all the team members the their own suburb on Facebook.
  3. Use Photoshop to add some info and corp the image size.

Feedback:
  • Good definition and clear understanding for the topic.
  • Communicate with each other by using Facebook,Google docs and blog,etc.
  • Separate the topic to parts and combine their works together at the end.
  • Clear images and texts.


Improvement point:
  • We have the same problem as last week presentation group.we don't have a leadership in our team (no-hierarchy).So we need a leader for the group and make our group working in army system.It will helps we get the work done quickly and high quality.
  • We need to communicate with our client.and get feedback from them.Because the client may change the briefs or initial, need to up to date.
  • Should talking the actual examples of our own group,such as: lack of communication can't make the working done probably.


After presentation comments and programs:

We decided to let Peter be our group leader and make the group in hierarchy system.and also we need to post more stuffs on Facebook that other members can see and share the ideas.And the most important thing is have a face to face meeting which can help us more understanding of each other's thinking. The collaboration is major purpose for the course.


This Week program:
I get another box of kit from russell after the studio. So i will trying to put 2 potentiometers on one chip and makes it plug-in correctly. Also try to use RGB light or 2 led lights on the chip to show the difference of coding.

2015年4月27日星期一

Week 7. Group presentation and feedback(Planning)

Group presentation 1: Planning


Feedback:
  • Good explanation and clear understanding for the topic.
  • Communicate with each other by using Facebook,Google docs and blog,etc.
  • Using Gantt Chart for the planning and clearly showing the steps.
  • Work as a group.separate the whole thing to parts and combine their works together at the end.
  • The video is amazing and interesting.
  • Clear images and texts.


Improvement point:
  • Have no leadership in the team (no-hierarchy)
  • The texts in the video is running so fast, should make it a bit slower.( that might help the class to read through)


How about our group for planning:


  • Using timeline: it can help our project running on-time and due.

After presentation comments:

Planning just like a map, it makes the project move on smoothly, and the planning helps the project stay on task and due.


For the next week we are doing presentation, the topic is communication.And we already separate the work in parts and make sure it could be done well.

Week 6. Finish the chip and testing code (during the non-teach week)

During the non-teach week, I finally combine these functions together.But I think the most important part is the coding to the Unreal Engine 4.

Here is the image for the chip.

Image 1


Image 2

And after putting everything together, we need to working on the coding.Because I do the combine by myself, so Elliott working on the coding( because he didn't get another kits before the non-teach week).So he just send me the code to me then I upload the coding into arduino softeware and connecting the chip to test it works or not.

After few tests, We just get a result that is: dont use the flex sensor for our project.Because we just tested out that flex sensor is not very accurate for the driving machine project. 

How could we test the accurate?

In the Arduino software clicked on tools => serialmoitor, then a second window will came up, and in this window it shows the value changing when I turning the potentiometer or banding the flex sensor.

The value is between 0 to 255. and the values of potentiometer are really accurate and working well, but the values of flex sensor are keep changing.( can't hold the value )

New decision:

Trying to just 2 potentiometers for the project and make them working.


Testing Coding:


1. Use potentiometer to change the brightness


int ledPin = 9; //pin that LED is attached to
int brightness = 0;
int analogValue = 0; // value read from the pot
void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
analogValue = analogRead(A0); //read the pot value
brightness = analogValue/4; //divided by 4 to fit in a byte
analogWrite(ledPin, brightness); // PWM the LED with the brightness value
Serial.println(brightness); //print the brightness value back to the serial monitor
}




2. Use potentiometer to change the flashing frequency of the led light


int ledPin = 9; //pin that LED is attached to
int brightness = 0;
int analogValue = 0; // value read from the pot
void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
analogValue = analogRead(A0); //read the pot value
brightness = analogValue/4; //divided by 4 to fit in a byte
analogWrite(ledPin, brightness); // PWM the LED with the brightness value
Serial.println(brightness); //print the brightness value back to the serial monitor
}  



3. Use flex sensor to change the flashing frequency of the led light



int ledPin = 9; //pin that LED is attached to
int brightness = 0;
int analogValue = 0; // value read from the pot
int sensorValue = 0;
void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
}

void loop() {
analogValue = analogRead(A0); //read the pot value
brightness = analogValue/4; //divided by 4 to fit in a byte
analogWrite(ledPin, brightness); // PWM the LED with the brightness value
Serial.println(brightness); //print the brightness value back to the serial monitor
  // read the value from the sensor:
  sensorValue = analogRead(A1);
  // turn the ledPin on
  digitalWrite(ledPin, HIGH);
  // stop the program for <sensorValue> milliseconds:
  delay(sensorValue);
  // turn the ledPin off:
  digitalWrite(ledPin, LOW);
  // stop the program for for <sensorValue> milliseconds:
  delay(sensorValue);
}



2015年3月31日星期二

Week 5. Allocation

After this week studio,We decided to separate the project in parts,and my part is trying to combine different funtions on the chipboard.

So for our project, I need to build few actions into one.
1.Turning(left&right);
2.Driving(forward&reverse);
3.A botton for accelerator(start engine).

here is the draft plan that I'm going to do:
Draft Planning and Theory 

Build different components into one.Firstly,I draw the draft plan on the paper and test it out.

sample layout and initial idea 


CIRC-07


CIRC-08


CIRC-13
So I will combine these 3 funtions into one.and test it out.

Week 4. Practice

In this week, Russell gave us the arduino kit box to do the practice.And I follow the tutorials and step on, find its a very interesting project in this course. It help me learning more things about DIY electrical. And here are the images for the step.

arduino kit pack
Items and wires
Finished connecting (CIRC-08)

Finished connecting (CIRC-13)


Arduino Code for CIRC-08


Problems:

I followed the instructions and downloaded software for this arduino chipboard.Then I coding the code into it, but its not work normally.The results is not showing and I will keep working on it.

(main problem: when I turning the potentiometers the LED light is not change and nothing happened)

Problem possibilities:
1.The arduino kit pack are broken.(led light,wires or parts)
2.Coding incorrect
3.Uploading error

Problem fixed:
In week 5 studio,I discussed with my group teammates and finally solved problem above.
When upload the code into the arduino chipboard, you need to select the port first(under tools> ports>COM4(arduino Uno),then click upload.

Week 3. Learning

In week 3, we are still working on the Arduino Uno and Unreal engine 4.


Here is the youtube links for chipboard:

Thinking about Arduino

Custom build Steering wheel

2015年3月17日星期二

Week 2. Researching

I joined the driving machine last Wednesday.The teammates are very nice and we decided a lot of things that we need to working on.

So my part is researching the software,about unreal engine 4 and how it works and about Arduino.


what is unreal engine 4?

Unreal Engine 4 is a complete suite of game development tools made by game developers, for game developers. 


what is Arduino?
Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open-source physical computing platform based on a simple micro-controller board, and a development environment for writing software for the board.


Process
So firstly, we need to create a game(truck) in unreal engine 4, then we need to use a sensor to link a real physical wheel with the unreal engine. And use the wheel to control the truck in game to make it moves (turns and go head or back). To make it in first-person perspective.

There is the youtube video links: 
1. https://www.youtube.com/watch?v=1t2wI9bc-xE , 
2. https://www.youtube.com/watch?v=eQol-UIi8i4
We are going to do something similar to this cool staff.

And here is the link for the unreal engine 4 tutorials: 
https://www.youtube.com/watch?v=J8SQDIf5nUs

Build Arduino UNO For $5(cheap):
https://www.youtube.com/watch?v=sNIMCdVOHOM

Problems:
I went to unreal engine website, and trying to download it. but i can not install it into my PC, it tells i need to install the windows service pack 1 first.( don't know how to fix it )