Find Jobs
Hire Freelancers

Datacollection on raspberry pi with rrdtool

€30-250 EUR

Terminado
Publicado hace más de 10 años

€30-250 EUR

Pagado a la entrega
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 del proyecto: 4976395

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 11 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
I am a senior developper in perl , adn a senior administrator . I can do the job . I can start now .
€222 EUR en 1 día
5,0 (3 comentarios)
2,3
2,3

Sobre este cliente

Bandera de GERMANY
25746 Heide, Germany
5,0
2
Forma de pago verificada
Miembro desde feb 23, 2011

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.