UcLinux Datalogger

Technologies:  C++  Unix 

Tags:  Manufacturing  Embedded Systems 

Description

The developed system is for the solar power stations or something like this to measure the temperature, irradiation and other parameters. Any amount of the digital and analog counters can be connected to the system. The system includes the hardware and software parts. The hardware contains a UNC unit, a MSP unit and digital (analog) counters. We used off-the-shelf software to store the data from counters and developed the software for UNC. The latter is to log the data from MSP in the files, to get access to the data via web and to control the MSP.


The counters are connected to MSP and the MSP is connected to the UNC via i2c bus. The MSP saves the data from counters. Since the MSP doesn't have enough recources to do some calculation with data, the UNC is used for these porposes. Inside the project the datalogger application was developed to get data from MSP, to log the data in the files and to set them to the Web Server. Also we developed a web application to get access to the data and to control the MSP (set some commands, set some variables, etc). In addition, the kernel of the ucLinux was expanded to have the user managment, ftp and telnet support.

Features list

Sibers has implemented the following features:

  • The UNC module communicates with MSP to get the data from it via i2c bus in standard 100kHz mode. The high level driver to work for i2c protol and modified the low level driver i2c driver was developed to support so called time stretching
  • The application (Data Logger) which gets/sets the data from/to the MSP (via i2c) and logs them into log files/writes in the MSP was developed. Data Logger load its parameters (station ID, log intervals, etc) from ini config file
  • Boa web server to get this working on the UNC module with uClinux 2.4 was ported
  • The multilingual web application was developed to provide the web interface to configuring/setting of the the system and logged data. It's developed as a generic CGI application with supporting user templates for web pages
  • Users managment(accounting) and security system was added in the uClinux
  • The FTP and Telnet daemons servers were modified in the system
  • Auto power on and off during normal operation (power save and wakeup)


The initial project features list, which was later modified, included:

  • IO-subunit
  • Filesystem / Datalogger Eventlogger
  • Extended Filesystem (Compact Flash)
  • Local character LCD display (with two buttons)
  • Alarm outputs (with internal alarm generation)
  • Webserver on eth
  • Webclient on eth and GSM-GPRS
  • Minimalistic data transfer on GSM-SMS
  • RS485 interface for future peripherals

Screenshots

Contact us now about your project