LED Growing

by reneechang56 in Circuits > Arduino

259 Views, 0 Favorites, 0 Comments

LED Growing

0 下午8.47.08.jpg

This project is about using Led to helps plants grow.

Red LED can help plant's Promote lateral branching and tillering

Green LED can help plants Strengthen growth

Blue LED can help plant Shorten internodes, reduce leaf area, reduce relative growth rate, and increase nitrogen ratio

And this project gather 3 LED to let the plants growing work getting easier.

Which part of the plant that you are not satisfaction, you can use the different LED to change it.

Downloads

Things to Use

0.jpg

Prepare cardboard x 6

Red Led x 3, Green LED x 3, Blue LED x 3

Cellophane x 1

Breadboard x 1

wire x 21

Resistance x 9

Botton x 3

How It Works?

0-1.jpg
0.jpg
0-2.jpg

Three Button

when to push, one of them, the Red LED will shine

one of them, the Green LED will shine

one of them, the Blue LED will shine

Code

螢幕快照 2019-12-14 上午7.53.10.png
0.jpg

void setup(){ // put your setup code here, to run once:

pinMode( 4 , INPUT); // sets the digital pin as input pinMode( 11 , OUTPUT); // sets the digital pin as output pinMode( 12 , OUTPUT); // sets the digital pin as output pinMode( 13 , OUTPUT); // sets the digital pin as output pinMode( 3 , INPUT); // sets the digital pin as input pinMode( 8 , OUTPUT); // sets the digital pin as output pinMode( 9 , OUTPUT); // sets the digital pin as output pinMode( 10 , OUTPUT); // sets the digital pin as output pinMode( 2 , INPUT); // sets the digital pin as input pinMode( 5 , OUTPUT); // sets the digital pin as output pinMode( 6 , OUTPUT); // sets the digital pin as output pinMode( 7 , OUTPUT); // sets the digital pin as output }

void loop(){ // put your main code here, to run repeatedly: if (digitalRead( 4 )) { digitalWrite( 11 , HIGH ); // sets the digital pin on/off digitalWrite( 12 , HIGH ); // sets the digital pin on/off digitalWrite( 13 , HIGH ); // sets the digital pin on/off delay( 5000 ); // waits a few milliseconds digitalWrite( 12 , LOW ); // sets the digital pin on/off digitalWrite( 13 , LOW ); // sets the digital pin on/off digitalWrite( 11 , LOW ); // sets the digital pin on/off } if (digitalRead( 3 )) { digitalWrite( 8 , HIGH ); // sets the digital pin on/off digitalWrite( 9 , HIGH ); // sets the digital pin on/off digitalWrite( 10 , HIGH ); // sets the digital pin on/off delay( 5000 ); // waits a few milliseconds digitalWrite( 8 , LOW ); // sets the digital pin on/off digitalWrite( 9 , LOW ); // sets the digital pin on/off digitalWrite( 10 , LOW ); // sets the digital pin on/off } if (digitalRead( 2 )) { digitalWrite( 5 , HIGH ); // sets the digital pin on/off digitalWrite( 6 , HIGH ); // sets the digital pin on/off digitalWrite( 7 , HIGH ); // sets the digital pin on/off delay( 5000 ); // waits a few milliseconds digitalWrite( 5 , LOW ); // sets the digital pin on/off digitalWrite( 6 , LOW ); // sets the digital pin on/off digitalWrite( 7 , LOW ); // sets the digital pin on/off } }

(You needs to change the delay(5000) to how long you needs, or wants the LED shine )

How to Make the Look?

0-4.jpg
0-5.jpg
0-3.jpg
0-6.jpg

Cut the cardboard into 3 different types

Cut down three hole on the two side of the cardboard, to let the button go through

cut a little hole that can let the Transmission line through

use Hot melt gun to stick them all.

If you want, you can stick the Cellophane on the cardboard, that can let you see the inside.

Finish All

0-7.jpg
0-8.jpg
0-9.jpg
0.jpg

Stick the Arduino on the top of the cardboard

fixed the button on the button hole

At last check if it works!