Ankündigung

Einklappen
Keine Ankündigung bisher.

Arduino Link?

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • Onkelandy
    antwortet
    Arduino Shield

    Hi!
    I'm also interested in implementing an Arduino into Smarthome. Actually I've almost managed it

    I can recommend the Arduino shields like the one from Waterott. Just mount it on the Raspi and you can communicate via serial port very easily.

    There is a plugin online https://github.com/Sicness/SmartHome...ter/arduino.py

    but right now I'm trying to adapt the Roomba plugin..

    I've connected a distance sensor, servo motors, capacitive touch and reed sensors so far.

    Einen Kommentar schreiben:


  • Rasmus7700
    antwortet
    Hehe I will try and make some research and see what it ends up with...

    Einen Kommentar schreiben:


  • 2ndsky
    antwortet
    Give it a try, but from here on, I can't help you, sorry

    Einen Kommentar schreiben:


  • Rasmus7700
    antwortet
    Wouldn't it be possible simply to include that library on the same way like you include controlling the gpio's on the pi?

    Einen Kommentar schreiben:


  • Rasmus7700
    antwortet
    Zitat von 2ndsky Beitrag anzeigen
    It looks like the additional modules can be accessed with a serial connection. But I think it depends on the modul you want to use with the arduino shield.
    Yes, it seems like there's different communication methods, depending on what i want to communicate with...
    Seems like some of the GPIO communication on the PI is made with Python...

    But basicly it would be the General Arduino functions and maybe Serial Library....

    Forgive me for my minimal linux knowledge...
    As i see it, with the librayes from Cooking Hacks - it is possible to read all Arduino snesors ans so on, by different commands from Pi's CLI. Isn't it possible to make some kind of a connection between their commands, and what sh.py knows, and accepts? (I know nothing is impossible )

    Einen Kommentar schreiben:


  • 2ndsky
    antwortet
    It looks like the additional modules can be accessed with a serial connection. But I think it depends on the modul you want to use with the arduino shield.

    Einen Kommentar schreiben:


  • Rasmus7700
    antwortet
    What would it take, to integrate
    Cooking Hacks - Documentation - Raspberry Pi to Arduino shields connection bridge

    In the homeserver.py? I mean, the sensor inputs comes directly in the PI, the question is only to make a link so that hs.py can access them?

    Einen Kommentar schreiben:


  • Rasmus7700
    antwortet
    Zitat von 2ndsky Beitrag anzeigen
    The pet immunity is a good reason, I would love to have KNX motion detectors which are really pet immune

    But especially for that, the 1Wire sensors are great. If you use the multisensor e.g. they have temperature, humidity and lux. The advanced multisensor has additional I/Os.
    Yep, but the pet immunity is then on behavour of all the smart things like LUX and logics

    Einen Kommentar schreiben:


  • 2ndsky
    antwortet
    The pet immunity is a good reason, I would love to have KNX motion detectors which are really pet immune

    But especially for that, the 1Wire sensors are great. If you use the multisensor e.g. they have temperature, humidity and lux. The advanced multisensor has additional I/Os.

    Einen Kommentar schreiben:


  • Rasmus7700
    antwortet
    Cause i use my Alarm Motion sensors for it all - and they are not on the KNX, but only digital ON/OFF - they are also pet immune, so my pets can't turn on the light when using them

    Einen Kommentar schreiben:


  • 2ndsky
    antwortet
    Zitat von Rasmus7700 Beitrag anzeigen
    I was just planning to use sensors for fun, like measure lux in different rooms and make the motion sensors react after that
    why don't you use the built in lux sensors? Almost every motion detector has them to switch the light on only if it is dark. And the most of them can send the lux value also to KNX.

    Einen Kommentar schreiben:


  • Rasmus7700
    antwortet
    I was just planning to use sensors for fun, like measure lux in different rooms and make the motion sensors react after that - so no critical stuff at all Today i'm connecting theese with a Siemens PLC, but PLC's and KNX isn't the best combination but an easy way to expand IO

    Einen Kommentar schreiben:


  • 2ndsky
    antwortet
    AFAIK humidity, temperature and lux is no problem with 1Wire. Wind in my opinion should be implemented directly in the KNX bus for safty reasons. The same is true for switching sensors and relays. There are I/O 1Wire devices from elabNET and AFAIK they're supported by sh.py but if, I would just use them for non critical stuff.

    EDIT: look here for the I/O 1Wire devices: http://shop.wiregate.de/multi-io.html
    elabNET works closely together with Marcus to get their sensors supported by sh.py

    Einen Kommentar schreiben:


  • Rasmus7700
    antwortet
    Okay... That's true, it doesn't make any sense to use another interface, if the 1wire sensors works like a charm and allready is integrated... I was just thinking normal switches ON/OFF, Temperature, Hummidity, LUX, Wind and maybe som Relay outputs?

    Einen Kommentar schreiben:


  • 2ndsky
    antwortet
    First of all, what kind of sensors do you need? There are a lot of good 1Wire sensors already supported by sh.py. The advantage of 1Wire is, that the sensors can be 100m away from the Pi... if you use that Arduino sensors, how do you connect them to the Pi? How many sensors can you use with one Pi? What is the topology (bus or star)? If I were you, I wouldn't invest too much if you could just use 1Wire sensors.

    Einen Kommentar schreiben:

Lädt...
X