Group 1
Zia McDonnold | Kielan McMillan | Danielle Nastyn | Vergin Mansour
Unrestricted
Detection of Algae in Fish Tanks Using Optical Absorption
Administrative Introduction
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 2
Meet the Team
Zia McDonnold
Photonics Engineering Major
Kielan McMillan
Photonics Engineering Major
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 3
Danielle Nastyn
Electrical Engineering Major
Vergin Mansour
Computer Engineering Major
Motivation
Photo Courtesy of "www.ucf.edu"
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 4
Algae Characteristics
Photos Courtesy of "pixels.com" "www.johanpaul.com", "Fondriest [3]",
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 5
“
”
Project Goals
Basic Goals
Advanced Goals
Stretch Goals
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 6
Project Description
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 7
Algae Detection System
Specifications
Component | Parameter | Design Specification |
Microcontroller | Complexity | Single Board System |
Power supply | US Standard wall outlet | Plugs into wall will need to give 9W |
Optical Source | Wavelength absorption sensitivity | Compare absorption detection sensitivity for different algae concentrations for 450nm, 532nm, and 650nm wavelengths |
Focusing Lens | Position | Compare absorption sensitivity without using focusing lens |
Source Operation | Duration | Continuous wave |
Housing | Dimension | Dimensions do not exceed 12 in x 12 in x 12 in |
Design | Cost | Production cost does not exceed $1,000 |
Thermal Camera | Temperature | Detects changes in temperature with 0.5% sensitivity |
Liquid Crystal Display | User Interface | Simple seletions |
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 8
Block Diagram
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 9
Overall Design
Optical Hardware
Basic Hardware
Electrical Hardware
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 10
Software
Electrical Hardware Components�Microcontroller�Arduino Uno
Significant Design Specifications
Photo Courtesy of content.arduino.cc
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 11
| Waspmote | Raspberry Pi B | Arduino Uno |
Microcontroller | ATmega1281 | BCM2711 | ATmega328 |
Operating Voltage | 3.3V | 5V | 5V |
Input Voltage (recommended) | 5V | 5V | 7V-12V |
Input Voltage (limits) | 7V | 5V | 6V-20V |
Digital I/O Pins | 8 | 8 | 14 |
Analog Input Pins | 7 | N/A | 6 |
DC Current per I/O Pin | 40mA | 700mA | 40 mA |
Temperature Range | -30 ºC to +125 ºC | 0ºC to +50 ºC | -40 ºC to +125 ºC |
Flash Memory | 128kB | SD Card | 32 kB |
SRAM | 8kB | - | 2 kB |
EEPROM | 4kB | N/A | 1kB |
Clock Speed | 32.768kHz | 700MHz | 16 MHz |
Cost | Quote | $35 | $23 |
Photo Courtesy of content.arduino.cc
12
ATmega328
USB Bridge
Power
Photo Courtesy of amazon.com
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 13
Manufacturer | Snark Pedal Power Supply | FlickerStar | Moog Minifooger |
Item Number | SnarkSA1 | B07ZM46WKF | MFoogerPwr |
Input Voltage Range | 100-120V AC �50-60Hz | 100-240V AC �50-60Hz | 100-120V AC �50-60Hz |
Output Voltage | 9V DC | 9V DC | 9V DC |
Output Amps | 400mA | 1000mA | 550mA |
Cost | $12.99 | $10.98 | $19.99 |
Significant Design Specifications
Electrical Hardware Components�Power Supply
B07ZM46WKF�
Photo Courtesy of microcontrollertutorials.com
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 14
Electrical Hardware Components
Liquid Crystal Display�NX3224T024
| Liquid Crystal Display (LCD) | Light Emitting Diode (LED) | Organic Light Emitting Diode (OLED) | ||
Manufacturer | Newhaven Display International | Nextion | East Rising | Adafruit Industries LLC | Waveshare |
Manufacturer Product Number | NHD-0420H1Z-FSW-GBW | NX3224T024 | ER-TFT035-6 | MI-T35P6RGBF-AA (6432) | 14747 |
Description | Character LCD | Touch LCD | Touch LCD | RGB LED �Dot Matrix | RGB OLED |
Viewing Area | 60mm x 28mm | 48.6mm x 36.72mm | 50.56mm x 75.04mm | 385mm x 190mm | 26.86mm x 26.86mm |
Voltage Supply | 4.7V ~ 5.5V | 5V | 2.5V ~ 3.3V | 5V | 3.3V ~ 5V |
Operating Temperature | -20°C ~ 70°C | -20°C ~ 60°C | -20°C ~ 70°C | -20°C ~ 60°C | -30°C ~ 70°C |
Price | $22.66 | $22.99 | $19.25 | $64.95 | $18.95 |
Significant Design Specifications
Wi-Fi�ESP8266 ESP-01
Photo Courtesy of nurdspace.nl
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 15
Hardware Components
Items | ESP8266 | ESP8285 | ESP32 |
Manufacturer | MakerFocus | KeeYees | AITRIP |
Peripheral Bus | UART/SDIO/SPI/I2C/I2S/IR Remote Control | UART/SDIO/SPI/I2C/I2S/IR Remote Control | UART/SDIO/SPI/I2C/DAC/ADC/JTAG |
Operating Voltage | 3.0~3.6V | 2.7 V ~ 3.6 V | 2.3 V ~ 3.6 V |
Operating Current | Average value: 80mA | Average value: 80mA | 500mA |
Operating Temperature | -40°C~125°C | –40 °C ~ 85 °C | -40°C~125°C |
Package Size | 48.4mm x 25.5mm | 15mm x 17.8mm | 54.6 mm x 27.94 mm |
WiFi Mode | station/softAP/SoftAP+station | Station/SoftAP/SoftAP+Station | Simultaneous support for Infrastructure Station, SoftAP, and Promiscuous modes |
Security | WPA/WPA2 | WPA/WPA2 | ECC/RSA |
Encryption | WEP/TKIP/AES | WEP/TKIP/AES | AES |
Cost | $12.99 (4pcs) | $23.99 (5pcs) | $19.68 (3pcs) |
Significant Design Specifications
Wi-Fi�ESP8266
Photo Courtesy of nurdspace.nl
16
Hardware Components
Overall Design
Optical Hardware
Basic Hardware
Electrical Hardware
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 17
Software
Optical Component Specifications
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 18
Laser Pointer Comparison
Laser Pointer | Price | Peak Wavelength | Maximum Optical Power | Laser Class | Power Source |
Big Laser Pointers | $109 | 455 nm | 2000 mW | IV | 2 x 16340 Li-ion batteries |
Amazon Store | $14.88 | 405 nm, 532 nm, 650 nm | 5 mW | III | 2 x AAA batteries |
Alpec | $84.99 | 450 nm | 5 mW | IIIA | 2 x AAA batteries |
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 19
Beamsplitter Comparison
Beamsplitter | Shape | Price | Split Ratio | AR Coating | Size | |
1 | BSW10 | Plate | $106.49 | 50:50 | VIS 350 – 700 nm | 25.4 mm diameter |
2 | BS013 | Cube | $230.71 | 50:50 | VIS 400 – 700 nm | 1" x 1" x 1" |
3 | BSF2550 | Wedge | $89.29 | NA | NA | 1.0" x 2.0" |
4 | BSW10R | Square plate | $125.34 | 50:50 | VIS 350 – 700 nm | 25 x 36 mm |
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 20
Lens Comparison
Lenses | Focal Length | Available Coating | Material | Price | |
1 | LB1761-A | 25.4 mm | (A) 400 – 700 nm | NBK-7 | $40.21 |
2 | LB1757-A | 30 mm | (A) 400 – 700 nm | NBK-7 | $39.38 |
3 | LB1027-A | 40 mm | (A) 400 – 700 nm | NBK-7 | $38.27 |
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 21
Photodiode Comparison
list | Photodiodes | Price | Peak Wavelength Sensitivity/ Responsivity | Active area |
1 | SD-076-12-12-011-Photodiode | $14.95 | Undefined | 2.9 mm2 |
2 | MTD5052N | $7.46 | 525 nm | Undefined |
3 | MTD5052W | $7.46 | 523 nm | 0.62 mm2 |
4 | TME BPW21R VISHAY | $8.02 | 565 nm | 7.5 mm2 |
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 22
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 23
Optical Design
Testing Optical System
Group 1
Fish Tank Assistant
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 24
Testing Optical System Continued
Group 1
Fish Tank Assistant
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 25
Expected Results of Optical System Testing
Expected Data for 5g/L hair algae sample | |
Molar absorption coefficient | 1.261E+05 M-1*cm-1 |
Molar concentration | 0.0055959082718716 M |
Optical Path length | 2.5 cm |
Expected Absorption | 29.7976% |
Expected Transmittance | 70.2024% |
Group 1
Fish Tank Assistant
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 26
Overall Design
Optical Hardware
Basic Hardware
Electrical Hardware
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 27
Software
3D Printed Models and Water Tube
3D Printed Models:
Hardware Components
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 28
Water tube for siphon will consist of:
Siphon will be started using
Overall Design
Optical Hardware
Basic Hardware
Electrical Hardware
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 29
Software
Requirements
Software Design & Components
Goals | Description |
Main | Program the microcontroller, sensors, and buttons to make sure the actual product is functional |
Advanced | Have the machine operate through a touch LCD screen |
Stretch | Build an app to control the product through smart devices and make it as user-friendly as possible. |
Zia McDonnold | Kielan McMillan | Danielle Nastyn | Vergin Mansour 30
Breakdown
Software Components
Software process
Power
ON
OFF
Controller/LCD
Sensor readings
Turning the system On/Off
I/O
Nextion
Touchscreen
APP (Stretch Goal)
Code
Notification
User preference and configuration
Testing Software
Reprogram
Test Functions
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 31
Code Planning
Software Design
Zia McDonnold | Kielan McMillan | Danielle Nastyn | Vergin Mansour 32
Skeleton Code
Nextion Code
Arduino --> LCD
Arduino --> Photodiodes
Arduino --> Thermal Camera
Arduino--> Laser
Update Nextion Code
Include Libraries
Program the layout
Register a button object to the touch event list
Register a button object to the touch event list
For the
&Photodiode,
Register a button object to the touch event list
ThermalCam,�
Register a button object to the touch event list� &Laser,
Update Nextion Code
Pseudo Code
LCD screen
Using Nextion Program, we were able to simulate the interface on the LCD as well as program the different functions of the buttons.
Software Design
Draft Design to Final LCD design
Zia McDonnold | Kielan McMillan | Danielle Nastyn | Vergin Mansour 33
Requirements
Software Design & Components
Goals | Description |
Main | Program the microcontroller, sensors, and buttons to make sure the actual product is functional |
Advanced | Have the machine operate through a touch LCD screen |
Stretch | Build an app to control the product through smart devices and make it as user-friendly as possible. |
Zia McDonnold | Kielan McMillan | Danielle Nastyn | Vergin Mansour 34
Administrative Information
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 35
Budget and Financing
System Components | Budgeted Costs | Actual Costs |
Optics | $175 | $169.20 |
Electrical Hardware | $175 | $92.94 |
Optical Hardware | $250 | $215.12 |
Hardware | $40 | $23.38 |
3D Printing Material | $30 | $25 |
Housing & Water Tube | $75 | $62.60 |
Test Components | $20 | $8.32 |
Total Costs | $765 | $583.58 |
Financing | Monetary Amounts |
Total Personal Contributions | $583.58 |
Total Awards | $400 |
Final Personal Contributions | $183.58 |
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 36
Work Distribution
System Design
Danielle Nastyn:
Optical Design & System Housing
Kielan McMillan:
Zia McDonnold:
System Software
Vergin Mansour
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 37
Design Issues
Optical Design Issues
Hardware Design Issues
Software Design Issues
Solutions
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 38
Developing Issues
Optical Design Issues
Hardware Design Issues
Software Design Issues
Microchip became faulty and had to switch the whole setup to a different microchip in the last second .
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 39
Project Progress: Update
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 40
Conclusion
Research
Design and building process
Implementation
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 41
Questions
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 42
References
[1] https://www.aqueon.com/articles/freshwater-aquarium-water-quality
[2] https://www.tropicalfishcareguides.com/aquarium-setup/fish-tank-temperature-control/
[3] https://www.tme.com/us/en-us/details/bpw21r/photodiodes/vishay/?brutto=1¤cy=USD
[4] https://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=4848
[5] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5426836/
[6] https://www.seneye.com/what.html
Group 1
Fish Tank Assistant
Zia McDonnold | Kielan McMillan
Danielle Nastyn | Vergin Mansour 43
Software References