This picture is a shape of flowerpot.
We completed to make our product.
It is perfect!
And we finished to write cording and it is working very well. : )
*** Process ***
*** If it turn on LED ……………….,
: )
See you on thursday.
This week , we made product finally !
We conected 15 cds and 25 leds which is a diffused red light.
Introduce our project’s interaction ….
If many flower’s lips are fallen into bottom of vase , the bottom of vase which connect 20 led is more bright !
And we bought flower which is small but the lips fallen very well.
We’ll show you thursday. bye
arduino cording
int led13 = 13;
int led12 = 12;
int led11 = 11;
int led10 = 10;
int led9 = 9;
int led8 = 8;
int led7 = 7;
int led6 = 6;
int led5 = 5;
int led4 = 4;
int cds1 = 0;
int cds2 = 1;
int cds3 = 2;
int cds4 = 3;
int cds5 = 4;
int val_cds1;
int val_cds2;
int val_cds3;
int val_cds4;
int val_cds5;
void setup()
{
pinMode(led13, OUTPUT);
pinMode(led12, OUTPUT);
pinMode(led11, OUTPUT);
pinMode(led10, OUTPUT);
pinMode(led9, OUTPUT);
pinMode(led8, OUTPUT);
pinMode(led7, OUTPUT);
pinMode(led6, OUTPUT);
pinMode(led5, OUTPUT);
pinMode(led4, OUTPUT);
pinMode(cds1, INPUT);
pinMode(cds2, INPUT);
pinMode(cds3, INPUT);
pinMode(cds4, INPUT);
pinMode(cds5, INPUT);
Serial.begin(9600);
}
void loop()
{
val_cds1 = analogRead(cds1);
val_cds2 = analogRead(cds2);
val_cds3 = analogRead(cds3);
val_cds4 = analogRead(cds4);
val_cds5 = analogRead(cds5);
Serial.println(val_cds1);
if (val_cds1 < 750){
digitalWrite(led13, HIGH);
}
else
{
digitalWrite(led13, LOW);
}
if (val_cds1 < 430){
digitalWrite(led12, HIGH);
}
else
{
digitalWrite(led12, LOW);
}
delay(200);
}
//
We tried to turn on led light using arduino and cds
Finally we successed ~!!!
This week,
We will start to conect more leds and cdses and have a plan is using 20 leds and 10 cdses
and complete a product shape
Next week, we will show you our product ~!!!
Bye~ see you tomorrow ^^
: )
Today we started to made prototype.
And we tried to turn on LED. BUT it failed ! ! ! ! ! ! ! ! ! ! ! ! ! ! So tomorrow we will go to your office.
Could you help us? : ) Please~~~
| int led13 = 13; int led12 = 12; int led11 = 11; int led10 = 10; int led9 = 9; int led8 = 8; int led7 = 7;int cds1 = 0; int cds2 = 1; int val_cds1; int val_cds2; void setup() { pinMode(led13, OUTPUT); pinMode(led12, OUTPUT); pinMode(led11, OUTPUT); pinMode(led10, OUTPUT); pinMode(led9, OUTPUT); pinMode(cds1, INPUT); pinMode(cds2, INPUT); Serial.begin(9600); } void loop() Serial.println(val_cds1);
|
We made prototype before making final product.



First of all, we made prototype which is using first idea sketch
Below photo is making prototype


This design is hard to work
So we think another design and sketch


If we up the bottom of flowerpot , leaves are fallen more directly in flowerpot
So it is easy to turn on led light
* We will make new prototype by this design next week
And we will test enough working
If it is not work well , we will sketch new design
We plan to use piezo film for our project .
So we research piezo film to detail this week

* it is amplify sensitivity of sensor to use op amp











