Ergebnis 1 bis 11 von 11

Thema: Thermometer via RS232/USB?

  1. #1
    IPPF-Fan
    Registriert seit
    24.02.2006
    Beiträge
    239

    Thermometer via RS232/USB?

    Thermometers (or any other home automations) via RS232/USB?

    Is possible connect Thermometer (like Dallas or other) via RS232/USB and manage by fritz box?

    Like this implementation in ASUS WL 500 and ipkg:

    1) schematic:
    kratochvilovi.net/teplomer/Teplomer18B20.jpg

    2) vizualization from Asus WL 500 soho router (libgd, php-gd, sqlite, insmod pl2303, ipkg install digitemp):

    kratochvilovi.net/teplomer/


    ... please link me, if any german threads for this solution exist here, thx
    VoIP- und DSL-Hardware:
    FRITZ!Box Fon WLAN 7170 Version 29.04.80
    FRITZ!Box Fon WLAN 7270 Firmware version 54.04.81

  2. #2
    IPPF-Fünftausend-VIP
    Registriert seit
    03.08.2007
    Ort
    BI
    Beiträge
    7.448
    THere's no easy going solution for freetz right now.

    Things like ipkg won't work at this time, cause dynamically loaded biaries are not supported by the firmwware.

    greetz
    Boxen: 7240, 7170, W900V, W701V jeweils mit mehr oder minder aktuellem Freetz-Trunk und irgendwelchen Modifizierungen.

    Aus aktuellem Anlaß: Support gehört ins Forum, IRC oder Trac-System, nicht in mein Postfach oder meine Messenger-Accounts.


    ICQ und andere Kontaktinformationen ab nun nur noch per PN.

  3. #3
    IPPF-Aufsteiger Avatar von Black Senator
    Registriert seit
    13.07.2007
    Ort
    Region Hannover
    Beiträge
    43

    RS232 - use USB-FERNANSCHLUSS

    Zitat Zitat von vpe Beitrag anzeigen
    Thermometers (or any other home automations) via RS232/USB?
    Hi,

    first of all: search for "RS232", "serial", "seriell", "com-port" ...

    Secondly: If you´ve a Fritz!Box with USB-Port - the simple way is to use a proper USB-to-serial-adapter. My recommandation is allways an adapter with Prolific-chipset. Search for "prolific".

    Thirdly: Use the AVM USB-Fernanschluss. Load adapter driver on your lokal PC and thats it.

    Cheap & simple!
    Router: Fritz!Box FON WLAN 7390 (84.05.22)
    Repeater: Fritz!Box FON WLAN 7170 (29.04.87) [inaktiv]
    Carrier: T-Com Call&Surf Comfort 16000 ISDN
    Telefonie: Sinus C34, C340, C345
    FAX (out/in): Fritz!fax4Box/Fritz!Box intern
    USB-Fernanschluss: RS232-USB-Adapter (Datenlogger Solaranlage)

  4. #4
    IPPF-Einsteiger
    Registriert seit
    17.10.2006
    Beiträge
    24
    Hi,...
    i have a running solution with digitemp 3.6.0.
    - FBF 7170
    - Keyspan USB2Serial
    - digitem_ds9097
    - Dallas 18B20 Sensor
    - rrdtool

    This solution is running very sable at my home and monitores the temperature and give me access over the internet.

    BR Jörg

  5. #5
    IPPF-Einsteiger
    Registriert seit
    17.10.2006
    Beiträge
    24
    me again,

    after i finisched my tests i will add to the trunk of the freetz project.

  6. #6
    IPPF-Fan
    Registriert seit
    31.07.2006
    Beiträge
    123
    Hello,

    i have pluged a ds1621 i2c temperature sensor on my firtzbox. I used a Atmega 16 as a uart<->i2c bridge. I have implemented a protocol with only ascii chars. If you want I can sent you the atmega code. But the dokumentation is in german.

    Greetings

    Snowyrain

  7. #7
    IPPF-Zweitausend-VIP
    Registriert seit
    15.08.2005
    Beiträge
    2.035
    @all:

    Could you please provide any further documentation (regardless if in German or English) and code, if available?
    Since I am very much interested in this topic myself, I will gladly put everything together in our Freetz-Wiki. Thank you very much!
    Those who would like to try this alternatively on an NSLU2, may have a look here.

    Könntet Ihr bitte Dokumentationen (egal ob in Deutsch oder Englisch) und Code zur Verfügung stellen?
    Da ich selbst stark am Thema interessiert bin, würde ich das auch gerne ins Freetz-Wiki packen. Vielen Dank!
    Wer das Ganze alternativ auf einer NSLU2 betreiben will, kann mal hier reinschauen.

    further interesting links / weitere interessante Links:
    Geändert von ao (21.11.2008 um 09:52 Uhr)
    .
    Gruß, ΑΩ____Freetz-Wiki___xobztirf___wehavemorefun___TAE/RJ45___Tel./Kabelmodem___Anschlusspläne

    Apple MacBook C2D 1.83 GHz, 2 GB RAM, 320 GB HDD (OS X 10.6.8 / Ubuntu 10.10 / Windows XP Home SP3)
    AVM Fritzbox (7170
    _29.04.80-freetz-devel-6143) / Thomson THG540 Kabelmodem / KD Paket Comfort (DL/UL: 32/2 Mbit/s)
    AVM Fritzbox (7050_14.04.33-freetz-devel-3633) / Linksys NSLU2 (Debian armel 5.0.3) / 3x Maxtor OneTouch (1.1 TB)
    Samsung LE40B650T2PXZG LCD TV (FW T-CHLCIPDEUC-2006.0 + SamyGO) /
    2x Siemens Gigaset M740AV DVB-T (VDR-NG)

  8. #8
    IPPF-Fan
    Registriert seit
    31.07.2006
    Beiträge
    123
    Hallo,

    anbei der Code. Es läuft aber die Dokumentation ist grausam. Da zur Zeit auch nur für mich gedacht, also nicht meckern. Dieses Projekt ist bei mir etwas ins stocken geraten, da ich erst meinen 3870 mit einem hohen WAF-Faktor ins Inet bringen muss. (Der soll später die Temp anzeigen und Funk-Steckdosen schalten).

    Der Atmega-Code kann Funksteckdosen schalten, einen DS1621 Temp-Sensor auslesen und mit I2C Bausteinen kommunizieren.

    Gruß

    Snowyrain
    Angehängte Dateien Angehängte Dateien

  9. #9
    IPPF-Fan Avatar von knigge
    Registriert seit
    29.01.2006
    Beiträge
    103
    Zitat Zitat von jdw1970 Beitrag anzeigen
    Hi,...
    i have a running solution with digitemp 3.6.0.
    - FBF 7170
    - Keyspan USB2Serial
    - digitem_ds9097
    - Dallas 18B20 Sensor
    - rrdtool

    This solution is running very sable at my home and monitores the temperature and give me access over the internet.

    BR Jörg
    @ BR Jörg
    Can you tell us a little bit more about your solution?
    Do you use normaly AVM firmware on your FBF?
    Where is the RRD tool running
    a) on AVM FBF
    b) on an PC, which is connectet via LAN to the USB Bridge (Keyspan USB2Serial)?
    Where is running the web browser ("access over the internet") that you can monitor the temperature?
    mit freundlichen Grüßen
    Knigge

    Loc.1: AVM FBF WLAN 7170 (FW:29.04.70), T-Home Call & Surf Start (ISDN), VoIP: 1&1, InterVoIP und GMX, WLAN: WRT 54G-D2
    Loc.2: AVM FBF WLAN 7170 (FW:29.04.70), 1&1 Doppel-FLAT 6.000, VoIP: 1&1 und InterVoIP, WLAN: WRT 54G-D2


  10. #10
    IPPF-Einsteiger
    Registriert seit
    17.10.2006
    Beiträge
    24
    Hi,

    all is running on the FBF 7170 - Firmware-Version 29.04.59freetz-devel-2740M.
    My target is to let the FBF control my heating. To have special programms and let the heating be controled over the internet. But i want this without having a PC running in the background. The Router is active 24 hours, so he should do the work.

    Ok, what i did is:
    1) generate kernel modules for the keyspan adapters.
    2) compile digitemp for FBF
    3) use this hardware: http://lena.franken.de/hardware/temperaturmessung.html
    4) generate a new Freetz firmware with included Keyspan driver and rrdtool
    5) write some cgi-scripts and start a httpd to see the results

    for now i thing the package for digitemp is ready to deliver. Additionaly i will write some scripts to get webaccess.

    BR Jörg

  11. #11
    IPPF-Zweitausend-VIP
    Registriert seit
    15.08.2005
    Beiträge
    2.035
    Just a short note for the sake of completeness:

    digitemp is officially available in Freetz trunk since changeset 2777.
    (with a minor bugfix in changeset 2778, adding a missing external hook)

    There is further discussion on digitemp in this thread (in German).
    An entry in Freetz Wiki/packages/digitemp is also available.
    .
    Gruß, ΑΩ____Freetz-Wiki___xobztirf___wehavemorefun___TAE/RJ45___Tel./Kabelmodem___Anschlusspläne

    Apple MacBook C2D 1.83 GHz, 2 GB RAM, 320 GB HDD (OS X 10.6.8 / Ubuntu 10.10 / Windows XP Home SP3)
    AVM Fritzbox (7170
    _29.04.80-freetz-devel-6143) / Thomson THG540 Kabelmodem / KD Paket Comfort (DL/UL: 32/2 Mbit/s)
    AVM Fritzbox (7050_14.04.33-freetz-devel-3633) / Linksys NSLU2 (Debian armel 5.0.3) / 3x Maxtor OneTouch (1.1 TB)
    Samsung LE40B650T2PXZG LCD TV (FW T-CHLCIPDEUC-2006.0 + SamyGO) /
    2x Siemens Gigaset M740AV DVB-T (VDR-NG)

Ähnliche Themen

  1. RS232-USB-Adapter an Fritzbox
    Von ao im Forum FRITZ!Box Fon: Modifikationen
    Antworten: 61
    Letzter Beitrag: 06.12.2012, 22:31
  2. USB-Thermometer an FB 7270 ?
    Von d1dd1 im Forum Freetz
    Antworten: 3
    Letzter Beitrag: 01.09.2010, 23:46
  3. 15666: RS232 und so
    Von chrisdog im Forum telegent
    Antworten: 0
    Letzter Beitrag: 09.04.2008, 02:02
  4. Generally create USB->RS232 driver
    Von hrust_ray im Forum FRITZ!Box Fon: Modifikationen
    Antworten: 32
    Letzter Beitrag: 26.01.2008, 19:21
  5. USB-Thermometer anschliessen?
    Von voip-nutzer im Forum FRITZ!Box Fon: Modifikationen
    Antworten: 2
    Letzter Beitrag: 22.04.2006, 15:02

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •