I’ve seen some projects that have similar aspects to mine, but I get confused in their applications as I begin to read. I felt that I might as well ask on here.
For my application, I have a hm-10 Bluetooth module that I can connect to my iPhone. The module is connected to an Arduino Uno which controls a motor for a fan. I want to be able to have the fan turn off in any scenario where Bluetooth connection is lost.