[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4694: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4695: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4696: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
8devices Community :: View topic - RS485 -> RS232 Konverter an Carambola
8devices Community
https://www.8devices.com/community/

RS485 -> RS232 Konverter an Carambola
https://www.8devices.com/community/viewtopic.php?f=10&t=334
Page 1 of 1

Author:  waldi001 [ 14 Jan 2013, 12:55 ]
Post subject:  RS485 -> RS232 Konverter an Carambola

Hallo

Da ich nicht sonderlich gut Englisch spreche bzw schreibe, mache ich das mal hier in Deutsch, ich hoffe es erbarmt sich einer :-).



Ich möchte gernen einen RS485 -> RS232 Konverter an der Seriellen Schnittstelle betreiben, wie muss ich vorgehen das der Konverter an dem Rechner läuft ?.

Ich habe die ttyS0 nach der Anleitung aktiviert http://www.8devices.com/wiki_carambola/ ... xing_ttys0

Sehe ich das richtig, das auf dem Motherboard am EXT Board die Leitungen für die 2. Serielle Schnitstelle anliegen

UART1 RIN GPIO14 16
UART1 DCD GPIO12 14
UART1 DTR GPIO11 12
UART1 DSR GPIO13 10
UART1 RTS GPIO7 8
UART1 CTS GPIO9 6
UART1 TXD GPIO8 4
UART1 RXD GPIO10 2

Kann ich hier einem 9 Poligen Sup D Stecker anschließen ?

Gruß Michael

Author:  DominikS [ 14 Jan 2013, 14:54 ]
Post subject:  Re: RS485 -> RS232 Konverter an Carambola


Author:  maveric00 [ 14 Jan 2013, 15:37 ]
Post subject:  Re: RS485 -> RS232 Konverter an Carambola

Hallo,

oder ohne den 485-zu-232 direkt mit einem an die UART gehen. Der ist dann auch direkt auf die 3.3V vom Carambola ausgelegt und braucht im Prinzip nur noch ggf. einen Abschlusswiderstand (wenn er den Busabschluss darstellt, sonst gar keine zusätzlichen Bauteile). Der Verlinkte ist im PDIP erhältlich und passt damit auch problemlos auf das Entwicklerboard.

Schöne Grüße,
Martin

For the english speaking people: The original poster asked if he can connect a RS485-to-RS232 converter directly with the UART of the Carambola; first answer was no, as RS232 produces up to 15V and a RS232 converter was proposed. I proposed to go directly to RS485 with a corresponding transceiver.

Author:  waldi001 [ 14 Jan 2013, 16:30 ]
Post subject:  Re: RS485 -> RS232 Konverter an Carambola

Danke für die schnelle Antwort, eine frage noch, könnte man an den vorhandenen com Port mit einem Nullmodemkabel einen rs485 Konverter anschließen.

Ich werde auf jedenfall einen RS485 Transeiver bestellen.


gruß Michael

Author:  waldi001 [ 14 Jan 2013, 17:14 ]
Post subject:  Re: RS485 -> RS232 Konverter an Carambola

Ich habe einen rs485 Transeiver in der Bastelkiste gefunden, dir RX und TX Leitung vom Tranceiver zum Carambola ist ja klar wo die angeschlossen wird nur die RE und DE Leitung weis ich nicht wo ich die anschließen soll, da brächte ich noch ne Hilfestellung.

Gruß Michael

Author:  maveric00 [ 15 Jan 2013, 10:11 ]
Post subject:  Re: RS485 -> RS232 Konverter an Carambola

Hallo,

RE und DE sind die "Enable"-Eingänge, wobei RE invertiert ist. Zum Empfangen (Receive) muss RE also auf 0V gesetzt werden, zum Senden (Drive) DE auf 3.3V. Kann man natürlich auch die ganze Zeit machen.

Das dient dazu, den Transceiver vom Bus trennen zu können, wenn entweder der Bus "stammelt", oder aber der einzelne Knoten (im Englischen heisst das dann "Babbling Idiot Protection"). Die Funktionsbeschreibung findet sich übrigens auch auf Seite 11 des oben verlinkten Datenblatts.

Schöne Grüße,
Martin

P.S.: Der gefundene Transceiver ist aber eine 3.3V-Type und keine 5V-Type, oder (der Ralink verträgt nur 3.3V I/Os)?

Author:  waldi001 [ 15 Jan 2013, 11:14 ]
Post subject:  Re: RS485 -> RS232 Konverter an Carambola

Danke Martin für die Info

Den Transeiver wo ich hab geht nicht, den wo du oben Beschrieben hast hab ich bis jetzt nirgends gefunden, aber der hier müsste doch auch gehn MAX 3485 CSA

Das heißt den DE leg ich dauerhaft auf 3.3 Volt und den RE auf Masse.

gruß Michael

Author:  maveric00 [ 15 Jan 2013, 15:33 ]
Post subject:  Re: RS485 -> RS232 Konverter an Carambola

Hallo,

ja, der geht auch - die jeweiligen Tranceiver werden häufig von verschiedenen Firmen nahezu identisch angeboten. Den TI gibt es übrigens z.B. bei Digikey.

Mit konstant RE auf Masse und DE auf High "hört" der Controller allerdings auch das mit, was er selbst sendet. Das ist nicht weiter schlimm, muss nur eventuell in der Software beachtet werden (so eine Art Loopback halt).

Schöne Grüße,
Martin

Author:  waldi001 [ 15 Jan 2013, 15:48 ]
Post subject:  Re: RS485 -> RS232 Konverter an Carambola

Die Software (Solarview) soll die RS485 Daten (SMA Wechselrichter) über einen RS485 -> RS232 Konverter einlesen, der ist normalerweise an der Seriellen Schnittstelle COM1 (ttyS0) angesteckt, ich hoffe das mag die Software, ich kann verschieden Quellen konfigurrieren, USB, ETHERNET oder Serielle Schnittstelle. Jetzt mach ich das über einen RS485 Ethernet Konverter. Der Carambola Loggt meine Wechselrichter mit. Ich will aber nur ein Gerät zum Loggen. Früher hab ich das mit der Fritzbox gemacht, da ich aber jetzt eine Fritzbox Cable habe geht das nicht mehr weil hier Telnet gesperrt ist.

Digikey hab ich mir angeschaut, das rentiert sich nicht dan hier hohe Versandkosten bis 65 € verlangt werden.

gruß Michael

Author:  moona [ 23 Jan 2014, 09:24 ]
Post subject:  Re: RS485 -> RS232 Konverter an Carambola

Ich wollte mal schauen ob es eine neue Firmware für den Carambola gibt, leider nur für carambola 2. Wird es für die alte Carambola auch noch eine fertige Firmware geben ?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/