Browser von RS232 bestücken?

Gast #14830
Hallo, zum Kommunikation AVR<->PC nutze ich bisher ein "ödes" 
Terminalprogramm. Gibt es unter Win eine Möglichkeit, vom AVR gesendeten 
HTML-Code via RS232 zum Browser ohne weiteres Protokoll zu schicken? So 
in etwa, wie er ja auch Textdateien mit HTML-Inhalt anzeigen kann. Gruß 
Frank
Gast
Hallo,


also ohne zusätzliches Programm wird das wohl
kaum laufen!
Aber so ein Prgramm wäre sehr simpel in ein paar
Stunden zu erstellen.

Ohne Garantie und dass ich es ausprobiert hätte
fände ich die Möglichkeit über die
aux-Datei in DOS zB. Müsste man probieren aber
ich bin mir zu 99.9% sicher es wird nicht
gehen :(
Gast
hab da was im web gefunden. Ist zwar etwas wage zeigt aber einen 
interessanten lösungsansatz:

copied from http://www.rdrop.com/users/cary/html/robot_links.html
==========================SNIP==========================

From: plackle bart
Subject: Re: Accessing HTTP through a serial port
Date: 31 Aug 1999 00:00:00 GMT
Newsgroups: comp.arch.embedded

Mike Godin wrote:

> I'd like to be able to access an embedded controller with a HTML browser.
> It should be pretty easy to get the embedded controller to speak HTTP, but
> getting it to speak to a network is going to be pretty difficult.  It can
> only talk through a serial port, so I'd like to use my PC as the network
> interface.  Is there an easy way to tell a network that my serial port is a
> remote computer?  Is there another kind of serial-to-network device I can
> use?
>
> Thanks in advance,
> Mike Godin

Probably, the most easy way to interface with the embedded controller .

1. setup an http deamon on your system (e.g. apache for linux)
2.  write / use the program which connects serially with the embedded 
system.
3. place this program under the cgi-bin directory.
4. to send commands to this cgi-program (e.g. 
localhost/cgi-bin/yourprogram
? first param + second + ...
5. the httpd browser pipes this information towards your program
6. your programs serializes this via a specific  protocol
7. your serial program (display towards the stdout) prints the html 
response
8. this responce will be fed back towards your browser

So this all you need to do
Kind regards
Bart Plackle

I hear "netcat" could be useful. ftp://avian.org/src/hacks/nc110.tgz
==========================SNAP==========================

Gruss Cabal
Gast
Da HTML ja ein Dokument orientiertes Form ist, dürfte es wohl für den 
Einsatz mit einem Microcontroller reicht ungeeignet, da aufwendig sein. 
Wenn du an Auswahlmöglichkeiten bei der Zeichendarstellung (Grösse, 
Farbe) oder auch Grafik denkst, schau dich besser im Bereich der 
Terminal-Programme um die mehr als nur eine rudimentäre ANSI, VT52 oder 
VT100 Emulation bieten.

Antwort schreiben

Eine eigene Frage? Dieser Thread ist über 24 Jahre alt. Stell sie in einem eigenen Thread – dort lesen mehr Leute mit, und sie wird öfter und schneller beantwortet.

Neuen Thread starten

Eine Lösung, Ergänzung oder Rückmeldung zu diesem Thread? Dann antworte hier.

Formatierung
  • [c]C-Code[/c]
  • [code]Code in anderen Sprachen, ASCII-Zeichnungen[/code]
  • [math]Formel in LaTeX-Syntax[/math]
  • [[Titel]] – Link zu einem Artikel
  • Verweis auf einen anderen Beitrag: Rechtsklick auf dessen Beitrags-ID (#8078628), „Adresse kopieren“, in den Text einfügen

Mehr zur Formatierung

Längeren Sourcecode als Anhang, nicht in den Text. JPG nur für Fotos und Scans; Zeichnungen und Screenshots als PNG oder GIF. Siehe Bildformate.

Schon registriert? Anmelden

Wird nicht angezeigt. Wir schicken dir einen Link; sobald du damit bestätigst, erscheint dein Beitrag.

Mit dem Abschicken legst du einen kostenlosen Account an und erkennst die Nutzungsbedingungen und die Datenschutzerklärung an.