You are asked to simulate an automatic bird feeder that has the following features: Feeding doors open
Fantastic news! We've Found the answer you've been seeking!
Question:
You are asked to simulate an automatic bird feeder that has the following features:
- Feeding doors open automatically at sunrise and close at sunset.
- Bird seed is placed in a 12 oz. container, and automatically dispensed when the doors open.
- Water is placed in a separate 12 oz. dispenser, and automatically dispensed when the doors open.
Requirements:
- An optical sensor detects sunlight at a 40% brightness level
- A servo is activated and the feeding doors open.
- The sensor detects a decrease in sunlight to a 25% brightness level
- Servo is activated and feeding door close.
- Remoter control way of opening and closing the doors remotely.
- An audio sensor that closes the doors when certain bird chirps are detected (assume that such a sensor exists...AI...and simply activates the servo to open the door).
- Use case:
Basic Flow | Alternate Scenario |
Precondition: Doors open | |
| 1.1 The audio sensor detects the birdsong |
| 2.1 audio sensor recognizes the chirp from unwanted bird |
| 3.1 The audio sensor activates the servo to close the feeding doors. |
| |
| 5.1 The audio sensor detects the birdsong from wanted birds |
| 6.1 The audio sensor activates the servo to open the feeding doors. |
Postcondition: Feeding doors are open again |
You will hand in the following:
1 . Implementation. Working .java program.
Related Book For
Operations management processes and supply chain
ISBN: 978-0136065760
9th edition
Authors: Lee J Krajewski, Larry P Ritzman, Manoj K Malhotra
Posted Date: