114
edits
No edit summary |
No edit summary |
||
Line 49: | Line 49: | ||
Inspiration part: 老师发的动物图 | Inspiration part: 老师发的动物图 | ||
[[File:exambota1.png|400px]] | [[File:exambota1.png|400px]] | ||
通过扭曲的动物雕塑和充满空间感和力量感的大型装置,给予人视觉冲击和思考。 | 通过扭曲的动物雕塑和充满空间感和力量感的大型装置,给予人视觉冲击和思考。 | ||
Line 55: | Line 56: | ||
1.23 | 1.23 | ||
草图part2 : 无数草图 动态图 | 草图part2 : 无数草图 动态图 | ||
The attempt is to do some experiments with bio material , see if we combining mechanism with plants branches, would the outcome be to any extend exciting, or would it seems like human communicating to plants. | |||
The scale is well considered, it should be approximately as human scales. So it’s a problem to control such big installation. | |||
After several times trying to build the model. | |||
there is also an idea that use a big branch looks like human’s arm | |||
2.05 | 2.05 | ||
模型结构part:电机 绳子 细节 实验图 | 模型结构part:电机 绳子 细节 实验图 | ||
[[File:bota-1.jpg|400px]][[File:bota-2.jpeg|400px]][[File:bota-3.jpeg|400px]][[File:bota-4.jpeg|400px]][[File:ota-5.jpg|400px]] | [[File:bota-1.jpg|400px]][[File:bota-2.jpeg|400px]][[File:bota-3.jpeg|400px]][[File:bota-4.jpeg|400px]][[File:ota-5.jpg|400px]] | ||
2.17 | 2.17 | ||
最终草图part3: | 最终草图part3: | ||
Line 65: | Line 74: | ||
Arduino线路图 电路细节 | Arduino线路图 电路细节 | ||
[[File:bota-6.jpg|400px]][[File:bota-7.jpeg|400px]][[File:bota-8.jpeg|400px]] | [[File:bota-6.jpg|400px]][[File:bota-7.jpeg|400px]][[File:bota-8.jpeg|400px]] | ||
Below: The Code for controlling the motor's speed and direction, via the ultrasonic sensor. The sensor outputs a range of distance values, and by continuously detecting the distance it can predict the mode of visitor's movement. | |||
int SNUM[3] ;//定义3个传感器,从SNUM[0]-SNUM[2]为从左到右3个红外避障传感器 | |||
int INA = 4; //电机A正反转控制端 | |||
int PWMA = 5; //电机A调速端 | |||
int INB = 7; //电机B正反转控制端 | |||
int PWMB = 6; //电机B调速端 | |||
void motospd(int sp1,int sp2) //电机速度控制函数。括号内分别为左右电机速度值, | |||
{ //范围-255~+255,正值为正转,负值为反转。 | |||
if(sp1>0) | |||
digitalWrite(INA, HIGH); | |||
else | |||
digitalWrite(INA, LOW); | |||
if(sp2>0) | |||
digitalWrite(INB, HIGH); | |||
else | |||
digitalWrite(INB, LOW); | |||
analogWrite(PWMA,abs (sp1)); | |||
analogWrite(PWMB,abs (sp2)); | |||
} | |||
void setup(){ | |||
pinMode(11, INPUT); //配置左传感器IO口为输入 | |||
pinMode(12, INPUT); //配置中传感器IO口为输入 | |||
pinMode(13, INPUT); //配置右传感器IO口为输入 | |||
Serial.begin(9600); //打开串口,初始化 | |||
pinMode(INA,OUTPUT); | |||
pinMode(INB,OUTPUT); //配置电机驱动IO口为输出 | |||
} | |||
void loop(){ | |||
SNUM[0] = digitalRead(11);//左传感器赋值 | |||
SNUM[1] = digitalRead(12); //中传感器赋值 | |||
SNUM[2] = digitalRead(13); //右传感器赋值 | |||
for (int i=0;i<3;i++) | |||
{ | |||
Serial.print(SNUM);//串口输出每个传感器的值,打开串口可显示传感器检测结果 | |||
} | |||
Serial.println(SNUM[2]); | |||
if ((SNUM[0]==1)&&(SNUM[1]==1)&&(SNUM[2]==1))//所有传感器都没有检测到障碍 | |||
motospd(100,100); //直行 | |||
if ((SNUM[0]==0)&&(SNUM[1]==1)&&(SNUM[2]==1)) //左传感器检测到障碍物 | |||
motospd(100,50); //右转 | |||
if ((SNUM[0]==1)&&(SNUM[1]==1)&&(SNUM[2]==0)) //右传感器检测到障碍物 | |||
motospd(50,100); //左转 | |||
if ((SNUM[0]==1)&&(SNUM[1]==0)&&(SNUM[2]==1)) //中传感器检测到障碍物 | |||
motospd(-100,-100); //后退 | |||
delay(50); | |||
} | |||
const int pingPin = 7; // Trigger Pin of Ultrasonic Sensor | |||
const int echoPin = 6; // Echo Pin of Ultrasonic Sensor | |||
void setup() { | |||
Serial.begin(9600); // Starting Serial Terminal | |||
} | |||
void loop() { | |||
long duration, inches, cm; | |||
pinMode(pingPin, OUTPUT); | |||
digitalWrite(pingPin, LOW); | |||
delayMicroseconds(2); | |||
digitalWrite(pingPin, HIGH); | |||
delayMicroseconds(10); | |||
digitalWrite(pingPin, LOW); | |||
pinMode(echoPin, INPUT); | |||
duration = pulseIn(echoPin, HIGH); | |||
cm = microsecondsToCentimeters(duration); | |||
Serial.print(cm); | |||
Serial.print("cm"); | |||
Serial.println(); | |||
delay(100); | |||
} | |||
long microsecondsToCentimeters(long microseconds) { | |||
return microseconds / 29 / 2; | |||
}/*结果在Arduino串口监视器上看到传感器测量的距离,单位为英寸和厘米。 | |||
3.25 | 3.25 | ||
实物展示图 交互情景详解 视频 | 实物展示图 交互情景详解 视频 | ||
Here is a short video of the Functioning scenario. | |||
https://youtu.be/lvkl8N43DuI | |||
In this video it recorded how this installation works and interaction with human's movement. | |||
As each sensor controls one component, their branches movement are connected via the Plastic rope to the other components, hopefully creating the feeling that there is only one mechanical 'life' feels and reacts to the move of participants. | As each sensor controls one component, their branches movement are connected via the Plastic rope to the other components, hopefully creating the feeling that there is only one mechanical 'life' feels and reacts to the move of participants. | ||
Line 84: | Line 177: | ||
Stay- more and more relax | Stay- more and more relax | ||
- get in harmony... stretching the branch like gentle touch | - get in harmony... stretching the branch like gentle touch | ||
Closer, together? | Closer, together? | ||
what does it feels when in extremely quiet and surrounded by plants? | what does it feels when in extremely quiet and surrounded by plants? | ||
Line 91: | Line 182: | ||
Is that a threaten? What will plants do if they really can move like animal? | Is that a threaten? What will plants do if they really can move like animal? | ||
[[File:bota-9.jpg|400px]][[File:bota-10.jpeg|400px]] | [[File:bota-9.jpg|400px]][[File:bota-10.jpeg|400px]] | ||
3.29 | 3.29 | ||
总结,更多想做的 | 总结,更多想做的 | ||
观察更多人们与植物的互动画面,换各种不同的主题来模拟和放大相应的场景,形成对比和反差。 | 观察更多人们与植物的互动画面,换各种不同的主题来模拟和放大相应的场景,形成对比和反差。 |
edits