NOTE: The program is not localized – all screenshots presented in Russian. The article presents only the translation of the original instruction text that allows you to understand the basic PRINCIPLE work and specifications. The program interface can be easily transferred in accordance with your requirements.
PRINCIPLE AND PARAMETERS
The device records in non-volatile memory time, date and ID switching connected sensors. Motion sensor records each 10 positive. If the memory overflows, the new data is written to the old place since 0×00 address. In case of power failure 12V charge, date, time and address of the controller counter is reset to 0×00, writing new data to memory address 0×00 is made. Setting the system time and reading of information is performed using the ObjectControllerApp via USB.
Power supply unit …………………………….12V;
Voltage Microcontroller ………………….. 3.3;
Nonvolatile memory ………………………… 16,384 records;
Communication with PC …………………..USB;
CONTROLLER BOARD CONNECTING
The board is connected to the sensors and uninterruptible power supply circuit according to Figure 1.
Appointment of members:
LED_RED – indication of employment bus USB;
LED_GREEN – Sensors indication ;
BUTTON – not used;
PROG – programming the microcontroller;
The program requires the installation on your PC Microsoft.NETFrameWork3.5. ObjectController.msi installation package contains a link to install it from the Internet. If the PC is connected to the Internet, then installation will start Microsoft.NETFrameWork3.5, if not – you need to install it manually.
General view of the program is shown in Figure 2. when the device. Connect and disconnect the USB cable is recommended when the PC.
When connecting the USB cable to the device PC Windows starts searching and installing drivers HID USB device. After successful installation, the connection status changes to “Connected”.
To check the current status of sensors click “Read” the relevant section. Done for convenience when checking connecting sensors and are operating properly. Just when any of the sensors blinking green LED on the board.
“Sync” – sets the time and date of a calendar apparatus such as on a PC. Current date and time are displayed by pressing the “Read”. By default, 00.00.2000 00:00.
“Erase” – clears the volatile memory and resets the address counter to 0×00. “Read …” read data from memory to a text file and display them on a graph. Progress reading is displayed on the status bar at the bottom of the form of the program (Figure 6). Reading takes a few seconds. Drop-down list allows you to display the graph user interest date.
Text file can be opened by notepad. ID sensors are given in Table 1 and Table Help.
The X axis represents daily schedule time, Y – ID sensors. Schedule can be approximated by the “mouse” (Fig. 7, 8). Thus, gradually approaching and analyzing the X-axis, it is possible to know the exact response time of the sensor.
“Open …” – open a text file for graphical analysis;
“Close” – close the current file;
“Export …” – save as graphics image;
“Print …” – printing graphics.