A wireless alarm device which makes loud noises and flashes lights to alert a human
A Crake is a bird with a distinctive, slighly alarming cry. We changed the spelling as a joke. "Flaycrake" is an old term for a scarecroew.
-
Prototype on a solderless board:
- Connect the components on a solderless breadboard: ESP32, DFplayer, Speaker, 5 lamps, voltage divider circuit acting as an input for pin 34 of the ESP32.
-
Develop firmware for the following features, as of 20240427 we have deleveloped:
- Connect to WiFi
- Fetch the input value through WiFi
- Send an emergency level to the device through WiFi
- Illuminate a lamp corresponding to the received emergency level with a certain blinking rate
- Play prerecorded audio output corresponding to the emergency level.
-
Future features both firmware and hardware:
- Store the received input in a database (save it to SD card or to a cloud based server)
- Add an LCD to display the input value and the emergency level
- Include a mute button to silence the audio of the Krake device.
-
Create a soldered prototype of the device.
-
Design a PCB, compliant with JLCPCB.
-
Design a 3D enclosure.
-
Generate gerber files and order the PCB.
-
Assemble all the parts together: enclosure, PCB, and upload the program.
-
Begin testing the device.
- ESP32 DevKit V1. For schematics of DevKit V1 and other information See: https://embedded-systems-design.github.io/overview-of-the-esp32-devkit-doit-v1/
- DFplayer module. The DFPlayer Mini MP3 Player For Arduino is a small and low cost MP3 module. For example wiring diagrams of of DFPlayer module for stand alone and to Arduino UNO and other information See: https://wiki.dfrobot.com/DFPlayer_Mini_SKU_DFR0299
- SD card 16 GB
- speaker 8 ohm
- 5 lamps (emergency level ind)
- 8 resistors
- breadboard (solderless )
- connecting wires
- USB cable. Type A (for connection to PC) to type B micro (to connection on ESP32 Devkit V1)
⏩ `Newly added:
- 3 lamps:
- mute ind
- PWR ind
- ON - OFF ind
- rotary encoder
lamps
+ve --- lamp 1 -- resistor 330 ohm -- pin #2
+ve --- lamp 2 -- resistor 330 ohm -- pin #4
+ve --- lamp 3 -- resistor 330 ohm -- pin #5
+ve --- lamp 4 -- resistor 330 ohm -- pin #18
+ve --- lamp 5 -- resistor 330 ohm -- pin #19
input value ciruit devider or any sensor circuit devider connections: -ve -- resistor --- resistor -- +ve | pin #34
Vin of the ESP32 connected to 3.3 V GND of ESP32 connected to -ve
DFplayer
RX -- resistor 10 k -- pin #16 (TX2 of the ESP32)
TX -- pin #17 (RX2 of the ESP32)
VCC -- +ve
GND -- -ve
DFplayer ft. speaker SPK1 -- +ve of the speaker SPK2 -- -ve of the speaker
- The Krake is an HTTP Server and receives alarm level requests by an HTTP Client Put or Get message.
- The Krake is an HTTP Server and returns to a client browser a web page with the system alarm state.
- The Krake has 5 bright white LEDs which indicate alarm states. State can be indicated by steady or blinking LEDs.
- Plays five different audio levels corresponding to triggered emergency levels" To "The Krake can play WAV files which are stored at program time (manufacturing time) The size , ie duration, and number of messages is only limited by the size of an SDI card.
- The Krake Liquid Crystal can display four rows of up to 20 character to further explain an alarm state.
- Includes a mute button.
- The Krake in nromal use connects as a Station to a WiFi Access Point. For set up, a user interface is provided to set (Manage) WiFi credentials by the user of a smart device and the Krake provides a WiFi Access Point WiFi.