Abstract

PROLOG is a programming language widely used in the generation of expert and intelligent systems, generally limited to data that is entered directly by a user in the form of software, having little or no interaction with data that is captured directly from a physical environment. This paper presents an implementation of an interface that detects the wavelengths of the visible spectrum, that is, identifies colors, colors that are stored in a knowledge base and then managed by PROLOG. This interface consists of two parts, software and hardware. The hardware is designed by means of the Arduino UNO development board, where a TCS3200 sensor is used. For the development of the software, two tools have been used, on the one hand, the standard programming of the Arduino IDE terminal has been used to manage the inputs and outputs of the Arduino board, and on the other hand, a data management system has been generated, in which PROLOG manages all the data obtained from hardware. This scheme seeks to generate color classifications in a dynamic and intelligent way in the future. The proposed system has the advantage that it is highly economical, easy to perform, uses the logical paradigm of programming, and opens the way to the design of intelligent systems managed by PROLOG from a monitoring of physical variables.

Highlights

  • We have reviewed how wavelength sensors have been used in different applications, and how Arduino has been in charge of managing the information obtained from these sensors, in this project we will not focus on the detection of colors as a theme principal, but we will focus on the fact of being able to generate a knowledge base that can be managed through PROLOG, a knowledge base that is obtained directly from the measurement of physical quantities existing in a real environment through Arduino and different kind of sensors, in this particular case, information obtained through the color sensor

  • For the software part we have used three tools: Arduino IDE, which is responsible for managing the inputs and outputs of the TCS3200 sensor, as well as performs the calculations that define the tested color; PROLOG, which is responsible for managing the knowledge base related to colors, indicates whether the information of a specific color exists; and the tool called Hyperterminal, which allows us to read the information from the serial channel, and from Arduino, it serves as a communication bridge between Arduino and PROLOG

  • ROLOG is a programming language that has mostly been used to manage data entered by software, in this scheme, PROLOG is working with data entered directly by hardware

Read more

Summary

Introduction

In a world where there is a growing hodgepodge between digital and physical environments, the acquisition of data from a real environment, and processed by a virtual environment, has become a topic of great interest, mainly due to the need to generate artificial ambiances that are responsive to the needs of a user. We have reviewed how wavelength sensors have been used in different applications, and how Arduino has been in charge of managing the information obtained from these sensors, in this project we will not focus on the detection of colors as a theme principal, but we will focus on the fact of being able to generate a knowledge base that can be managed through PROLOG, a knowledge base that is obtained directly from the measurement of physical quantities existing in a real environment through Arduino and different kind of sensors , in this particular case, information obtained through the color sensor This first step is aimed at generating an expert system that can intelligently manage and process changing and dynamic data in an intelligent manner

Visible light and wavelength
Arduino
Project development
Software
Advantages
Conclusions
Future work
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call