Sie sind nicht angemeldet.

Poweruser
1

Disco_Stu

(140)

2

mew

(134)

3

puLse2D

(111)

4

Nibbler

(80)

5

Killertamagotchi

(66)

6

Okami

(63)

7

xfx9500

(53)

8

Even

(50)

Letzte Erfolge

Sie sind seit sechs Monaten Mitglied.

Kristie546 (13. April 2024, 00:15)

Lieber Besucher, herzlich willkommen bei: Pmod.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Mittwoch, 9. Dezember 2015, 03:48

Itead Board als IR Sender

So hier mal ein kurzer Ausflug in die Welt der Aruinos und deren Einsatz in der Hausautomatisierung.

Ich verwende zum testen gerne das Itead Board, da es recht günstig in der Anschaffung (13$) ist und alles nötige fertig bestück hat. Außerdem ist es insgesamt kleiner als ein ArduinoUno mit Ethernetshield.


Um mit dem IteadBoard durchstarten zu können wundert man sich erstmal das man nicht wie üblich die Pin Nummern auf dem Board findet. Es gibt nur Analoge Eingänge.

hierzu habe ich mal eine Übersicht erstellet


Zum uploaden nutze ich einen USB TTL Adapter (3v3) USBasp hatte ich noch nie glück mit daher nicht getestet.

Da die Ethernetlib als Standard in der Arduino IDE mitgeliefert wird kann man auch gleich loslegen und eines der Examples testen.

Für mein kleines Projekt hab ich erstmal die Weboberfläche erzeugt.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html>
<body>

<img src="http://fs5.directupload.net/images/151209/8hrhavp9.jpg"/>
<div style="width: 50px; height: 50px; background-color: red; border-radius: 25px; position:absolute; top:80px; left:50px;"></div>
<div style="width: 50px; height: 50px; background-color: red; border-radius: 25px; position:absolute; top:80px; left:200px;"></div>

<div style="width: 50px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:167px; left:47px;"></div>
<div style="width: 50px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:167px; left:99px;"></div>
<div style="width: 50px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:167px; left:151px;"></div>
<div style="width: 50px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:167px; left:203px;"></div>

<div style="width: 57px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:209px; left:50px;"></div>
<div style="width: 57px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:209px; left:120px;"></div>
<div style="width: 57px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:209px; left:190px;"></div>

<div style="width: 50px; height: 50px; background-color: red; border-radius: 25px; position:absolute; top:265px; left:45px;"></div>
<div style="width: 50px; height: 50px; background-color: red; border-radius: 25px; position:absolute; top:265px; left:123px;"></div>
<div style="width: 50px; height: 50px; background-color: red; border-radius: 25px; position:absolute; top:265px; left:200px;"></div>

<div style="width: 50px; height: 50px; background-color: red; border-radius: 25px; position:absolute; top:323px; left:45px;"></div>
<div style="width: 50px; height: 50px; background-color: red; border-radius: 25px; position:absolute; top:323px; left:123px;"></div>
<div style="width: 50px; height: 50px; background-color: red; border-radius: 25px; position:absolute; top:323px; left:200px;"></div>

<div style="width: 50px; height: 50px; background-color: red; border-radius: 25px; position:absolute; top:380px; left:45px;"></div>
<div style="width: 50px; height: 50px; background-color: red; border-radius: 25px; position:absolute; top:380px; left:123px;"></div>
<div style="width: 50px; height: 50px; background-color: red; border-radius: 25px; position:absolute; top:380px; left:200px;"></div>

<div style="width: 50px; height: 50px; background-color: red; border-radius: 25px; position:absolute; top:437px; left:123px;"></div>


<div style="width: 55px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:501px; left:50px;"></div>
<div style="width: 55px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:501px; left:121px;"></div>
<div style="width: 55px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:501px; left:192px;"></div>

<div style="width: 50px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:543px; left:47px;"></div>
<div style="width: 50px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:543px; left:99px;"></div>
<div style="width: 50px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:543px; left:151px;"></div>
<div style="width: 50px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:543px; left:203px;"></div>

<div style="width: 50px; height: 50px; background-color: red; border-radius: 5px; position:absolute; top:590px; left:50px;"></div>
<div style="width: 50px; height: 50px; background-color: red; border-radius: 5px; position:absolute; top:590px; left:197px;"></div>

<div style="width: 30px; height: 30px; background-color: red; border-radius: 15px; position:absolute; top:615px; left:133px;"></div>


<div style="width: 30px; height: 30px; background-color: red; border-radius: 15px; position:absolute; top:675px; left:76px;"></div>
<div style="width: 60px; height: 60px; background-color: red; border-radius: 30px; position:absolute; top:657px; left:118px;"></div>
<div style="width: 30px; height: 30px; background-color: red; border-radius: 15px; position:absolute; top:675px; left:190px;"></div>

<div style="width: 30px; height: 30px; background-color: red; border-radius: 15px; position:absolute; top:725px; left:133px;"></div>


<div style="width: 50px; height: 50px; background-color: red; border-radius: 5px; position:absolute; top:730px; left:50px;"></div>
<div style="width: 50px; height: 50px; background-color: red; border-radius: 5px; position:absolute; top:730px; left:197px;"></div>

<div style="width: 50px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:805px; left:47px;"></div>
<div style="width: 50px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:805px; left:99px;"></div>
<div style="width: 50px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:805px; left:151px;"></div>
<div style="width: 50px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:805px; left:203px;"></div>

<div style="width: 55px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:853px; left:50px;"></div>
<div style="width: 55px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:853px; left:121px;"></div>
<div style="width: 55px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:853px; left:192px;"></div>

<div style="width: 55px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:893px; left:50px;"></div>
<div style="width: 55px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:893px; left:121px;"></div>
<div style="width: 55px; height: 25px; background-color: red; border-radius: 25px; position:absolute; top:893px; left:192px;"></div>

</body>
</html>


Das rot wird noch entfernt und dann kann man via onclick die Eingabe Abfragen.

Leider habe ich keine IR Led mehr im Bastelkasten und somit warte ich noch auf die Amazon Bestellung :(

Als Lib(Arduino-IRremote) werde ich die von z3t0 nehmen.
Das einlesen der Codes funktioniert ganz wunderbar.
Und wenn man das Itead Board benutzt kann man auch gleich die IR Codes auf SD speichern
Code folgt morgen, dafür müsste ich noch einiges kommentieren.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »masteroid« (9. Dezember 2015, 03:58)


2

Mittwoch, 9. Dezember 2015, 13:17

Kenne mich mit dem Zeugs kaum aus.
IR-Sender ist mir schon klar, aber zu welchen Einsatz es
bei dir kommt im Haus musst du noch schreiben.
Zumindest bin ich mal Neugierig geworden.

3

Mittwoch, 9. Dezember 2015, 14:30

Aktuell habe ich das Problem, dass ich meinen Receiver Edision Optimuss 2 ins Netzwerk streame.
Leider hängt sich dieser ab und an mal auf,WebIF hängt dann auch immer.

Dann hilft nur via FB neustart.

Und wenn ich schon bei bin werde ich auch gleich noch eine Automatisierung einbauen das alle Geräte der Reihe nach eingeschaltet werden, wie ich es von meiner Harmony gewohnt bin.

Im Endeffekt nur eine Spielerei.
Nachtrag:
Nach den ersten Spielereien mit dem IR Empfänger und IR LED kann ich aktuell die Codes der verschiedenen Hersteller auslesen. Leider hab ich es noch nicht geschafft ein Signal zusenden. Werde morgen erstmal einen passenden Transistor suchen.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »masteroid« (10. Dezember 2015, 23:13)


4

Freitag, 11. Dezember 2015, 09:16

Sehr schönes Thema, damit wollte ich mich auch schon länger mal beschäftigt haben.

Beschränkst du den Einsatz dann insgesamt auf den Multimedia-Bereich, oder wird noch mehr zu Hause eingebunden?

5

Samstag, 12. Dezember 2015, 01:21

Auf Basis des Itead Boards sind bei mir
Türöffner mit Webcam Einbindung,
Garagentor mit Zustandsüberwachung,
Zimmerbeleuchtung mit 433Mhz Sender.

Verschiedene Netzwerk Temperatursensoren auf ArduinoBasis mit verschiedenen Ethernet / Wifi Schields.

Das schöne an den Arduinos ist, jeder kann mit ein klein wenig addaptivem Denken sofort seine eigenen Projekte realisieren. Für Webgeschichten benötigt man dann schon Grundkenntnisse in HTML.

Leider macht mir gerade diese IR Realisierung zu schaffen.
Hab es noch nicht geschafft ein brauchbares Signal zu senden.

Persönliche Box

Lexikonmoderator

MarcoEagleEye

Administratoren

Disco_Stu

James

Bammel

Super Moderatoren

Lemi