Download Cobra CPI M1500 Specifications

Transcript
Figure 42 - Xbee to microcontroller configuration. [35]
Four connections are required between the microcontroller and XBee module.
The data in pin (DIN) it the TTL serial data to be transmitted (TX) and the DOUT
pin is the TTL receive pin (RX). The RTS pin is the “Request-to-Send” pin and
tells the XBee module that the microcontroller has now processed and packaged
the information and is ready for this data to be transmitted. The CTS pin stands
for “Clear-to-Send” and is used to let the microcontroller know that the XBee is
ready to transmit data. These two wires are optional and used to reduce potential
conflicts of data transmission. [35]
4.7.1 User Interface
At the receiving end of the wireless configuration the Xbee module will be
communicating with the Arduino Uno board which will be connected to a
computer via USB. At this interface, the serial data that has been transmitted
wirelessly will be loaded on to the PC. Initially the baud rate will be set at 9600
bits per second but may be increased as necessary. This rate will then determine
the speed at which the data is received.
Once it has been obtained, the data will need to be presented in a way that is
informative and useful for the user. Since the system will be obtaining data from
several sensors, it would be ideal to present a series of graphs that detail the
different aspects of the system. The current and voltage data may be combined
into a graph of the power, and can also be compared against the temperature
and irradiance data, which will most likely be correlated.
Since Matlab is a widely used software package in both industry and academia, it
will be the program of choice for developing a user interface. A graphical user
interface (GUI) will be designed to showcase the sensor and system data. Figure
43 shows a basic interface that plots two separate graphs simultaneously. As
85