Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178...
Transcript of Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178...
![Page 1: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/1.jpg)
Douglas Cooper
Desmond Persaud
Samael Reyna
8/7/2009
Group 04Sponsorships:LantronixSenseairSunstone Circuits
![Page 2: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/2.jpg)
Introduction
� This system utilizes a hydroponic environment which
offers a solution to automatically monitor and regulate
basic and critical elements that can optimize growth of basic and critical elements that can optimize growth of
plants. The system will provide feedback for key
environmental conditions surrounding the plant.
![Page 3: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/3.jpg)
Goals & Objectives� Minimize user interaction – “Set it and forget it!”
� Allow for automated feeding portions & times
� Control chemical and water level
Control lighting cycles and distance from plant� Control lighting cycles and distance from plant
� Provide environmental measurements
� Provide a web-based GUI
![Page 4: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/4.jpg)
Requirements & Specifications� The structure shall allow for a maximum of 10 gallons and a minimum of 0 gallons
� The humidity sensor shall have a range of 0 to 100% RH and a precision of 3%
� The temperature sensor shall allow for a range of 0 to 850 C and a precision of 10 C
� The liquid level sensor shall have a minimum range of 0 to 21.5 centimeters with a precision of at least .5 cmprecision of at least .5 cm
� The pH sensor shall have a range of 0 to 14 with a precision of 1 pH
� The CO2 sensor shall allow for 0-2500ppm with a precision of 10 ppm
� The day and night lighting cycles shall allow for a user defined interval for cycles
� The pumps shall allow for a minimum output of 1 mL
![Page 5: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/5.jpg)
Work Distribution� Doug – Lighting System; Liquid Level, Humidity,
Temperature and CO2 sensors
� Desmond – Microcontroller programming; Web-site interface; Sensor interfacinginterface; Sensor interfacing
� Samael – Water regulation; Chemical regulation
� Doug and Sam – Peristaltic Pumps
� Group – PCB layout and fabrication; wiring and construction; mechanics; troubleshooting and testing
![Page 6: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/6.jpg)
System Overview
![Page 7: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/7.jpg)
Plant Feeder Structure� Considerations:
A. Plant Reservoir
B. Optional Clean Water Reservoir
FReservoir
C. Drain Reservoirs
D. Chemical Reservoirs
E. Wood FrameF. Piping/TubingG. Main
Electronics Encasement
A
B
C
D
E
F
G
![Page 8: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/8.jpg)
Sensors� 8 Sensors
� pH
� Nutrient
� Liquid Level
INTERNAL ENVIRONMENT
� Liquid Level
� Temperature (Environment)
� Humidity
� CO2
� Optical Sensor
� Contact Sensor
EXTERNAL ENVIRONMENT
LIGHTING
![Page 9: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/9.jpg)
Sensors: Internal Environment
� pH Electrode
� Range: 0 – 14 pH
Accuracy: .01 pH� Accuracy: .01 pH
� Cost: $17
� BNC Connector (Analog)
� Provides internal voltage based on pH of solution
![Page 10: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/10.jpg)
Sensors: Internal Environment� pH electrode: Circuit Diagram
![Page 11: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/11.jpg)
Sensors: Internal Environment� Liquid Level
� Differential pressure sensor
� Range:
� o to 100 cm� o to 100 cm
� 0 to 10 kPa
� Accuracy: 1 mm
� Response time: 1 ms
� Cost: Free
DC5
![Page 12: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/12.jpg)
Slide 11
DC5 Possibly insert analysis of accuracyDoug Cooper, 5/31/2009
![Page 13: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/13.jpg)
Sensors: Internal Environment� Liquid Level: Application Diagram
� Measurement range:
� 0 to 21.5 cm
� 0 to 2 kPa� 0 to 2 kPa
![Page 14: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/14.jpg)
Sensors: Internal Environment� Liquid Level: Circuit Diagram
� Provides output of 1 to 2.5 V over 21.5 cm range
Difference Amp
![Page 15: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/15.jpg)
Sensors: External Environment� Temperature and Humidity
� Combined in single module
� Range:
� 0 – 100% RH� 0 – 100% RH
� -40 to 85 oC
� Accuracy: � +/- 3% RH
� +/- 1 oC
� PWM Out (RH)
� Analog Out (oC)
![Page 16: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/16.jpg)
Sensors: External Environment� Humidity: Curve Fitting (based on Manufacturer data)
y = 2E-05x2 - 0.4166x + 1741.990
100
%RH vs Output Frequency
y = 2E-05x - 0.4166x + 1741.9y = -0.0886x + 642.08
0
10
20
30
40
50
60
70
80
90
6000 6500 7000 7500
%pH
Output Frequency
Data
Poly. Approx
Linear Approx.
![Page 17: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/17.jpg)
Sensors: External Environment� Temp: Curve Fitting (based on Manufacturer data)
100
120
140degC vs Resistance
y=.0009+.00025ln(x)+1.9588E-7ln(x)^3
y = -28.08ln(x) + 289.74
-80
-60
-40
-20
0
20
40
60
80
100
0 50000 100000 150000 200000 250000
degC
Resistance
Data
Steinhart-Hart Approx.
Log Approx.
![Page 18: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/18.jpg)
Sensors: External Environment� CO2
� Range: 0 – 2500 ppm
� Accuracy: 10 ppm
� Cost: Free� Cost: Free
� Linear Analog Output
� 0 to 5 V
� No additional circuitry required
� No calibration required due to onboard algorithms
![Page 19: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/19.jpg)
Regulation� 2 Main Systems:
� Lighting System
� Automated height adjustment
� Day/Night Cycling� Day/Night Cycling
� Feeding System
� Nutrient Dispensing
� pH Up/Down Dispensing
� Timed Feeding capabilities
� Water Level adjustment
![Page 20: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/20.jpg)
Lighting System� Automated height adjustment
� Allows the light to maintain a fixed height during growth
� LED Light Source� LED Light Source
� Stepper Motor (change)
� Driver Circuit (change)
� Optical Sensor
� Contact Sensor
� MCU I/O
![Page 21: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/21.jpg)
Lighting System� LED Light Source
� Provides correct spectrum of light
used by most plants
� Voltage: 110/120 VAC� Voltage: 110/120 VAC
� Current: 115 mA
� Dim: 12.25 x 12.25 x 1.25 in (34.115 x 34.115 x 3.481 cm)
� Min. Distance from Plant: 3 in (8.354 cm)
![Page 22: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/22.jpg)
Lighting System� Stepper Motor + Worm Gear Assembly �
DC Motor w/ Worm Gear Assembly
� Specs:� Specs:
� High Torque (value not avail)
� made for car windows
� ≈1 rev/s @ 5 VDC, 1.2 A
![Page 23: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/23.jpg)
Lighting System� Worm Gear Assembly
DC2
![Page 24: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/24.jpg)
Slide 22
DC2 Discuss the advantage to using te worm gear over the typical gearDoug Cooper, 5/31/2009
![Page 25: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/25.jpg)
Lighting System� Stepper Driver Circuit � DC Motor H-Bridge
� Fwd/Rev control
� On/off functionality
Shottky diodes needed� Shottky diodes neededto protect against kickback from the motor
![Page 26: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/26.jpg)
Lighting System� Optical Sensor
� Purpose: Detect when the
plant has reached the minimum
level of the light source distancelevel of the light source distance
� Infrared detection
� Range: 3 – 40 cm
� Analog output used as a
digital input
![Page 27: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/27.jpg)
Lighting System� Optical sensor connection diagram
� Vref is 1.1 times the voltage measured at the other end of the light source. Provides buffer for small fluctuations.
� When breached, Vout >Vref, signals MCU to move� When breached, Vout >Vref, signals MCU to movemotor
![Page 28: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/28.jpg)
Lighting System� Contact Sensor
� Purpose: Detect when the light
source has reached max. height
� On/Off output� On/Off output
� Normally Open (contact)
![Page 29: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/29.jpg)
Lighting System� Contact sensor connection diagram
� With no contact, connects MCU input goes Low
� On contact, input on MCU goes High
![Page 30: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/30.jpg)
Lighting System� Day/Night Cycling
� Provide the ABSENCE of light needed for the plant to grow properly
� Relay� Relay
� MCU Output
![Page 31: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/31.jpg)
Lighting System� Atmel 168 (8-bit) MCU
� Inputs: Optical, Contact Sensor
� Outputs: Motor control, Lighting Relay
� Reason for use: obtained free development board� Reason for use: obtained free development board
![Page 32: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/32.jpg)
Feeding System� Nutrient and pH regulation
� 3 Peristaltic Pumps
� Nutrients
� ph up� ph up
� ph down
� Each 45o rotation will give1 mL output of chemicalsolution
� 25 steps are needed for a
full 45° rotation
![Page 33: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/33.jpg)
Feeding System� Peristaltic Pumps
� Spacing between thescrews on the wheel should be approx 1.24should be approx 1.24inches apart which hasbeen calculated to provide 1 mL/rotation with a ¼” ID tubing.
![Page 34: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/34.jpg)
Feeding System� Stepper Motor
� Nema 17 – 1.80 Step Motor
� High Torque
� 2 Amp Rating� 2 Amp Rating
� Low Cost: $7
![Page 35: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/35.jpg)
Feeding System� Stepper Motor Connection Diagram
![Page 36: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/36.jpg)
Feeding System� Stepper Motor Circuit Diagram
MotorConnection
![Page 37: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/37.jpg)
Feeding System� Air pump
� On the side of the solution reservoir we would have two air stones to mix the solution when chemicals are added.
� Left on to continuously mix and stop water from getting stagnant
� Circuit for air pump will only require on/off output� Circuit for air pump will only require on/off output
![Page 38: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/38.jpg)
Feeding System� Timed Feeding
� Pump located at bottom of tank.
� Will be turned on for specified amount of time as specified amount of time as determined by the size, and stage of growth of the plant.
� Needs only on/off function.
![Page 39: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/39.jpg)
Feeding System� Water Level
� By controlling the two main valves in our system we can adjust the volume of water
� System would be flushed generally once every two weeks � System would be flushed generally once every two weeks through plants life cycle.
� The response time of thewater level sensor and valves will give a generally accurate volume of water.
![Page 40: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/40.jpg)
Feeding System� Drain Valve
� Needs 24 VAC to open and allow water to drain to bottom container. No minimum pressure required to function properly
� Inlet Pump
� If a hose is not available a pump and an additional reservoir can be added to the system
� Inlet Valve
� Same specifications as Drain Valve. Supplying voltage will input water to system.
![Page 41: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/41.jpg)
Controls� 2 Atmel 168 MCU’s
� Lighting
� Sensors
� Pumps� Pumps
� Usages:
� Serial Interface
� A/D inputs
� PWM I/O’s
� Digital I/O’s
![Page 42: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/42.jpg)
Wiring of Control System � Demultiplexer allows for more outputs from fewer
inputs
� Rx and Tx lines are for use of web interface of web interface (UART connection)
� Sensors on A/D and PWM inputs
![Page 43: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/43.jpg)
Web Interface� Lantronix 802.11 Data Server
� Hosts custom web pages
� Wireless to Serial Interface
� Ad-hoc connection� Ad-hoc connection
![Page 44: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/44.jpg)
Web Interface� 2 Serial ports
� No RF fabrication required
� Antenna connects directly to the ufl connector on the ufl connector on rear of unit
� Ethernet capabilities (if needed)
� Module Cost: Free
� Eval kit: Free
![Page 45: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/45.jpg)
Web Interface: GUI� Main interaction with the user
� HTML & JAVA based coding
� Passes data to control system over serial interface
Regulates user inputs� Regulates user inputs
� Ensures the inputs are within expected values
� Lets user know anticipated input values
� Will not update unless specific actions are taken (i.e. button click)
� Displays current values from control system
![Page 46: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/46.jpg)
Power� Overview
� Basic power stripwill be used to distribute powerdistribute powerto the system
![Page 47: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/47.jpg)
Power� AC/DC & AC/AC Conversion
� Supplied through off-the-shelf power converters that are suited for the various pumps and valves
� Relays� Relays
� 5 VDC, 40 mA control (from MCU)
� 240 VAC, 5A operation
� Cost: $1/unit
� A computer power supply to power the electronics
![Page 48: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/48.jpg)
BudgetComponent Actual Retail Reproduction Manufacturer Supplier
Microcontroller $0 $4 $4 Atmel FriendWeb Server module
$0 $90 $90 Lantronix Manufacturer
Web Server Dev. Kit
$0 $120 $0 Lantronix Manufacturer
Antenna $0 $6 $6 Lantronix Manufacturer
Controls
Component Actual Retail Reproduction Manufacturer SupplierCO2 $0 $130 $130 SenseAir ManufacturerHumidity/Temp. $30 $30 $30 Humirel DigikeyPressure $0 $3 $3 STMicroelec. ManufacturerpH $15 $15 $15 HANNA eBaY
Total $45 $178 $178
Demux $1 $1 $1 National Semi. MouserSD Breakout Board
$18 $18 $18 Sparkfun Sparkfun
SD Card $14 $14 $14 Best Buy SandiskArduino Dev Kit $0 $30 $0 Arduino Friend
Total $33 $283 $133
Sensors
![Page 49: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/49.jpg)
BudgetComponent Actual Retail Reproduction Manufacturer Supplier
LED Light $40 $40 $40 Unknown California Nursery
Optical Sensor $24 $24 $24 Sharp SparkFunContact Sensor $0 $10 $10 Cherry Corp ManufacturerMotor $8 $8 $8 Lin Engineering eBayMicrocontroller $4 $4 $4 Atmel MouserStepper Motor $2 $6 $6 STMicroelectronic Manufacturer
Lighting
Stepper Motor Components
$2 $6 $6 STMicroelectronics
Manufacturer
Hardware $10 $10 $10 Home Depot Home DepotTotal $88 $102 $102
Component Actual Retail Reproduction Manufacturer SupplierFrame $40 $40 $40 Home Depot Home DepotSmall Reservoirs (x3)
$15 $15 $15 Zevro Wal-Mart
Medium Reservoirs (x3)
$30 $30 $30 Sterilite Wal-Mart
Waterproofing $10 $10 $10 Home Depot Home DepotHardware $20 $20 $20 Home Depot Home DepotHydro Rocks $5 $5 $5 Hydroton HydroponicGarde
nPots (x4) $4 $4 $4 Unknown eBaY
Total $134 $134 $134
Frame
![Page 50: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/50.jpg)
BudgetComponent Actual Retail Reproduction Manufacturer Supplier
Valves (x2) $36 $36 $36 Toro Home depotFeed Pump $13 $13 $13 Unknown UnknownAir Pump $20 $20 $20 Coleman Camping
ComfortablyMotors (x3) $24 $24 $24 Lin Engineering eBayTimers (x3) $18 $18 $18 Taylor Amazon
Pumps
Tubing $20 $20 $20 Home Depot Home DepotRelays (x5) $50 $50 $50 Skycraft Skycraft
Total $191 $191 $191
Component Actual Retail Reproduction Manufacturer SupplierControl Board $60 $140 $40 PCBExpress PCBExpressLighting Board $10 $10 $10 Skycraft SkycraftMotor Board $60 $60 $60 4PCB 4PCBCO2/Humidity/Sensor Board
$10 $10 $10 Radioshack Radioshack
Total $140 $220 $120
Budget Retail Cost Actual Cost SavingsTotal $631 $1108 $858 $250Total/Person $210 $370 $286 $84
PCB
Total
![Page 51: Sponsorships: Group 04 Lantronix Douglas Cooper …...pH $15 $15 $15 HANNA eBaY Total $45 $178 $178 Demux $1 $1 $1 National Semi. Mouser SD Breakout Board $18 $18 $18 Sparkfun Sparkfun](https://reader035.fdocuments.in/reader035/viewer/2022063007/5fbaf4dab67e2c348b0e5279/html5/thumbnails/51.jpg)
Issues� Keeping focus on the Electrical Engineering aspect of
the project and not the Plant Growing processes
� Mechanical Aspects (i.e. fluids, motors, gears)
� Keeping cost down (i.e. Conductivity sensor)� Keeping cost down (i.e. Conductivity sensor)
� Power issues with all loads connected
� Liquid level sensor fluctuations
� Spontaneous system resetting
� pH probe measurement consistency