# NIFPES_Speech_IOT_Project
## Description
This is a speech output model for a NIFPES (Nitrogen Injection Fire Prevention and Exhaustion System) machine. ESP32 is being used where it is connected with a limit switch LXW20-11M and ESP32 is connected with DFPlayer mini MP3 Speaker module and the speaker module is further connected to a speaker. This model is powered by a PLC SMPS of 24V and is connected to the door of the control panel of the machine.
Function:- Now whenever the door is opened or closed, there is a speech output from the speaker "The door is open" or "The door is closed".
Further work to be done:-
I need to integrate the fire alarm signals and 20 more signals of 24v each from the PLC output to the ESP32 so that there can be speech outputs whenever any signal is high.
## Project Details
- **Owner:** mehardeep7
- **Created:** 7/17/2024
- **Last Updated:** 7/26/2024
- **Visibility:** Public
## Key Components
### Limit Switch — [Push Button](https://www.flux.ai/jharwinbarrozo/push-button~eqk.md)
- Manufacturer Name: OMRON
- Part Type: Switch
- Manufacturer Part Number: B3FS-1050P
- Datasheet URL: https://datasheet.lcsc.com/lcsc/1809271215_Omron-Electronics-B3FS-1050P_C231326.pdf
**Pins:**
- P1 [pin 1]
- P2 [pin 3]
### PS1 — [LM2596 DC-DC buck converter](https://www.flux.ai/vasy_skral/lm2596-dc-dc-buck-converter~2q1.md)
- License: https://creativecommons.org/licenses/by/4.0/
- Part Type: Integrated Circuit
**Pins:**
- IN - [pin 2]
- IN + [pin 1]
- OUT - [pin 3]
- OUT + [pin 4]
### U1 — [ESP32-DEVKIT-V1](https://www.flux.ai/vasyl/esp32-devkit-v1~zya.md)
- Manufacturer Name: Espressif Systems
- Part Type: Module
- Datasheet URL: https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf
- Manufacturer Part Number: ESP32-DEVKIT-V1
**Pins:**
- 3V3 [pin 1]
- D12 [pin 27]
- D13 [pin 28]
- D14 [pin 26]
- D15 [pin 3]
- D18 [pin 9]
- D19 [pin 10]
- D2 [pin 4]
- D21 [pin 11]
- D22 [pin 14]
- D23 [pin 15]
- D25 [pin 23]
- D26 [pin 24]
- D27 [pin 25]
- D32 [pin 21]
- D33 [pin 22]
- D34 [pin 19]
- D35 [pin 20]
- D4 [pin 5]
- D5 [pin 8]
- EN [pin 16]
- GND [pin 2]
- GND__1 [pin 29]
- RX0 [pin 12]
- RX2 [pin 6]
- TX0 [pin 13]
- TX2 [pin 7]
- VIN [pin 30]
- VN [pin 18]
- VP [pin 17]
### U2 — [DFR0299](https://www.flux.ai/adrian95/dfr0299~dmv.md)
- Manufacturer Name: DFRobot
- Manufacturer Part Number: DFR0299
- Part Type: Development Board
- License: https://creativecommons.org/licenses/by/4.0/
- Datasheet URL: https://raw.githubusercontent.com/Arduinolibrary/DFPlayer_Mini_mp3/master/DFPlayer%20Mini%20Manual.pdf
**Pins:**
- ADKEY1 [pin 12]
- ADKEY2 [pin 13]
- BUSY [pin 16]
- DAC_L [pin 5]
- DAC_R [pin 4]
- GND [pin 7]
- GND [pin 10]
- IO1 [pin 9]
- IO2 [pin 11]
- RX [pin 2]
- SPK1 [pin 6]
- SPK2 [pin 8]
- TX [pin 3]
- USB- [pin 15]
- USB+ [pin 14]
- VCC [pin 1]
### V1 — [DC Supply](https://www.flux.ai/jharwinbarrozo/dc-supply~35.md)
- Voltage: 5V
**Pins:**
- ANODE
- CATHODE
*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/mehardeep7/nifpesspeechiotproject~rm](https://www.flux.ai/mehardeep7/nifpesspeechiotproject~rm).*
---
*Generated from [https://www.flux.ai/mehardeep7/nifpesspeechiotproject~rm](https://www.flux.ai/mehardeep7/nifpesspeechiotproject~rm)*