<- Atrás

Revista ELECTRO

Vol. 41 – Año 2019

Artículo

TÍTULO

Servidor Chat en Tarjeta NodeMCU

AUTORES

Erick Quezada Mosqueda, Fernando Rojas Ramos, Bárbara Emma Sánchez Rinza

RESUMEN

En el siguiente trabajo se implementará un servidor de chat en una tarjeta NodeMCU, de esta manera dos usuarios conectados a la misma red podrán intercambiar mensajes conociendo la dirección IP y el puerto asignados al servidor. Primero se presentará una breve introducción sobre los conceptos de servidor chat e internet de las cosas, s iendo este último un concepto que ha estado ganando popularidad en los últimos años y que es parte importante de la llamada cuarta revolución industrial o Industria 4.0. Además, se describirá la tarjeta de desarrollo que se está utilizando en este trabajo, la tarjeta NodeMCU. Esta tarjeta es de fácil adquisición, bajo costo y cuenta con un módulo WiFi (ESP8266) lo que la hace una herramienta muy útil para proyectos de internet de las cosas. Después se presentará el desarrollo del proyecto iniciando con la instalación de los controladores necesarios para conectar la tarjeta nodeMCU a una computadora, después se mostrará la IDE a utilizará y se presentará un diagrama de flujo describiendo el funcionamiento del sistema. Para finalizar se presentarán los resulta dos obtenidos, así como las conclusiones que se obtuvieron de la realización del proyecto.

Palabras Clave: NodeMCU, WiFi (ESP8266), Java, COBOL, Python.

ABSTRACT

In the following work a chat server will be implemented in a NodeMCU card, in this way two users connected to the same network will be able to exchange messages knowing the IP address and the port assigned to the server. First a brief introduction will be p resented on the concepts of chat server and internet of things, the latter being a concept that has been gaining popularity in recent years and is an important part of the so-called fourth industrial revolution or Industry 4.0. In addition, the development card that is being used in this work, the NodeMCU card, will be described. This card is easy to acquire, low cost and has a WiFi module (ESP8266) which makes it a very useful tool for internet projects of things. Then the project development will be prese nted, starting with the installation of the necessary drivers to connect the nodeMCU card to a computer, then the IDE to be used will be shown and a flow diagram will be presented describing the functioning of the system. Finally, the results obtained will be presented, as well as the conclusions that were obtained from the realization of the project.

Keywords: NodeMCU, WiFi (ESP8266), Java, COBOL, Python.

REFERENCIAS

[1] Harold, E. (2013). Java Network Programming. 4th Edition. O'Reilly Media, Inc.
[2] Usuario: Japh (2018). Create a Local Chat Server using NodeMCU devkit v1.0 board via Telnet. Obtenido de https://steemit.com/utopian-io/@japh/create-a-local-chat-server-using-nodemcu-devkit-v1-0-board-via-telnet
[3] Página web de PuTTY. Obtenido d e https://www.putty.org/
[4] Página web de Arduino. Obtenido de https://www.arduino.cc/
[5] Java Documentation. https://docs.oracle.com/javase/tutorial/networking/sockets/
[6] Brookshier, D..”JavaBeans Developer's reference.” New Riders Publishing, 2017
[7] Campione, M.; Walrath, K. “The Java Tutorial Continued: the Rest of the JDK ” Addison-Wesley, 2008
[8] Cornell, G.; Horstmann, Cay S. “ Core Java ” (2ª ed.). Prentice Hall, 2012
[9] Flanagan, D. “JAVA in a Nutshell ” (2ª ed.).: O'Reilly&Associates, Inc, 2013
[10] Geary, David M. “Graphic JAVA. Mastering the AWT ” (2ª ed.). Prentice Hall. 2015
[11] Jenkins, Michael S. “ Abstract Data Types in Java “(1ª ed.). McGraw-Hill. 2011
[12] Horstmann, Cay S. ; Cornell, G “Core Java Volume II-Adva nced Features.” Prentice Hall: 2016
[13] Orfali, R.; Harkey, D.; Edwards, J. "Instant CORBA". John Wiley & Sons, inc. 2015
[14] Orfali, R.; Harkey, D. Client/Server Programming with JAVA and CORBA. John Wiley & Sons, inc, 2017.
[15] Sridharan, P. “ Advanced Java Networking.”: Prentice Hall 2014
[16] G. Coulouris, J. Dollimore, T. Kindberg. “Sistemas Distribuidos – Conceptos y Diseño” (3ed.) Addison Wesley, 2011

CITAR COMO:

Erick Quezada Mosqueda, Fernando Rojas Ramos, Bárbara Emma Sánchez Rinza, "Servidor Chat en Tarjeta NodeMCU", Revista ELECTRO, Vol. 41, 2019, pp. 244-247.

VERSIÓN PDF

(Abrir archivo PDF en una nueva pestaña)