RFM12

  • 1
  • 2
  • Page 2 of 2
ThomasW69
 
Avatar
 
Subject:

Re: RFM12

 · 
Posted: 14.02.2011 - 19:13  ·  #9
An Routinen für diese module bin ich auch interessiert. Ich versuche gerade damit eine Hausautomation auf die Beine zu stellen.
E.Faber
 
Avatar
 
Subject:

Re: RFM12

 · 
Posted: 15.02.2011 - 08:37  ·  #10
Hallo,

ich werde heute Abend die Programme heraussuchen, ich muss diese noch
überprüfen und die funktionierenden dann hier ablegen. Ich möchte nur
gerne, dass die Veränderungen und Verbesserungen hier wieder vorgestellt
werden, dass wir alle was davon haben. Ich habe angefangen ein Protokoll
einzufügen, um Fehlübertragungen zu erkennen (SNAP-Protokoll). Auch habe
ich viele Quellen verwendet (C und Bascom Quelltexte). Es wäre schön, wenn
hier ein gut funktionierende Pascal-Quelle für die RFM12 Module entstehenden
würde. :-) :-) :-)
Jony09
 
Avatar
 
Subject:

Re: RFM12

 · 
Posted: 15.02.2011 - 09:21  ·  #11
Ja vielen Dank,

ich werde gerne an der Verbesserung mitarbeiten und das dann hier auch einstellen.

Johannes

Übrigens eine Hausautomation mit Anbindung an UDP mit ENC habe ich schon als Freeware.
Damit kann Grafisch eine Komplette Regelung erstellt werden die dann auf dem PC als Runtime läuft und per UDP Telegramm die Daten an ein Net/IO Board von Pollin (mit geändertem Mega) sendet und Empfängt. Das Net/IO Board (max. 64 Stück) übernimmt die I/O Ebene.

Gruß Johannes
E.Faber
 
Avatar
 
Subject:

Vorabinformationen

 · 
Posted: 15.02.2011 - 10:05  ·  #12
So dann werde ich schon mal einige Informationen vorab geben.
Ich habe zu meinen Tests folgende Hardware verwendet:

Zuerst habe ich als Sender diese Kombination verwendetL

Sender:
Pollin Atmel Evaluations-Board Version 2.0.1 + ATMEL Addon-Board V1.0

Empfänger:
Pollin Funk-AVR-Evaluations-Board V1.2

Da aber der Sender nur Blödsinn sendete (die Funkmodule werden über Steckbrücken
an das System angeschlossen, was zu sehr vielen Störungen führte), habe ich das
Funkmodul über das Funkmodul-Adapter-433 an das Atmel Evaluations-Board angeschlossen,
was dann zu keinen Problemen mehr führte.

Ich habe im Anhang die Anschlußbelegung beigefügt.
Attachments
Filename: FRM12 Ansteuerung.pdf
Filesize: 189.65 KB
Title: Anschlußbelegung des Pollin-Funk-Eval. Boards
Information: Anschlußbelegung des Pollin-Funk-Eval. Boards
Download counter: 31
uli
 
Avatar
 
Subject:

RFM12

 · 
Posted: 15.02.2011 - 15:53  ·  #13
Hi Elmar,

thanks for sharing! I didn't check the forum for a while so I was pretty surprised to see how many AVRCo users are interested in this.

What connection speeds and range where you able to accomplish with these modules? I'm asking because some people claim to have accomplished 300 m in open space environment and about 30 m in doors.

I already played/ used two different Bluetooth modules (BlueRadio and Rayson BTM222) and the Rayson has a pretty good range (up to 100m in open space) and the price is pretty good as well (around 12 Euros per unit) and they are really easy to use. But these modules from HOPERF are even cheaper and should have an even better range but on the downside one has to do more on the software side...

Thanks

Uli
E.Faber
 
Avatar
 
Subject:

Re: RFM12

 · 
Posted: 16.02.2011 - 08:25  ·  #14
Hi Uli,

I can't say nothing about connection speed and range. I only know,
that they work in our whole apartment - 20 m through 5 walls.
But I hope that we get a better overview here in the next weeks :D

best regards

Elmar
E.Faber
 
Avatar
 
Subject:

Re: RFM12

 · 
Posted: 16.02.2011 - 08:50  ·  #15
Hallo,

so und hier mein Testprogramm. Master sendet eine Zahl, Slave addiert 1 hinzu und antwortet.
Master addiert wiederum 1 hinzu und sendet wieder. Sozusagen ein Ping-Pong Programm.
Läuft allerdings nur im Polling Modus. Mit dem Interrupt-Modus hatte ich ein paar Schwierigkeiten.
Ich suche meinen Code noch raus, wird bestimmt nur eine Kleinigkeit sein.

Grüße

Elmar
Attachments
Filename: _Include.zip
Filesize: 7.09 KB
Title:
Download counter: 30
Filename: 12-RFM12_Master.zip
Filesize: 1.95 KB
Title:
Download counter: 29
Filename: 13-RFM12_Slave.zip
Filesize: 1.93 KB
Title:
Download counter: 30
ThomasW69
 
Avatar
 
Subject:

Re: RFM12

 · 
Posted: 19.01.2012 - 11:45  ·  #16
Gibt es schon eine Variante die mit dem Interrupt-Modus sauber arbeitet?
Ich versuche gerade mit einem Homematic Aktor Modul in meiner Hauatomation zu kommunizieren. Das Protokoll ist bidirektional und zudem noch verschlüsselt. Die Verschlüsselung ist nicht das Problem wohl aber die Kommunikation. Wenn das sauber laufen würde wäre es nicht schlecht. Polling ist zwar sicher machbar, aber belastet doch den µC.
  • 1
  • 2
  • Page 2 of 2
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 10 · Cache Hits: 14   136   150 · Page-Gen-Time: 0.017291s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI