Aquatic Life System
Download
1 / 46

FDR Slide Show - PowerPoint PPT Presentation


  • 324 Views
  • Uploaded on

Aquatic Life System BECAUSE FISH ROCK Final Design Review - March 24, 2004 Zach Casper, Richard Dunkley, Blake Hunsaker, and Paul Smart ALS Must Maintain/Monitor : Temperature pH Water Level Feeding and Food Level Reservoir Embedded System PC Water Inlet Valve Feeder Temp

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'FDR Slide Show' - benjamin


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Slide1 l.jpg

Aquatic Life System

BECAUSE FISH ROCK

Final Design Review - March 24, 2004

Zach Casper, Richard Dunkley, Blake Hunsaker, and Paul Smart


Slide2 l.jpg

ALS Must Maintain/Monitor:

  • Temperature

  • pH

  • Water Level

  • Feeding and Food Level

Reservoir

Embedded

System

PC

Water Inlet

Valve

Feeder

Temp

Sensor

pH Sensor

Heater

Water Outlet

Valve

Drain

Water Level Sensors

LCD


Slide3 l.jpg

Aquatic Life System (ALS)

  • Embedded System

  • Microcontroller

  • (MC68HC11E0)

  • External 32K Memory for

  • program storage

  • USB Module for serial interface

MC

Feeder Motor Control

Feed Control

Feeder Rotation Counter

Food Level Sensor

External Memory

BQ4011 MA-100

Inlet (Fill) Valve Control

Water Level Control

Outlet (Drain) Valve Control

Water Level Sensors

pH Sensor

pH Control

A/D Converter

Temp Sensor

Temperature Control

Heater

LCD

  • Aquarium / World

  • 2 Analog Inputs

  • 4 Digital Inputs

  • 4 Actuators Outputs

  • PC user interface and non-PC display

USB Module



Slide5 l.jpg

External (to board) Circuitry

These circuits are not on the printed

Circuit board but are necessary for operation

This is the reset circuit for the microcontroller

This circuit is a temporary solution to

our communications problem regarding

the use of a virtual com port with the loading

programs. This circuit replaces the USB interface

with a simpler serial port connection. It will only

be used until a suitable loader program can be found

will accommodate the USB module.


Slide6 l.jpg


Slide7 l.jpg

Printed Circuit Board Unpopulated

TOP VIEW

BOTTOM VIEW


Motorola mc68hc11e0 l.jpg
Motorola MC68HC11E0

  • 5 Ports

  • 8 Channel / 8 bit A/D Converter

  • Integrated Serial Communications Interface

  • 16 Bit Address Bus

  • 8 Bit Data Bus

  • 4.2V Min HIGH Out, -0.4V Max for LOW Out

  • 3.5V Min HIGH Input, 5.3V Max HIGH Input

  • 1.0V Max Low Input, -0.3V Min Low Input



Microcontroller assignments l.jpg
Microcontroller Assignments

Internal Features

PORT

Assignments

8 Bit Pulse Accumulator

Feeder Rotation Counter

Outlet Valve

Inlet Valve

A

Feeder Motor

Water Heater

Food Level Sensor

Water Level Sensor

Water Level Sensor

Memory Chip / LCD Select (Mem: $8000-$FFFF)

B

Memory Chip / LCD Select (LCD: $4000-$7FFF)

Expanded Mode:

Address / Data Bus

[6:0]

ADDR High

C

DATA / ADDR Low

(Memory and LCD)

[8:0]

D

Serial Communication

Interface (SCI)

RxD

TxD

USB Module

RxD

TxD

8 Bit A/D

E

Temperature Sensor

pH Sensor


Usb module l.jpg
USB MODULE

· Single module High-Speed USB UART solution

· Integrated Type-B USB Connector

· On-board 6MHz Crystal

· External EEPROM on board for USB enumeration data

USBMOD3

Motorola

68HC11E0

FTDI FT232BM

USB UART IC

Rx

Tx

SCI Interface

Tx

Rx

USB BUS

TO PC


Slide12 l.jpg
LCD

MTC-C162DPLY-2N

  • Displays:

    • pH

    • Temperature

  • Command Memory Locations:

    • $40xx Write Instruction

    • $41xx Read Instruction

    • $42xx Write Data

    • $43xx Read Data


Automatic feeder design l.jpg
Automatic Feeder Design

Requirements:

  • Must be controlled by microcontroller

  • Must be able to dispense food for different amounts of fish

  • Must be able to dispense food at different intervals if necessary

  • Needs to sense when food level in feeder is too low


Slide14 l.jpg

Microcontroller

(MC)

0.4V OFF

+4.2V ON

0V OFF

+3V ON

Conditioning Circuit (Relay)

  • Nutra-matic Feeder

  • Includes:

  • Plastic Case

  • Motor

  • Gearing

1V Low

+3.5V High

Switch

To Pulse Accumulator

1V Level OK

+3.5V Food Low

Food Level Sensor

68HC11

Switch Circuit

Food goes in here

  • Feeder Control

  • 3V for continuous ON

  • Each full turn will dispense food and

  • activate the switch

  • MC activates motor to control the

  • number of feeder rotations

GEARING

MOTOR

Switch

Rear View of Feeder



Slide16 l.jpg

Food Level Detector

Photocell

3.5V High

Feeder

Feeder

Food

Food

Food Okay – Photocell blocked from light

(High Resistance ~ Open Circuit)

Food Low – Photocell exposed

(Low Resistance ~ Closed Circuit)


Slide17 l.jpg
Food

  • System will be configured to use flake food

  • Each rotation will drop approximately ¼ teaspoon of food (~1 pinch) – this is equivalent to what 1 average size fish can eat in 2 minutes

  • These rotations (# and intervals) will occur as specified in GUI by user



Slide19 l.jpg

Temperature Control

Temperature Sensor

Signal Conditioning

Microcontroller

8 Bit A/D

Heater

Relay


Temperature control l.jpg
Temperature Control

Requirements:

  • Must maintain temperature within

    3 degrees Fahrenheit of desired setting (76-78 degrees for most fish)

  • Must avoid rapid fluctuation in temperature (10 degrees in 12 hours)


Temperature sensor l.jpg
Temperature Sensor

  • National Semiconductor LM34CAZ

  • 1.11 degrees Fahrenheit accuracy

  • 5-30 VDC supply voltage


Temperature control signal conditioning l.jpg
Temperature ControlSignal Conditioning




Heater l.jpg
Heater

  • Heating coil in plastic casing

  • 50 Watts


Relay l.jpg
Relay

  • 5 VDC coil

  • 1 Amp contact rating



Slide28 l.jpg

Water Input/Output Control

Water Level

Sensors

Inlet

Valve

Microcontroller

Outlet

Valve

pH Sensor


Water input output control l.jpg
Water Input/Output Control

Requirements:

  • Draining and filling of tank are activated based on readings from pH sensor

  • Water level will never become too high or too low – 1 inch top level, 5 inches bottom level


Water level control l.jpg
Water Level Control

Water

Source

Water Level

Sensors

Desired

Water Level

Drain


Water level sensors l.jpg
Water Level Sensors

  • Simple open/close switch

  • Small size


Water level sensors32 l.jpg
Water Level Sensors

To Microcontroller

Upper Level Sensor – PA0

Lower Level Sensor – PA1


Valves l.jpg
Valves

  • 120 VAC solenoid

  • Normally closed

  • ¼ inch and ½ inch hose connections

  • Flow rate: .1gal/min.



Slide35 l.jpg

pH Control

pH Sensor

Signal Conditioning

Microcontroller

8 Bit A/D

Valves

Relay


Ph sensor l.jpg
pH Sensor

Requirements:

  • Monitor concentration of hydrogen ions in an aqueous solution

  • 0 to 14 pH range

  • Fast response time

  • Accurate readings


Sensor input specifications l.jpg
Sensor Input Specifications

Circular DIN Plug - 5 pin

  • Pin 1 = Sensor Output

  • Pin 2 = Not used

  • Pin 3 = ID Output (not used with most sensors)

  • Pin 4 = Power (+5VDC)

  • Pin 5 = GND


The ideal ph electrode l.jpg
The ideal pH electrode

  • Zero volts output at neutral pH (=7.0)

  • Positive voltage in acids, pH<7

  • Negative voltages in bases, pH>7

  • Generates -59.16 millivolts per pH unit at room temperature (="Nernst potential").

Nernst potential: calculation of the exact electrical potential at equilibrium that is generated for a known concentration difference in a specific ion, separated by a membrane permeable to that ion.


Ph electrode l.jpg
pH electrode

  • 1.75 volts output at neutral pH (=7.0)

  • Increase by .25 volts/pH level in acids, pH<7

  • Decrease by .25 volts/pH in bases, pH>7

  • Response time in 1 second


Ph control signal conditioning l.jpg
pH ControlSignal Conditioning




Water quality and ph l.jpg
Water Quality and pH

  • If the level of H+ ions increases, the substance is considered an acid and the pH number is below 7.

  • If the level of OH- ions increases, the substance is considered to be alkaline or base and the pH number is above 7.



Slide46 l.jpg

Basic Cost Breakdown

Printed Circuit Board – Advanced Circuits $45.00

LCD – hobbyengineering.com $13.50

USB Module – hobbyengineering.com $26.00

MC68HC11E0 – Digikey $10.00

32K RAM Chip – Digikey $10.50

Resistors, Capacitors, Logic Gates, Misc. – ECE Store $20.00

Relays – Radioshack $3.99 x 3

Photocells – Radioshack $3.50

Input/Ouput Water Valves – Online $22.00 x 2

Water Level Sensors – Digikey $10.00 x 2

Temperature Sensor – National Semi $0.00

Feeder – PetSmart $15.00

Time spent working on the ALS – Priceless


ad