114
edits
No edit summary |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 33: | Line 33: | ||
Progress: | Progress: | ||
Currently I am still at the stage of experimenting arduino kits, the ideas are: | Currently I am still at the stage of experimenting arduino kits, the ideas are: | ||
Ultrasonic sensor: Detecting on visitors‘ distance from 10cm- 100cm | Ultrasonic sensor: Detecting on visitors‘ distance from 10cm- 100cm | ||
| Line 40: | Line 39: | ||
The following picture shows some code to motivate the servo, there may need more servos in the following steps to create better movements. | The following picture shows some code to motivate the servo, there may need more servos in the following steps to create better movements. | ||
Possible Materials: | Possible Materials: | ||
[[File:m1.jpg|400px]] | [[File:m1.jpg|400px]] | ||
[[File:IMG 3114.jpg|400px]] | [[File:IMG 3114.jpg|400px]] | ||
| Line 47: | Line 47: | ||
Inspiration part: | Inspiration part: | ||
I am getting near, here is a picture of an sculpture, the inspiration is from Ursula which I am pretty fond of: | I am getting near, here is a picture of an sculpture, the inspiration is from Ursula which I am pretty fond of: | ||
[[File:Screen Shot 2018-03-31 at 8.16.40 AM.png|800px]] | [[File:Screen Shot 2018-03-31 at 8.16.40 AM.png|800px]] | ||
The powerful sculptures that leaves people impression at the first glance. | The powerful sculptures that leaves people impression at the first glance. | ||
[[File:Screen Shot 2018-03-31 at 8.15.55 AM.png|800px]] | [[File:Screen Shot 2018-03-31 at 8.15.55 AM.png|800px]] | ||
It's using metal material to support and hang the sculptures. | It's using metal material to support and hang the sculptures. | ||
[[File:exambota1.png|500px]] | [[File:exambota1.png|500px]] | ||
| Line 64: | Line 67: | ||
I started sketch about possible movements that can be created by small motors. | I started sketch about possible movements that can be created by small motors. | ||
These pictures shows possible mechanism and how people can interact with it. | These pictures shows possible mechanism and how people can interact with it. | ||
[[File:drawIMG_0955.JPG|400px]] | [[File:drawIMG_0955.JPG|400px]] | ||
[[File:bioIMG_0962.JPG|500px]] | [[File:bioIMG_0962.JPG|500px]] | ||
| Line 133: | Line 137: | ||
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. | 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] ;// | int SNUM[3] ;// | ||
int INA = 4; // | int INA = 4; // | ||
int PWMA = 5; // | int PWMA = 5; // | ||
int INB = 7; // | int INB = 7; // | ||
int PWMB = 6; // | int PWMB = 6; // | ||
void motospd(int sp1,int sp2) //电机速度控制函数。括号内分别为左右电机速度值, | void motospd(int sp1,int sp2) //电机速度控制函数。括号内分别为左右电机速度值, | ||
| Line 169: | Line 173: | ||
} | } | ||
Serial.println(SNUM[2]); | Serial.println(SNUM[2]); | ||
if ((SNUM[0]==1)&&(SNUM[1]==1)&&(SNUM[2]==1))// | if ((SNUM[0]==1)&&(SNUM[1]==1)&&(SNUM[2]==1))// | ||
motospd(100,100); // | motospd(100,100); // | ||
if ((SNUM[0]==0)&&(SNUM[1]==1)&&(SNUM[2]==1)) // | if ((SNUM[0]==0)&&(SNUM[1]==1)&&(SNUM[2]==1)) // | ||
motospd(100,50); // | motospd(100,50); // | ||
if ((SNUM[0]==1)&&(SNUM[1]==1)&&(SNUM[2]==0)) // | if ((SNUM[0]==1)&&(SNUM[1]==1)&&(SNUM[2]==0)) // | ||
motospd(50,100); // | motospd(50,100); // | ||
if ((SNUM[0]==1)&&(SNUM[1]==0)&&(SNUM[2]==1)) // | if ((SNUM[0]==1)&&(SNUM[1]==0)&&(SNUM[2]==1)) // | ||
motospd(-100,-100); // | motospd(-100,-100); // | ||
delay(50);} | delay(50);} | ||
| Line 202: | Line 206: | ||
long microsecondsToCentimeters(long microseconds) { | long microsecondsToCentimeters(long microseconds) { | ||
return microseconds / 29 / 2; | return microseconds / 29 / 2; | ||
}// | }// | ||
The code part that controls the servo: | The code part that controls the servo: | ||
| Line 209: | Line 213: | ||
[[File:Screen Shot 2018-03-31 at 8.52.59 AM.png|300px]] | [[File:Screen Shot 2018-03-31 at 8.52.59 AM.png|300px]] | ||
[[File:Screen Shot 2018-03-31 at 8.52.16 AM.png| | [[File:Screen Shot 2018-03-31 at 8.52.16 AM.png|300px]] | ||
'''25 March''' | '''25 March''' | ||
| Line 238: | Line 242: | ||
This is a plant that spins alone | This is a plant that spins alone | ||
Rotating | |||
Getting close/ pausing/ thinking | |||
Closer/ Trembling/ Attempt to deterring from approaching | |||
Get close- Moving up and down /shrinking | |||
[[File:Screen Shot 2018-03-31 at 8.00.14 AM.png|700px]] | [[File:Screen Shot 2018-03-31 at 8.00.14 AM.png|700px]] | ||
| Line 248: | Line 252: | ||
[[File:Screen Shot 2018-03-31 at 8.00.47 AM.png|700px]] | [[File:Screen Shot 2018-03-31 at 8.00.47 AM.png|700px]] | ||
Retreat- Stretching and Relax | |||
Stay- more and more relax | |||
Get in harmony... stretching the branch like gentle touch | |||
[[File:Screen Shot 2018-03-31 at 8.01.09 AM.png|700px]] | [[File:Screen Shot 2018-03-31 at 8.01.09 AM.png|700px]] | ||
| Line 257: | Line 261: | ||
Closer, together? | Closer, together? | ||
what does it feels when in extremely quiet and surrounded by plants? | |||
[[File:Screen Shot 2018-03-31 at 8.01.51 AM.png|700px]] | [[File:Screen Shot 2018-03-31 at 8.01.51 AM.png|700px]] | ||
[[File:Screen Shot 2018-03-31 at 8.00.59 AM.png|700px]] | [[File:Screen Shot 2018-03-31 at 8.00.59 AM.png|700px]] | ||
Moving up and down | |||
Is that a threaten? What will plants do if they really can move like animal? | |||
[[File:Screen Shot 2018-03-31 at 8.00.55 AM.png|700px]] | [[File:Screen Shot 2018-03-31 at 8.00.55 AM.png|700px]] | ||
edits