Find Jobs
Hire Freelancers

Datacollection on raspberry pi with rrdtool

€30-250 EUR

已完成
已发布超过 10 年前

€30-250 EUR

货到付款
The job is to write an TCP/IP server on a raspberry pi to manage datacommunication between an HomeControl System and rrdtool. The data will be provided by the controlsystem in a specific format (described later) and has to be feed to rrdtool ([login to view URL]). The data could be up to 4096 digital values and 1024 analog values (16bit). So there should be a config file to describe the values (how many values, TCP-Port for connection, name of the values, min/max for analog, and update interval) and depending of update interval there should be created graphs by rrdtool. It should run on a raspberry pi (B) with a 4GB SD-Card. Describtion of HomeControl Protocol: TCP-Port between 47000 and 47999 Digital data is encoded in a 2-byte (16-bit) format, as follows: 1 0 C # # # # # 0 # # # # # # # # Where bit 15 (the most significant bit) is set to 1 and bit 14 is set to 0, denoting the start of new digital data. Bit 13 is set to the complement of the signal state. That is, if the signal is high, C equals 0; if the signal is low, C equals 1. Bit 7 (the high-order bit of byte 2) is set to 0. The 12-bit index of the signal (identified by # signs) is spread out over bytes 1 and 2, with leading zeros used as fills. For example, consider a digital signal at index 14 (binary 0000 1110) that goes low. Following the format just described, the data would be sent as: 1 0 1 0 0 0 0 0 0 0 0 0 0 1 1 1 0 Analog data is encoded in a 4-byte (32-bit) format, as follows: 1 1 a a 0 # # # 0 # # # # # # # # 0 a a a a a a a 0 a a a a a a a a Where bit 31 (the most significant bit) and bit 30 are both set to 1, denoting the start of new analog data. Bit 27 is set to 0, as are bits 23, 15, and 7 (the high-order bits of each byte). The 16-bit analog value of the signal (identified by red "a" letters) is spread out over bytes 1, 3 and 4, with leading zeros used as fills. The 10-bit index of the signal (identified by # signs) is spread out over bytes 1 and 2, with leading zeros used as fills. For example, consider an analog signal at index 9 (binary 0000 1001) with a value of 233 (binary 1110 1001). Following the format just described, the data would be sent as: 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 1 1 0 1 0 0 1
项目 ID: 4976395

关于此项目

1条提案
远程项目
活跃11 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
I am a senior developper in perl , adn a senior administrator . I can do the job . I can start now .
€222 EUR 在1天之内
5.0 (3条评论)
2.3
2.3

关于客户

GERMANY的国旗
25746 Heide, Germany
5.0
2
付款方式已验证
会员自2月 23, 2011起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。