presentation
Download
Report
Transcript presentation
RAISING A
PLANT LIKE A
PET
GROUP #30
DONGWEI SHI
HAOMING LAI
YUNHAN MA
INTRODUCTION
Problem
Few interactions with plants
Plants not able to tell you what they need
Less fun
Our Goal: Make Plants More “Human-Like”
A Robotic Platform:
Monitor the status of the plant
Inform plant owners about their “feelings”
Look for places with good sunlight
OBJECTIVE
● Chassis navigates the plant to brightest spot in room
● Monitors:
-
light intensity
-
soil moisture
-
temperature
-
air humidity
-
pH
● Algorithm determines plants mood
● Reflect plants mood and need via twitter
BLOCK DIAGRAM
OVERALL DESIGN- NAVIGATION
Microcontroller: AtMega328P-PU
TEMT6000 Light Sensor
Self-designed Motor Driver
- One L293D Chips
- Protection Circuit
GP2Y0A02YK0F Infrared Proximity Sensor
OVERALL DESIGN - Happiness Sensing
SparkFun Soil Moisture Sensor
TEMT6000 light sensor
RHT03 Humidity and Temperature Sensor
pH sensor Kit
OVERALL DESIGN - COMMUNICATION
ESP8266 WiFi Module
self-contained SOC (System On Chip)
Integrated TCP/IP protocol stack: access to WIFI network
Pre-programmed AT command set firmware
Design of Microcontroller Circuitry
Clock Signal
Provider
Design of Power Distribution
REQUIREMENT & VERIFICATION - Power Circuitry
Design of Motor Driver
BLOCK DIAGRAM
Note: VCC and GND will all be connected with power distribution system, VCC 5V and GND.
BLOCK DESCRIPTION - Plant Cart
Note: VCC and GND will all be connected with power distribution system, VCC 5V and GND.
BLOCK DESCRIPTION - Plant Cart
BLOCK DESCRIPTION
Human
Plant❀
BLOCK DESCRIPTION - MOOD MONITOR
Calculation formula for light/humidity
= (value - Min)/ (Max - Min)
Calculation formula for temperature/water/pH
If (value < Medium_value)
= (value - Min)/ (Medium - Min)
Else
= ( Max - value)/ (Max - Medium)
Total Happiness Calculation:
= 20% * soilMoisture_Happiness + 20% * light_happiness +
20% * humidity_happiness + 20%* temperature_happiness + 20% *
pH_happiness
BLOCK DESCRIPTION - NAVIGATION
Need to find light source:
Light < 20 lux
Optimal condition:
largest light value whenever
distance > threshold(1.5m)
REQUIREMENT & VERIFICATION - Light sensor
Requirement: Detect illumination
intensity
Verification:
Steady light source above the sensor
Place standard instrument and sensor in
same environment
Environment control variables:
Height, Direction, Location
Compare their result and check if the
REQUIREMENT & VERIFICATION - Humidity sensor
Requirement: Detect Humidity
Verification:
Place standard instrument and sensor in the
same environment
Environment control variables:
Location, temperature
Compare their result in various humidity
condition and check if the difference is
within tolerance (± 10%)
REQUIREMENT & VERIFICATION - Temp sensor
Requirement: Detect illumination
intensity
Verification:
Place standard instrument and sensor in the
same environment
Environment control variables:
Location, humidity
Compare their result in various temperature
condition and check if the difference is
within tolerance (± 10%)
REQUIREMENT & VERIFICATION - pH sensor
Requirement: Detect pH corrently
Verification:
1. Bring pH sensor to a chemical lab
2. Use pH 4.0/7.0/12.0 calibration Solution,
use look-up table determine the pH
3. Connect pH sensor with arduino
4. See if value matches the standard within
accuracy.
REQUIREMENT & VERIFICATION - WIFI Module
Requirement: WiFi Connection
Verification:
Manually type AT command
AT+CWJAP
AT+CIFSR
IP Address shown on the serial monitor
FUNCTIONAL TEST- Tweeting
Input Network ssid and password in code
Sensor in different environment
Different sensor values and mood sent to twitter account
SUCCESSES
● Meet most of our proposed requirements
● Self-Designed PCB with Power Distribution
● Able to post tweet message
● The message on twitter reflects correct sensor values
● Navigation
○ Guides the chassis to avoid obstacles for non-complex environment
○ Find the brightest spot in room
CHALLENGES
ESP8266 Wifi Module:
Baud rate
ESP8266 default baud rate of 115200
Unsupported by AtMega328P-PU
Reset the baud rate
Lacks a FTDI TTL (Transistor-Transistor Logic) on PCB
No serial port display available for debugging
Infrared Long-distance sensor is not steady
FAILURES
Wifi Module fails to reliably send tweet during demo
Explanation of the failure:
Hot spot on our smart phone
Signal is bad in ECEB
AT command for setting up TCP fails sometimes on Arduino serial port
Fails to set up TCP connection for data transferring. Lacking a retry feature in
the code.
Recommendation of Future Work
Auto-Watering
Circuit in one PCB
Encoder for more precise turning
User input interface for entering ssid and password
unique happiness determination for different species of plant
Durable and portable pH sensor
WORK CITED
Vishay Semiconductors, “ Ambient Light Sensor,” TEMT6000 datasheet, [Revised Jul. 2014] Available:
https://www.sparkfun.com/datasheets/Sensors/Imaging/TEMT6000.pdf
Atmel, “ 8bit AVR Microcontrollers,” ATmega328/P dataseet, Available:
http://www.atmel.com/Images/Atmel427358bitAVRMicrocontrollerATmega32832 8P_Summary.pdf
Maxdetect, “ Digital relative humidity & temperature sensor,” RHT03 datasheet, Available:
http://cdn.sparkfun.com/datasheets/Sensors/Weather/RHT03.pdf
Sparkfun Electronics, “ Wifi Module, ” ESP8266(WRL13678) datasheet, Available:
https://cdn.sparkfun.com/datasheets/Wireless/WiFi/ESP8266ModuleV1.pdf
THANK YOU VERY MUCH