[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
www.8devices.com
View unanswered posts | View active topics It is currently 16 Apr 2024, 11:26



Reply to topic  [ 10 posts ] 
 RS485 -> RS232 Konverter an Carambola 
Author Message

Joined: 28 Dec 2012, 20:32
Posts: 13
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


14 Jan 2013, 12:55
Profile

Joined: 25 Oct 2012, 06:24
Posts: 26


14 Jan 2013, 14:54
Profile

Joined: 20 Dec 2012, 08:04
Posts: 7
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.


14 Jan 2013, 15:37
Profile

Joined: 28 Dec 2012, 20:32
Posts: 13
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


14 Jan 2013, 16:30
Profile

Joined: 28 Dec 2012, 20:32
Posts: 13
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


14 Jan 2013, 17:14
Profile

Joined: 20 Dec 2012, 08:04
Posts: 7
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)?


15 Jan 2013, 10:11
Profile

Joined: 28 Dec 2012, 20:32
Posts: 13
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


15 Jan 2013, 11:14
Profile

Joined: 20 Dec 2012, 08:04
Posts: 7
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


15 Jan 2013, 15:33
Profile

Joined: 28 Dec 2012, 20:32
Posts: 13
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


15 Jan 2013, 15:48
Profile

Joined: 23 Jan 2014, 09:18
Posts: 1
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 ?


23 Jan 2014, 09:24
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.