Project 7-8. Sensor Data Analytics

Share Embed


Descrição do Produto

Sanzhar Askaruly

Nazarbayev University, School of Engineering

Sensor Data Analytics 1. Requirement Specification The aim of the project is to read the sensor data, transfer this to computer, and then plot the histogram of the sensor data in real-time. Equipment used:    

AT89S51 IR sensor USB I/O interface Wires and jumpers

2. System Block Diagram

3. Hardware Block Diagram

Sanzhar Askaruly

4. Software Block Diagram

5. Schematic Circuit

Nazarbayev University, School of Engineering

Sanzhar Askaruly

Nazarbayev University, School of Engineering

6. Brief Discussion and Originality The system uses IR sensor to take the input from. It outputs the data onto computer screen via serial interface connection. MAX232 was used to establish serial between computer and microcontroller. The hardware part of the system exploits minimal set of elements. For software part, there are only three functions. Plus function increments all the values (+) when IR sensor detects the light. Minus function, on contrast, decrements the variable if sensor does not detect light (-). The Init function serves to establish serial communication. The output is the sum of plus and minus function. The PC screen displays sensor data in the PuTTY interface in the real time. The range of practical usage of the proposed system is wide. The real time systems are beneficial to track timely records for industrial and academic use. Moreover, these systems, when developed can be used against climatic changes and inform about upcoming natural disasters in real time. 7. Video and Code of the Working System The link to the video: http://youtu.be/szwFK_yWlpI?list=PLcEEyVUarmFOT72rdd5ZRn2sfCCGlDEEE #include #include sbit button=P0^2; //button bit defined sbit ir=P3^7; //ir sensor bit defined int i; //integers int y; int row; int ch; void wait_a_second() // delay { unsigned int x; for(x=0;x
Lihat lebih banyak...

Comentários

Copyright © 2017 DADOSPDF Inc.