You are on page 1of 28

CARE, USE AND MAINTENANCE OF BATHROOMS

VOICE MESSAGE REMINDER IN BATHROOMS WITH


SPEAKERS

MEMBERS: BURGOS AVILA JUAN ANTONIO,


ROCHA BONOLA JESUS ALFREDO, DORANTES
MÁXIMO SERGIO ABRAHAM AGUILAR
SEGURA LUIS DAVID, SANCHES CABALLERO
ADAM ALDEMAR, GUEVARA MANZANO
RUBEN ISAAC, BENITEZ ARREDONDO DAVID,
BENITEZ SANCHEZ JESUS EDUARDO

Yecapixtla, Morelos

June 2022
Contenido
Introduction.......................................................................................................................................4
Background........................................................................................................................................4
Objectives.........................................................................................................................................5
General...........................................................................................................................................5
Specific......................................................................................................................................5
Materials and methods......................................................................................................................5
Results and discussion......................................................................................................................10
Conclusions......................................................................................................................................11
References.......................................................................................................................................11
Annexes............................................................................................................................................14

2
SUMMARY
To carry out this project we proceeded to analyze and verify together with the
professors to see if the functioning could be improved since it is not given good
care and use of themselves in addition to that poor care can affect the functioning
of them or very severely cause problems or diseases the teachers, so with a circuit
and speakers we try to improve the care and hygiene of everyone

This project is based on improving the quality of the bathroom service, to make
some students think differently that cause problems in the bathrooms such as: dirt
where it should not be, garbage, graffiti, waste of water. Our idea in this project is
to enter the minds of the students and make them see the bathrooms differently, so
that they see it as a necessary service for everyone and that we must take care of
it and respect it since it belongs to everyone. In the end we will see how effective
the proposal has been and our project itself so that students can make good use of
the bathrooms without any problem or discomfort

Keywords: circuits, programming, assembly, components.

3
Introduction
There are many types of devices that allow converting analog signals into
digital ones, one of them and the most used are the sensors. A sensor is a device
that detects change in the environment and responds to some output in the other
system. This device converts a physical phenomenon into a measurable analog
voltage (or sometimes a digital signal) converted into a human-readable display or
transmitted for reading or hearing.

The project refers to the good habit of people which will help solve the problems
that are in the bathrooms such as the urinals in which a box was made with some
components inside in which it carries out the reproduction of a voice note that
refers to the good care and maintenance by the people for which it will be
remembered for the user who enters.

Background
There is a problem in the facilities of our institution which is the misuse of toilets
and urinals. This has generated a bad impression because they are usually not
used correctly and additionally they forget to be hygienic enough.

4
Objectives
General
Know and resol see the reasons why the bathrooms of the headquarters of the
UAEM, school of higher studies of yecapixtla are or sometimes are in poor
condition and with poor hygiene through an investigation and census through a
survey

Specific
1. Know the causes of the poor condition of the bathrooms in the EESY
2. Check the results obtained with the check of the bathrooms
3. Apply the techniques and methods so that you can have a better control and
care of them
1. Identify the reason for the misuse of bathrooms
2. Find a solution to improve students' habits.

Materials and methods

Material Name Parts price


Sensor PIR 1 $85
Arduino nano 1 $200
Speakers 2 $150
Transformer 1 $250
LED spotlights 2 $10
Borneras 3 $25
Cable 1 $15
Resistances 2 $3

Material Assembly Requirements

Power Supply:

A signal rectifier circuit was made, with the purpose of changing the alternating
current into direct current. Electronic components need a VCC and low level
voltage to function.

5
The components were soldered onto a printed circuit board (PCB). The following
image shows a schematic diagram of the connections made.

Figure .3 Eschematic
Diagram of Power Supply

The figure below shows the PCB layout for soldering on a phenolic board.

To solder the components it is necessary to follow the schematic diagram. and use
the components mentioned above Be sure to check the specification sheet of each
component, each of the transistors and capacitors has polarity.

Figure 4. PCB Design of Power Supply

6
Figure 5. 3D board view

Figure 6. Power Suppy

What to do in case a component fails?

Make sure to use components that support 50 volts in the case of capacitors and
100 volts in the case of transistors so that in the event of a failure the damage is
not so serious.

If any component fails, be sure to perform the following steps:

1. Verify that the component is not physically damaged


2. Make sure the PCB tracks are in good condition

7
3. Check that the solder pins are not together, this can cause a short circuit.
4. Do not put the power supply board near any metal surface, this may cause
failure.
5. In the event that any component is burned, desolder it from the board
carefully and using the appropriate materials: DESOLDER, SOLDER
PASTE, FLUX ETC.
6. Take care when supplying heat to components as they are sensitive and
could be damaged.
7. Before connecting the board, be sure to clean it with isopropyl alcohol to
remove excess paste and flux.
8. When it is ready make sure to connect the transformer, and the output
terminals in the correct place.

PIR sensor with MP3 playback module MDFPlayer

The MDFPlayer playback module is a circuit which allows the reading and
playback of data within a micro SD memory.

The main function is that when the sensor detects any movement, the Arduino
microprocessor sends a digital signal to the mp3 module to read data from the
MDFPlayer and thus play them with speakers.

The following picture shows the connection diagram:

8
#include "SoftwareSerial.h"

#include "DFRobotDFPlayerMini.h"

SoftwareSerial mySoftwareSerial(10, 11); // RX, TX

DFRobotDFPlayerMini myDFPlayer;

void printDetail(uint8_t type, int value);

int pir = 9

#define PAUSETIME 15000

void setup() {

mySoftwareSerial.begin(9600);

Serial.begin(115200);

pinMode(pir, INPUT);

Serial.println();

Serial.println(F("Initializing DFPlayer..."));

//Use softwareSerial to communicate with MP3

if (!myDFPlayer.begin(mySoftwareSerial)) {

Serial.println(F("Unable to begin:"));

Serial.println(F("1.Please recheck the connection!"));

Serial.println(F("2.Please insert the SD card!"));

9
Serial.println(F("DFPlayer Mini online."));

//Set volume value (From 0 to 30)

myDFPlayer.volume(25x);

void loop()

delay(10);

int value= digitalRead(pir);

delay(50);

if (value == HIGH)

Serial.println("Sensor Activated");

Serial.println("DFPlayer Working...");

myDFPlayer.play(1);

delay (12000);

else

Serial.println("Sensor Desactivated");

Results and discussion


In this section, mention will be made of the results based on the short time in which
the project was installed, taking into account that the main problem is that in the
toilets the correct use of water discharge was not made.

10
This caused that in the toilets smelled bad or were not presentable, in the
discussion of how to prevent that was thought as previously explained in this
document, one more solution based on technology that could help us.

Conclusions
We have seen that the students have changed their thinking, their attitude, respect
for the space (bathrooms) has improved.

They have improved in the toilet, the waste of water we no longer see open keys
when entering and the garbage everywhere has also decreased. We have realized
that the talks and proposals have not been in vain, little by little we have changed
the attitude of the students and so little by little we will improve the use of the
bathrooms, since this is a very important space for everyone and you must take
care of it and take advantage of it because we all need it.

Students will gradually change their attitude towards the use of bathrooms.

References
1. G, S. (2020). https://medwinpublishers.com/NNOA/NNOA16000183.pdf. Nanomedicine &

Nanotechnology Open Access, 5(2). https://doi.org/10.23880/nnoa-16000183

2. de la Cruz Vargas, J. A. (2019). REVISTA INDEXADA EN SCIELO. Revista de la Facultad de

Medicina Humana, 19(4), 7–8. https://doi.org/10.25176/rfmh.v19i4.2332

3. G, S. (2020). https://medwinpublishers.com/NNOA/NNOA16000183.pdf. Nanomedicine &

Nanotechnology Open Access, 5(2). https://doi.org/10.23880/nnoa-16000183

4. Cook, T. M. (2020). Personal protective equipment during the coronavirus disease (COVID) 2019

pandemic – a narrative review. Anaesthesia, 75(7), 920–927. https://doi.org/10.1111/anae.15071

5. de la Cruz Vargas, J. A. (2019). REVISTA INDEXADA EN SCIELO. Revista de la Facultad de

Medicina Humana, 19(4), 7–8. https://doi.org/10.25176/rfmh.v19i4.2332

11
6. Cook, T. M. (2020). Personal protective equipment during the coronavirus disease (COVID) 2019

pandemic – a narrative review. Anaesthesia, 75(7), 920–927. https://doi.org/10.1111/anae.15071

7. Cook, T. M. (2020). Personal protective equipment during the coronavirus disease (COVID) 2019

pandemic – a narrative review. Anaesthesia, 75(7), 920–927. https://doi.org/10.1111/anae.15071

8. Cook, T. M. (2020). Personal protective equipment during the coronavirus disease (COVID) 2019

pandemic – a narrative review. Anaesthesia, 75(7), 920–927. https://doi.org/10.1111/anae.15071

9. Incorrect Author’s Name in: The JAMA Network Journals: New Names for the Archives Journals.

(2012a). JAMA, 308(9), 863. https://doi.org/10.1001/jama.2012.10086

10. Clop-Gallart, M., & Juárez-Rubio, F. (2007). Elicitation of subjective crop yield PDF [probability

density functions]. Spanish Journal of Agricultural Research, 5(1), 16.

https://doi.org/10.5424/sjar/2007051-219

11. Martínez Chávez, E. E. (2017). Jorge Alberto Núñez. Fernando Cadalso y la reforma penitenciaria en

España (1883–1939). Madrid: Universidad Carlos III de Madrid, 2014, 487 p. ISBN 978–84-9085-

195-1 (Versión en internet:

http://e-archivo.uc3m.es/bitstream/handle/10016/19662/caldalso_nunez_hd29_2014.pdf?

sequence=3). Relaciones Estudios de Historia y Sociedad, 38(151), 330–333.

https://doi.org/10.24901/rehs.v38i151.268

12. Comisión Nacional de Agua, SEMARNAT (2018). Numeragua. México


13. Gaceta UNAM. Apocalipsis del agua, la crisis que viene, 2019. URL: https://www.gaceta.
unam.mx/especial-aguacrisis/
14. María Pastor Pérez2, Susana García Ramírez2, Airi Abigail Velásquez Mendoza1, Vicente Borja1*,
Arturo Treviño Arizmendi2, Yesica Escalera Matamoros2, Alejandro C. Ramírez Reivich1 MEMORIAS
DEL XXVI CONGRESO INTERNACIONAL ANUAL DE LA SOMIM 21 AL 23 DE OCTUBRE DE 2020
MORELIA, MICHOACÁN, MÉXICO | FORMATO VIRTUAL
http://somim.org.mx/memorias/memorias2020/articulos/A1_104.pdf
15. Revista de Investigación: Ciencia, Tecnología y Desarrollo (2018) Volumen 4 Número (2): 56 – 69 ©
Dirección de Investigación de Ingeniería Ambiental, Universidad Peruana Unión. Lima - Perú56
https://revistas.upeu.edu.pe/index.php/ri_ctd/index ISSN 2410-843x (en línea) DOI:
https://doi.org/10.17162/rictd.v4i2.1097

12
16. Gómez, J., & Delgado, F. (2017). La ciudad de Aguascalientes, sus aguas termales y la
higiene pública. Los baños de Los Arquitos, 1821-1994. Investigación y Ciencia: de la
Universidad Autónoma de Aguascalientes, (72), 93-117.
17. Cabrera Sánchez, M. (2018). Higiene y baños en Córdoba a finales de la Edad Media a
través de la documentación notarial.
18. G, S. (2020d). https://medwinpublishers.com/NNOA/NNOA16000183.pdf. Nanomedicine &

Nanotechnology Open Access, 5(2). https://doi.org/10.23880/nnoa-16000183

19. Brunelli Lazzarin, T., & Barbi, I. (2012). Design of a 660 V / 15 kVA single-phase UPS based on

series connection of low-output-voltage modular UPS. Eletrônica de Potência, 17(3), 584–591.

https://doi.org/10.18618/rep.2012.3.584591

20. GONZALEZ-MONZON, Ana Lilia, RUEDA-MEDINA, Israel, PIÑA-ALCANTARA, Henry Christopher, y


MARTINEZ-SANTIAGO, Alejandro Tecnológico de Estudios Superiores de Jilotepec ID 1er Autor: Ana
Lilia, González-Monzón / ORC ID: 0000-0002-0280-0525, CVU CONACYT ID: 151293 ID 1er Coautor:
Israel, Rueda-Medina / ORC ID: 0000-0003-0405-0913, CVU CONACYT ID: 153741 ID 2do Coautor:
Henry Christopher, Piña-Alcántara / ORC ID: 0000-0001-5726-2915, CVU CONACYT ID: 719620 ID
3er Coautor: Alejandro, Martínez-Santigo / CVU CONACYT ID: IT19B186 DOI:
10.35429/JOCT.2020.14.4.28.33 Diciembre, 2020 Vol.4 No.14 28-33
21. Salcedo Parra, Octavio José, & González Godoy, Carlos Andrés (2017). Sistema de
seguridad para locales comerciales mediante Raspberry Pi, cámara y sensor PIR.. Revista
Virtual Universidad Católica del Norte, (51),175-193.[fecha de Consulta 13 de Junio de
2022]. ISSN: 0124-5821. Disponible en: https://www.redalyc.org/articulo.oa?
id=194252398012
22. Blog consulta. [En línea] [Citado el: 15 Junio 2018] Disponible en:
https://comohacer.eu/comparativa-y-analisis-raspberry-pi-vs-competencia/ La voy a [8] Upton,
Eben. Raspberry Pi. Guía de usuario. Edición 2016. ISBN-13: 978-8441538719
23. Datasheet. [En línea] [Citado el: 15 Junio 2018] Disponible en:
https://electronilab.co/wp-content/uploads/2013/12/HC-SR501.pdf
24. Carrió, M., Agell, L., Rodríguez, G., Larramona, P., Pérez, J., & Baños, J. E. (2018).
Percepciones de estudiantes y docentes sobre la implementación del aprendizaje basado
en problemas como método docente. FEM: Revista de la Fundación Educación
Médica, 21(3), 143-152.
25. Salas Blas, E. (2014). Adicciones psicológicas y los nuevos problemas de salud. Cultura:
Revista de la asociación de docentes de la USMP, 28.
26. González-Chamorro, F., Palacios, R., Alcover, J., Campos, J., Borrego, F., & Dámaso, D.
(2012). La infección urinaria y su prevención. Actas urologicas espanolas, 36(1), 48-53.

13
27. Hoyos, Á., Serna, L., Ortiz, G., & Aguirre, J. (2012). Infección urinaria adquirida en la
comunidad en pacientes pediátricos: clínica, factores de riesgo, etiología, resistencia a los
antibióticos y respuesta a la terapia empírica. Infectio, 16(2), 94-103.
28. Comisión Nacional del Agua, 2012. Agenda del Agua 2030. Avances y logros 2012. México DF.
29. Mendoza Romero, A. (2018). “Diseño de sanitario seco con sistema de mezclado para compostaje”.
Tesis de Maestría, Facultad de Ingeniería, UNAM
30. Prieto, A., Díaz-Cao, J. M., Fernández-Antonio, R., Panadero, R., Díaz, P., López, C., ... &
Fernández, G. (2014). Application of real-time PCR to detect Aleutian Mink Disease Virus
on environmental farm sources. Veterinary microbiology, 173(3-4), 355-359.

Annexes

Technical requirements for the use of the bathroom indicator:

Arduino Program

Arduino is an open-source electronics platform whose principles are to have easy-


to-use software and hardware. Basically what this tool allows is the generation of
countless types of microcomputers of a single plate, which can then have a wide
variety of uses according to the need of the person who believes it. That is, a
simple way to carry out interactive projects for anyone.

Figure 1. Arduino Desktop

Balabolka
14
TTS (Text To Speech) programs convert a text into an audio file. This is an
important resource for those who cannot access a document visually, students with
visual impairment or literacy difficulties, so they need this type of device to reach
the content of these. It is a free software, easy to install and use, and can be
downloaded from its official website, Balabolka.

Figure 2. Balabolka Desk

Material requirements for the elaboration of the project:

Arduino Nano

Arduino Nano is a compact, complete and Protoboard-compatible development


board based on the ATmega328P microcontroller. It has 14 digital input/output pins
(of which 6 can be used with PWM), 6 analog inputs, a 16Mhz crystal, conexión
Mini-USB, terminales para conexión ICSP y un botón de reinicio.

15
Figure 1. Arduino Nano.

Characteristics:

1. Microcontroller: ATMega328P.
2. Clock speed: 16 MHz
3. Working voltage: 5V.
4. Input voltage: 7.5 to 12 volts.
5. Pinout: 14 digital pins (6 PWM) and 8 analog pins.
6. 1 serial port per hardware.
7. Memory: 32 KB Flash (2KB for bootloader), 2KB RAM and 1KB EEPROM

16
Figura 2. Arduino Nano Pinout

PIR (Passive Infrared) or Passive Infrared Sensor

PIR sensors, also called pyrolic sensors, are a type of optical sensor widely used
to detect the movement of people, especially in automated lighting. Let's see
below, how these types of sensors work and how they are constituted.

Figure 1. PIR sensor.

Internal constitution:

The most common modules of this sensor are called HC-SR501. They consist of 2
fundamental elements, a lens that makes the incident rays fall on a point and the
PIR sensor as such. The PIR sensor has two light-sensitive elements, which, by

17
measuring the detection delay between each sensor, it is possible to calculate the
distance at which the object is located.

Figure 2. Internal Constitution of the PIR Sensor.

Characteristics:

1. Supply voltage: 5 to 12 VDC


2. Average consumption: 1 mA
3. Distance range: 3 to 7 mts adjustable
4. Detection angle: 110°
5. Output voltage at high: 3.3 VDC
6. Dimensions: 3.2 x 2.4 x 1.8 cms

Modes of Operation:

The HC-SRR501 module contains two potentiometers or controls to determine the


operation of the sensor. One of them determines the sensitivity (detection distance)
and the other the delay between each pulse (detection pauses. They can also be
modified to detect 1 single shot or repetitive shots. The image illustrates the
composition of the module.

18
Figure 3. Composition of the PIR
Sensor

Figure 4. Pir Sensor Floating


Point.

DFPLAYER MINI

The DFPlayer Mini is a low-cost and small audio player that we can connect to a
processor like Arduino to play audio in MP3 format.

19
Arduino does not have powerful power to play a compressed file as an MP3. No
matter how hard you try, or even if you use a more powerful processor, it is not the
function of an automaton to perform these tasks. It is much better to delegate to a
specific subprocessor. There are different options to play MP3 files from Arduino,
such as various shields and more or less expensive boards. Among the different
options available, DFPlayer Mini modules have acquired great popularity for their
low price and great features.

Actually, DFPlayer Mini is a complete audio player, capable of playing MP3, WMA
and WAV file formats.

Figure 1. DFPlayer Mini.

Characteristics:

1. Power supply: 3.2V to 5V


2. Samples soportados (kHz): 8/11.025/12/16/22.05/24/32/44.1/48
3. Output: 24-bit DAC with support for 90dB dynamic range
4. File system: FAT16 and FAT32. Max: 32G (Micro SD card not included)
5. Interface: I/O control pins for pushbuttons or Serial mode
6. Supports up to 100 directories. Each directory supports a maximum of 255
audio files
7. Adjustable volume in 30 levels

20
Fi
gure 2. Internal Schematic of the DFPlayer Mini

Transformer

Transformers are a key element in the development of the electrical industry.


Thanks to them, it was possible to carry out, in a practical and economical way, the
transport of electrical energy over long distances. An electrical transformer is a
static alternating current machine that allows to vary some function of the current
such as voltage or intensity, maintaining the frequency and power, in the case of
an ideal transformer.

Figure 1. Transformer

Characteristics:

1. The input and output energy frequency is the same.


2. All are governed by the laws of electromagnetic induction.

21
3. Primary and secondary coils have no electrical connection (except for
automatic transformers). The transfer of energy is carried out by magnetic
flux.
4. Moving parts are not required to transfer energy, so there is no friction or
losses in the winding as in other electrical devices.

Figure 2. Internal constitution of the


transformer.

Copper plates

It is a plate that this bakelite with copper, in only one of its faces has copper that
allows to make a printed circuit for electronics projects, it is very useful since you
can efficiently prototype a circuit and avoid disconnections that typically happen in
a Protoboard.

Figure 1. Unperforated Copper Plate.

22
Figure 2. Perforated copper plate.

Características:

1. Excellent electrical and thermal conductivity.


2. It is a soft material.
3. Ductile (changes shape by pressure).
4. Malleable (can decompose into thin plates).
5. Its density is 8.96 g/cm3.
6. It offers good mechanical properties, is susceptible to being machined.
7. It is resistant to corrosion (except in the case of substances containing
sulfur).
8. It does not degrade or lose its properties in the recycling process.

Figure 3. Copper Plate with Printed Circuits.

23
Capacitors

A capacitor is equipment that has the ability to accumulate energy through electric
fields (one positive and one negative). These devices are classified within the
passive components since they do not have the quality of amplifying or cutting off
the electrical flow.

They are designed with the following parts:

1. Metal plates: These are the pieces whose function is to store electrical
charges.
2. Dialectical or insulating: It serves to avoid contact between the two plates.
3. Plastic housing: Covers the internal parts of the capacitor.

Figure 1. Electrolytic Capacitor.

Characteristics:

1. Capacitancia 220 μf
2. Rated voltage 50 V
3. Largo1.35 cm
4. Ancho1 cm
5. Alto1 cm
6. Peso1.2 gr

24
Figure 2. Internal Constitution of the Electrolytic
Capacitor.

Figure 3. Specs.

Voltage Regulator (7805)

It is a positive linear voltage regulator with output voltage of 5V DC and maximum


output current 1.5A. It has a three-pin TO-220 package.

It serves to supply constant voltage of 5V from a higher input voltage that can be
minimum 7V and maximum 35V, it is advisable to enter input voltage ≤18V DC.

25
Ideal for use in electronics projects and practices. You can integrate it into test
boards such as Protoboard, PCB boards, phenolics, as well as have the ideal
spare if your voltage regulator has been damaged.

Figure 1. Voltage Regulator (7805).

Characteristics:

1. Series: L78
2. Registration: L7805CV
3. Encapsulado: TO-220
4. Mounting Type: THT – Through the Hole
5. Output voltage: Min 4.8V | Typ 5V | Max. 5.2V
6. Number of departures: 1
7. INPUT input voltage: Min. 7V | Typ ≤18V | Max. 35V
8. Voltage drop Vd: Typ 2V
9. Max Output Current: 1.5A
10. Number of pins: 3 pins
11. Weight: 1 g

26
Figura 2. Constitución Interna Del Regulador
De Voltaje.

Terminals

It is an electrical connector covered by a plastic casing inside which a cable is


imprisoned against a metal part with the help of a small screw. Before inserting the
cable into the hole, the outer insulation of the end can be stripped or bent into a U-
shape and fixed. It is presented in succession of up to ten units joined in strips that
can be separated according to need. The size of the terminal must be chosen
according to the section of the cable, it can be 4, 6, 10, 16 and 25 mm². It also
receives the name of terminal board or splice tab.

Figure 1. Terminal blocks.

27
Characteristic:

 Color of the terminal: Blue, Green and White.


 Construction materials: metal core with a plastic coating to prevent electrical
contact with the user.
 5.08mm block connector.
 2 or 3 connection inputs.
 It is compatible with electrical circuits and Breadboard.

Figure 2. Terminal block symbol.

28

You might also like