Setting up the software
This time, to implement the software of this prototype, we can use a state-machine with the following states and their relative transactions:
State |
Description |
Actions |
Transaction conditions |
---|---|---|---|
|
Idle state; the washing machine is not working. |
|
|
|
Sound detected! Keep monitoring the environment for a while. |
|
|
|
Continuous sound detected so the washing machine has started its job. |
|
|
|
No more sound detected! Keep ... |
Get BeagleBone: Creative Projects for Hobbyists now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.