Raimi B. | BlueStamp Engineering

Raimi B.

Self Monitoring Plant

Engineer School Area of Interest Grade
Raimi B.
Saint Anns High School
Bioengineering
Incoming Softmore

THE FINAL PROJECT! (3RD MILESTONE.)

There are two sections of new code I used for the water pump. The first is a function called demo two it runs the motor up to full speed waits three seconds and then turns it off.

The second piece of code is an if statement that checks if the moisture sensors has the moisture of the plant below 30% – which is the ideal water percentage there should be in the soil. and does demo two if it is.

Hints: I originally had the final piece of code as a while statement rather than an if. This didn’t work because if it was below 30 the pump would keep pumping but never get to checking whether the water sensor had gone above 30. The solution I have is turning the while to an if but you could also just put the sensor reading inside the while statement!

FIRST AND SECOND MILESTONE

What I learned: 

 When I first started putting together the project I throw every piece onto the breadboard and arduino upload the code, crossed my fingers and just hoped that it would work。 Evidently that jumbled mess of wires and sensors didn’t do a thing and I was essentially at the same place I had been at at the beginning but now just with a big mess in front of me. At this point I took out all the sensors and other unneeded wires and I restarted but this time only with the lcd screen I went through very carefully and connected each wire exactly the way my schematic told me to. Finally after doing this more careful method my screen worked. I did the same method with the other sensors and eventually they all worked. I learned that being precise in such a way from the beginning not only saves time but also confusion and stress. I was also able to implement this lessons when writing my code as I took one sensor at a time and put their information into the combined document individually and into exactly the write place.

Hints:

So when the sensors update on the serial monitor they state their readings on the one line below. However on the LCD display this isn’t possible and when the readings update all the words on the screen jumble and become unreadable. My solution was to create a loop that has the screen clears every time between checks so that the updates are re-written in the same spot each time.

My 1st milestone was getting the sensors and the LCD display to work independently witch turned out to be kind of homogeneous with my second mile stone to get the sensors displaying their information on the LCD so this is kind of san overview of both milestones.

STARTER PROJECT

My starter project was the T.V.B.gone- a really cool futuristic gadget that could turn off any tv’s in the surrounding area. Now I can annoy my family and enjoy my newly learned knowledge on how to solder, desolder, and all the electrical components on the kit.

DEMONSTRATION

All TVs and tv remotes communicate through infrared light. Now this pretty crazy,infrared light is all around us the sun emits tons of it how can a remote interact with the tv using IR if there is already all this IR around it in the first place? that seems like trying to hit a dart board with a dart made out of air. Well here’s the answer: the tv has sensors on it now these sensors have been programmed to ignore all surrounding ir except for some important exceptions. You see when engineers are as creating the tv and remote they code in certain IR sequences that the remote can shine at the TVs sensors the TV picks up these specific codes and understands what function to do. So for example if you want to put up the volume then when you press the volume button on the remote is really shining the infrared code for volume at the TVs sensor. The T.v b.gone doesn’t have ir codes for every button on a remote but has the on off codes for a ton of televisions! However it still is unclear how the circuit gives power to these pulsing it led. So let investigate first of all there is micro controller it is basically a small computer that has all the code programmed in it and that code has the pulse times for the leds in it! Next there are 5 transistors 4 of them act as switches for the led that turn them on and off in time with the micro controller’s code. There is one more transistor that communicates with the button and allows any charge enter the transistor led system. The ceramic oscillator acts as a clock and is used to keep the time of the chow fast the current is moving.it is used to sync up the rest of the board with the microcontrollers speed.Finally The 2 Capacitors are energy storers. Meaning that if any other particles such as sound were in the circuit that energy would be taken in by them. And with all those parts working harmoniously the TV.B.Gone is able to operate.

The major lesson I learned during this project was the importance of being diligent. Solder is extremely difficult to undue once it’s solidified around a component and desoldering is made even more difficult with the TV.B.Gone because the wholes are so small! In my haste I didn’t read the instructions carefully enough and ended up soldering the ceramic oscillator into the wrong three holes. The component was extremely hard to get out and once I did all of the legs fell off. I had to get another oscillator from another kit! The holes were still full of solder because they were so small and the whole mess was inconvenient pain and something that could have been easily avoidable if I had been just a little bit more cautious.

STAY CONNECTED TO BLUESTAMP