RFM12-Funkbrücke

Aus BraLUG-Wiki

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 31: Zeile 31:
 
70: -- -- -- -- -- -- -- 77  
 
70: -- -- -- -- -- -- -- 77  
 
</pre>
 
</pre>
 +
 +
<pre>
 +
> i2cdump -y 0 0x28       
 +
 +
    0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
 +
00: af 00 72 13 22 01 00 00 9d 16 05 09 d9 02 00 00    ?.r?"?..??????..
 +
10: 00 00 00 00 00 af af af af af af af af af af af    .....???????????
 +
...
 +
</pre>
 +
 +
<pre>
 +
...
 +
// Funkmessage...
 +
struct msg_t { // Offset
 +
uint16_t counter; // --> 0
 +
uint16_t vcc; // --> 2
 +
uint32_t brightness; // --> 4
 +
uint16_t sht15_humidity; // --> 8
 +
uint16_t sht15_temperature; // --> 10
 +
uint16_t tmp36; // --> 12
 +
} msg;
 +
...
 +
</pre>
 +
 
==Software==
 
==Software==
  

Version vom 2. Juni 2013, 17:49 Uhr


...kommt demnächst...

Inhaltsverzeichnis

Motivation

Funkbrücke

RFM12-Module

Sender

RFM12 Sender

Sensoren

TSL45315 (Helligkeit)

TSL45316

SHT15 (Temperatur/Luftfeuchtigkeit)

SHT15

TMP36 (Temperatur)

TMP36

Empfänger

RFM12 Empfänger
> i2cdetect -y 0

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- 12 13 -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- 28 -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- 49 -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- 77 
> i2cdump -y 0 0x28        

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: af 00 72 13 22 01 00 00 9d 16 05 09 d9 02 00 00    ?.r?"?..??????..
10: 00 00 00 00 00 af af af af af af af af af af af    .....???????????
...
...
// Funkmessage...
struct msg_t {				// Offset
	uint16_t counter;		// --> 0
	uint16_t vcc;			// --> 2
	uint32_t brightness;		// --> 4
	uint16_t sht15_humidity;	// --> 8
	uint16_t sht15_temperature;	// --> 10
	uint16_t tmp36;				// --> 12
} msg;
...

Software

Firmware

Kontakt

Uwe

'Persönliche Werkzeuge