Ankündigung

Einklappen
Keine Ankündigung bisher.

Multi Interface (KNX, UART, I²C, SPI, 1wire ...)

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

  • tuxedo
    antwortet
    Nein, ein fertig dokumentiertes Projekt gibt es noch nicht.

    Wieviele Sensoren möchtest du denn annbinden?

    AFAIK ist Eugen nebenher am schauen wie man am besten einen echten Busmaster anschließt und zuverlässig "mehr Strom" zur Verfügung hat. Wie weit er da bis dato gekommen ist weiß ich nicht.


    Gruß
    Alex

    Einen Kommentar schreiben:


  • mfd
    antwortet
    Gibt es irgendwo ein fertiges Projekt das mehr als einen 1wire-Sensor das Multi Interface oder die UUPS anbindet?

    Ich habe versucht die ca. 20 Seiten der beiden Themen nachzuvollziehen, aber nicht wirklich etwas finden können, außer dass die UUPS wohl eher/mehr geeignet wäre weil deren Mikrocontroller mehr Strom an den Ausgängen liefert...

    Einen Kommentar schreiben:


  • Eugenius
    antwortet
    Zitat von dschwert Beitrag anzeigen
    If I'm right, then the 7mA limit is applicable for parasitic mode where the IO pin also needs to supply the sensors. According to your post you're using a separate supply line, so the 7mA limit will affect somewhat the slew rate for communication, but that should not be a problem, as for a long line you need a slower slew rate anyway.
    But all in all, this is a completely different topic than what the thread is about.

    Regards,
    Dietmar
    PullUp comes from another uC pin, so you can turn it on and off. For short distances and few sensors it is enough.
    But for longer distances and/or a lot of sensors we need 5V intead of 3V3, not parasitic power or "strong pullup" and maybe r-c filter, that depends on you bus topology....

    conclusion: Multi Interface is only suitable for short distances and/or few sensors with right SW.
    Zuletzt geändert von Eugenius; 20.03.2017, 14:40.

    Einen Kommentar schreiben:


  • dschwert
    antwortet
    Zitat von fluppie Beitrag anzeigen
    So not (yet) with Konnekting.
    I'll take note of the SAMD21 its 7 mA limit.
    If I'm right, then the 7mA limit is applicable for parasitic mode where the IO pin also needs to supply the sensors. According to your post you're using a separate supply line, so the 7mA limit will affect somewhat the slew rate for communication, but that should not be a problem, as for a long line you need a slower slew rate anyway.
    But all in all, this is a completely different topic than what the thread is about.

    Regards,
    Dietmar

    Einen Kommentar schreiben:


  • fluppie
    antwortet
    At the moment it is only 5 sensors per µC. I'm using a modified Leonardo with RFM69 RF module. So not (yet) with Konnekting.
    I'll take note of the SAMD21 its 7 mA limit.

    Einen Kommentar schreiben:


  • tuxedo
    antwortet
    fluppie
    About how many sensors we are talking about?

    Einen Kommentar schreiben:


  • Eugenius
    antwortet
    Zitat von fluppie Beitrag anzeigen
    I have DS18B20 sensors in my screed floor to measure the screed temperature (fussbodenheizung). These sensors have a 10m long wire. I use the normal wiring with 3.3V, GND and DATA. I have 3 of them per OneWire instance. Connecting more (with these cable lengths) on the same GPIO gives problems.
    Can you test, if you have the same problems, when you use SDA or SCL pin for OneWire?

    Einen Kommentar schreiben:


  • Eugenius
    antwortet
    Für viele OneWire Sensoren macht die UUPS evtl. mehr Sinn, da 32u4 mehr Strom per Pin liefern kann.

    Einen Kommentar schreiben:


  • dschwert
    antwortet
    Vielen Dank für die Info. Ich würde mir von der finalen Version dann mal eines bestellen zum ausprobieren. Ich bin leider auf parasitären Betrieb festgelegt. Wenn die Busleitung über die Decke geführt wird, ist man ziemlich schnell über den 5m. Mit z.B. der ROT-Extension für Rasberry Pi hatte ich schlechte Erfahrungen gemacht. Da bin ich nicht von einer Seite das Raums auf die andere gekommen. Mit den Schnittstellen von Dallas/Maxim kommt man dagegen schon recht weit. Da reichen mir zwei DS2490 für die ganze Wohnung. Wie weit man mit passivem Pull-up kommt, wird sich dann zeigen.

    Gruß,
    Dietmar

    Einen Kommentar schreiben:


  • Eugenius
    antwortet
    Hi,
    be care, DS18B20 takes about 4mA in temperature convertion mode. SAMD21 pin can only deliver 7mA. So, if you want to use multiple teperature sensors, you should check it one after another...

    You can also connect your 3 Sensors to 3 Pins (D3, D4, SCL/SDA). On HW side you can change 4k7 PullUp to 3k3.

    i'm currently on vacation until april. After that i can make some tests with multiple sensors and long wires. Also i will prepare Multiple DS18B20 firmware

    Einen Kommentar schreiben:


  • fluppie
    antwortet
    I have DS18B20 sensors in my screed floor to measure the screed temperature (fussbodenheizung). These sensors have a 10m long wire. I use the normal wiring with 3.3V, GND and DATA. I have 3 of them per OneWire instance. Connecting more (with these cable lengths) on the same GPIO gives problems.
    I bought these: http://www.benl.ebay.be/itm/20122106...%3AMEBIDX%3AIT

    These is the screedfloor of our newly build part. Normally I'll start up the Fussbodenheizung next weekend. So you will see a raise in temperatures . https://emoncms.org/Edegem/scrtmpgv
    Zuletzt geändert von fluppie; 12.03.2017, 12:02.

    Einen Kommentar schreiben:


  • Eugenius
    antwortet
    Ehrlich, das weiss ich nicht
    innerhalb von einem Raum, also sagen wir mal 5 Mwter kabel, 5 Sensoren, soll alles gut sein. Mehr wird bestimmt auch gehen. Aber ich fürde dann nicht parasitär Betrieb empfehlen.
    Das alles sind nur Hausnummern. Das muss man testen.

    Einen Kommentar schreiben:


  • dschwert
    antwortet
    Wie weit dürfen die 1-Wire-Komponenten denn entfernt sein?
    Ich würde z.B. ein MI am Fenster platzieren wollen wg. Kontakten und den Temperatursensor an der gegenüberliegenden Wand oder auch noch einen aus dem Nachbarraum auslesen. Evtl. könnte man natürlich einen DS2484 dran basteln.


    Gruß,
    Dietmar

    Einen Kommentar schreiben:


  • Eugenius
    antwortet
    Ich habe für MI angepasste Firmwares hochgeladen.

    Einen Kommentar schreiben:


  • Eugenius
    antwortet
    Ich habe für euch ein Angebot, bitte im ersten Post lesen

    Einen Kommentar schreiben:

Lädt...
X