Info video of the logical/magical boxes by Sam Sam and Rafel Ridha
- november (1)
- oktober (10)
- december (1)
- november (2)
- oktober (4)
- september (16)
- november (3)
- oktober (7)
- september (15)
- november (1)
- oktober (10)
- september (20)
- augusti (14)
- december (1)
- oktober (2)
- september (1)
- augusti (12)
- december (1)
- mars (11)
- februari (16)
- januari (32)
- mars (9)
- februari (11)
- januari (12)
- april (4)
- mars (6)
- februari (8)
- januari (6)
Add new post
Search the blog
Labels
Blog Archive
Our project for the course was called "Pet the animals!". By making an abstract picture of several animals, we tried to create a space in which both adult and kids would interact with the animals and get feedback from them in the form of sound.
Pet the animal from Connie Huanca, Fredrik Hellström and Pedro Hernandez
A new interactive playground area for kids to explore and play freely, using a grid of LED-filled squares that reacts to their movements in different ways. No rules, regulations or instructions, allowing the children to create their own games and objectives; to play alone or together; to compete or to collaborate.
private String port = ":10";
private String commType = "radiogram";
private String EMPTY_MSG = "MESSAGE";
Datagram packet = readConnection.newDatagram(readConnection.getMaximumLength());
while(true){
readConnection.receive(packet);
String receivedMsg = packet.readUTF();
System.out.println("receivedMsg " + receivedMsg);
System.out.println("TAG RECEIVED");
DatagramConnection answer = (DatagramConnection) Connector.open(commType + "://" + packet.getAddress() + port);
Datagram answerPacket = answer.newDatagram(readConnection.getMaximumLength());
answerPacket.writeUTF(getMyColorCode());
answer.send(answerPacket);
System.out.println("SEND >>> Color sent: "+ getMyColorCode());
answer.close();
} else {
System.out.println("COLOR RECEIVED: "+receivedMsg);
setSpotColor(getColorFromCode(receivedMsg));
}
}
String RFIDTagContent = getRFID();
System.out.println("rfid read : " + RFIDTagContent);
System.out.println("Ignoring tag");
} else {
ledBlink();
Datagram packet = writeConnection.newDatagram(writeConnection.getMaximumLength());
writeConnection.send(packet);
System.out.println("SEND >>> Tag sent!");
writeConnection.close();
}
} catch (IOException ex) {
ex.printStackTrace();
}
}
byte[] idArray = new byte[16];
int index = 0;
try {
if (board.availableUART() > 0) {
idArray[index] = board.readUART();
index++;
} else {
Utils.sleep(200);
}
} catch (IOException ex) {
System.out.println(ex.getMessage());
}
} while (index < 16);
try {
returnString = new String(idArray, "US-ASCII");
} catch (UnsupportedEncodingException ex) {
ex.printStackTrace();
}
}
KEY points:
- When creating a packet to transmit the information it is crucial to give it a size enough to transmit the information. We have seen some tutorial with wrong code:
- Right:
- Wrong:
- Always when it is possible try to close the communication. So in our case, we are closing the communication when we are transmitting back:
- Don't write anything you don't need in the packet. For example, you can't extract sender address from the packet information, so don't write this kind of information in the message. There are some other things that could be useful for you, so check the API.
- You can also use broadcast in this kind of communication. The only thing you need to do is changing the receiver address when you open a communication to broadcast. Then, you need to adapt your receiver code to do whatever you need.
3. Upload to your Arduino
4. Open Arduino-test.pd from the pduino-folder.
5. Choose serial port, open PD window to get more info.
6. Start to do something fun with the incoming data.
(Víctor Valle)
We quickly saw today this video about Sufu Interactive wall. Actually, it was too quick and I think we couldn't understand it properly. Here is the video:
But what I would to remark is that this kind of technology is already in use by high level football teams. Players react quicker when training in this kind of rooms. Borussia Dormunt uses it and the effect on their players is high. They reached Champions League final last year. I wouldn't say it is only by this fact, but I would say that they perform better since they have it.
This is a project from Disney Research for recognizing gestures on real object.
This technique can be used on the human body and even inside a liquid. They have an amazing 99% of accuracy for detecting gestures.
In particular I loved the way the interact with the music player and the detection of position of a person that is viewing TV.