Hydroponic System: (STM32 Microcontroller Project)
Hydroponic System: (STM32 Microcontroller Project)
Hydroponic System: (STM32 Microcontroller Project)
Project Report On
Hydroponic System
(STM32 Microcontroller Project)
SUBMITTED IN PARTIAL FULFILLMENT
FOR THE AWARD OF
Guided by:-
Mr. Rohit Patil
Presented by
Abhishek Kumar PRN: 170250121002
Pundlik Maruti Adav PRN: 170250121003
Divesh M Prayal PRN: 170250121011
Vishal Pandurang Raut PRN: 170250121035
ACTS-BANGALORE
CERTIFICATE OF APPROVAL OF PROJECT WORK
This is to certify that the project report entitled MYTRACK APP is a bonafide
work carried out by Abhishek Kumar (DMC-02), Pundlik Maruti Adav (DMC-03),
Divesh M Prayal (DMC-11) and Vishal Pandurang Raut (DMC-35) and in
fulfillment for the award of PG Diploma in Mobile Computing
Signature Signature
(Mr.Rohit Patil) (Mrs. )
Project Guide Course Coordinator
ABSTRACT
The goal of the project is to develop an android application, mainly designed for
tracking the lost mobile phone. It is embedded with several tracking features,
which will help tracking the lost phone. All the features work on SMS (short text
message) basis. So, incoming SMS format plays a vital role.App uses GPS to
track the lost phone of the device or uses the cell tower data to send the
coordinates.
Android application running in the cell monitors all the incoming messages. If the
SMS is meant for the application, it reads the same and performs the expected
task. The application auto starts every time you boot your cell, goes to running
mode and continuously listens for the incoming SMS messages. Whenever there
is a new incoming SMS, it checks the content of the message and does the certain
designed features in the application.
Profile management
.
TABLE OF CONTENTS
1 Introduction 1
5 Test Cases 14
In this Chapter we are going to read about the Objectives of the application.
We are going to have the basic understanding and the purpose behind the
development of this application.
1.1 INTRODUCTION
The use of mobile devices / cell phones has become part of our daily routine.
Today mobile communication devices are becoming much more technologically
advanced and offer more features than just conversation. Specially, the
introduction of Android smart phones has brought a new revolution in the cell-
phone market. In this routine usage, almost everyone has an experience of
misplacing or losing his or her cell phone. As Android smart phones are latest in
the market, it is expensive to lose one. Hence, a built-in application in the smart
phone is very much necessary so that the lost cell can be retrieved.
SMS Remote Controller makes your android mobile safe even it has been
stolen or has been misplaced. The purpose of the application is to change the
mobile phone profile and to track location by sending sms and to activate its
various feature through sms. This application enables or disables this feature
on your choice. This application is built by the assistance of Eclipse IDE with
ADT plug-in configured with android SDK for windows .
Its the system by which you can activate the various features of your android
mobile through SMS. In order to activate the various features which will guide
you to know the location of your mobile phone, you just have to send SMS to
your mobile by any other mobile. Once the message will be received at your
android mobile, all the features to identify your mobile phone will be activated
automatically.
1
1.2 OBJECTIVES
If an android user wants to know the location of android device then user has to
send sms to designated device so that he can locate device either by making it
ring or get actual location of device using gps or network provider..
There was no such existing system, which helps you to find your mobile
automatically using the available technologies. Once your mobile has been
stolen, you were not able to get this back and even you try, you have to visit
police station and make report and wait for enquiry results. There was no
medium of self-dependent by which you can get the exact location of your
mobile phone, thus you were always in worry. If some professionals knows the
basic tricks, they will hack the important information which is available under
your mobile, thus no safety and security was available.
2
2. REQUIREMENT SPECIFICATION & IMPLEMENTED
FEATURES
Hardware Requirements:
Software Requirements:
Development Kit : Android SDK , Java JDK 1.8.
Implemented Features:
Lock device.
1
3. HIGH LEVEL DESIGN
Block Diagram
2
Description
Micro-Controller STM32F4:
3
Features:
ARM 32-bit Cortex-M4 CPU with FPU, Adaptive real-time accelerator (ART
Accelerator) allowing 0-wait state execution from Flash memory, frequency up to 168 MHz,
memory protection unit, 210 DMIPS/ 1.25 DMIPS/MHz (Dhrystone 2.1), and DSP instructions
Up to 1 M byte of Flash memory.
4
Up to 192+4 Kbytes of SRAM including 64- Kbyte of CCM (core coupled memory) data
RAM.
Flexible static memory controller supporting Compact Flash, SRAM, PSRAM, NOR and
NAND memories.
LCD parallel interface, 8080/6800 modes.
Clock, reset and supply management.
1.8 V to 3.6 V application supply and I/Os.
POR, PDR, PVD and BOR.
4 to 26 MHz crystal oscillator.
Internal 16 MHz factory-trimmed RC (1% accuracy).
32 kHz oscillator for RTC with calibration.
Internal 32 kHz RC with calibration.
Low-power operation.
Sleep, Stop and Standby modes.
VBAT supply for RTC, 2032 bit backup registers + optional 4 KB backup SRAM.
312-bit, 2.4 MSPS A/D converters: up to 24 channels and 7.2 MSPS in triple
interleaved mode.
212-bit D/A converters.
General-purpose DMA: 16-stream DMA controller with FIFOs and burst support.
Up to 17 timers: up to twelve 16-bit and two 32- bit timers up to 168 MHz, each with up
to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder input.
Serial wire debug (SWD) & JTAG interfaces.
Cortex-M4 Embedded Trace Macro cell
5
Up to 3 SPIs (42 M bits/s), 2 with muxed full-duplex I2S to achieve audio class accuracy
via internal audio PLL or external clock.
2 CAN interfaces (2.0B Active).
SDIO interface.
Advanced connectivity.
USB 2.0 full-speed device/host/OTG controller with on-chip PHY.
USB 2.0 high-speed/full-speed device/host/OTG controller with dedicated DMA, on-chip
full-speed PHY and ULPI.
Sensors:
6
which encapsulates the complete chip except for the humidity sensor area - protects the
capacitive humidity sensor against external impact and facilitates excellent long-term stability.
The SHT21 sensors are available both in large and small volumes.
Embedded in a reflow solder able dual-flat no-leads (DFN) package of 3 3 1.1 mm3,
the SHT21 provides calibrated, linearized sensor signals in digital, I2C format. The SHT21
humidity sensor series contains a capacitive-type humidity sensor, a band-gap temperature
sensor, and specialized analog and digital integrated circuits all on a single. This yields
superior sensor performance in terms of accuracy and stability as well as minimal power
consumption.
Every sensor is individually calibrated and tested. Lot identification is printed on the
sensor and an electronic identification code is stored on the chip which can be read out on
command. Furthermore, the resolution of the SHT21 humidity sensor can be changed on
command (8/12 bit up to 12/14 bit for RH/T) and a checksum helps to improve communication
reliability. With this set of features and its proven reliability and long-term stability, the SHT2x
humidity sensor series offers an outstanding price-performance ratio. To test a humidity sensor
from the SHT2x series, two evaluation kits, EK-H4 and EK-H5, are available.
7
Features:
Digital output, I2C interface
Low power consumption
Excellent long-term stability
DFN type package reflow solder able
Fully calibrated
Exhaust fan
Introduction
Exhaust Fan is used to remove the excess heat and humidity from the closed hydroponic
system.
8
Features
12 V Power supply.
Relay
Introduction
9
A relay is an electromagnetic switch operated by a relatively small electric current that
can turn on or off a much larger electric current. The heart of a relay is an electromagnet (a coil
of wire that becomes a temporary magnet when electricity flows through it). You can think of a
relay as a kind of electric lever: switch it on with a tiny current and it switches on ("leverages")
another appliance using a much bigger current. Why is that useful? As the name suggests, many
sensors are incredibly sensitive pieces of electronic equipment and produce only small electric
currents. But often we need them to drive bigger pieces of apparatus that use bigger currents.
Relays bridge the gap, making it possible for small currents to activate larger ones. That means
relays can work either as switches (turning things on and off) or as amplifiers (converting small
currents into larger ones)
Features:
230 to 12 V Relay Module.
Optocouple Isolator
Anti-Jamming
Water Pump
Introduction
10
As our system is soil-less and plants are grown only in water. So constant supply of water
is need to keep plants hydrated.
Features:
230 V / 50 Hz
Power 18 w
11
Internal Clock HSE (8 MHz)
GPIOs Configured in Input mode or Output mode or Alternate Function Mode
Enable Clock for GPIOs and Peripherals interfaced
I2C: SHT21_V4
GPIOB SCL- PB6, SDA-PB9
Alternate Function mode AF4
Mode of Operation Fast Mode, Input Peripheral clock Frequency is 4MHz in FM
Frame Format Start, 7 bit Slave Address (0x0040), Acknowledgment, Data, Stop
Peripheral bus APB2
I2C:
I2C (inter-integrated circuit) bus Interface serves as an interface between the
microcontroller and the serial I2C bus. It provides multi master capability, and controls all I2C
bus-specific sequencing, protocol, arbitration and timing. It supports the standard mode (SM, up
to 100 kHz) and FM mode (FM, up to 400 kHz). It may be used for a variety of purposes,
including CRC generation and verification, SM Bus (system management bus) and PM Bus
(power management bus). Depending on specific device implementation DMA capability can be
available for reduced CPU overload.
12
must send an acknowledge bit to the transmitter. Acknowledge may be enabled or disabled by
software.
13
5. TEST CASES
14
6. REVIEW DOCUMENTS AND REFERENCES
http://staging1.unep.org/uneplive/media/docs/air_quality/aqm_document_v1/Blue%20Prin
t/Components/Microcomputer%20and%20sensors/D.%20Supporting%20Sensors/D.1%20
Temp%20&%20Humidity/Datasheet%20SHT21.pdf
http://www.st.com/content/ccc/resource/technical/document/user_manual/70/fe/4a/3f/e7/e1/
4f/7d/DM00039084.pdf/files/DM00039084.pdf/jcr:content/translations/en.DM00039084.pdf
http://www.st.com/content/ccc/resource/technical/document/programming_manual/6c/3a/c
b/e7/e4/ea/44/9b/DM00046982.pdf/files/DM00046982.pdf/jcr:content/translations/en.DM00
046982.pdf
http://www.st.com/content/ccc/resource/technical/document/user_manual/2f/71/ba/b8/75/54
/47/cf/DM00105879.pdf/files/DM00105879.pdf/jcr:content/translations/en.DM00105879.pdf
15