SerOut

Probleme beim senden

  • 1
  • 2
  • Seite 2 von 2
Test123
 
Avatar
 
Betreff:

Re: SerOut

 · 
Gepostet: 12.12.2011 - 14:45 Uhr  ·  #9
The module needs 9600 baud, no parity, 8 databits and one stopbit.

I changed the baudrate again. This time I used a baudrate like 9200 and my error code changed from these weird numbers to
! c y

This is almost correct. If the "c" and "y" would be capital letters, then it would work.

So I thought of changing the baudrate to other numbers, but I cannot get rid of the error message.

The module still reads small letters instead of capital letters.
rh
Administrator
Avatar
Geschlecht:
Herkunft: Germany
Alter: 25
Homepage: e-lab.de
Beiträge: 5558
Dabei seit: 03 / 2002
Betreff:

Re: SerOut

 · 
Gepostet: 12.12.2011 - 15:28 Uhr  ·  #10
Try to connect your board to a Terminal program and look for your write message.
If all is ok, then try to send your command from the Terminal program to the module.
I think one of them have a baudrate with too high errors.

rolf
Merlin
Administrator
Avatar
Geschlecht:
Alter: 25
Beiträge: 1474
Dabei seit: 03 / 2005
Betreff:

Re: SerOut

 · 
Gepostet: 12.12.2011 - 15:29 Uhr  ·  #11
Are you using 232 or 485 or something else? It looks to me as if you may be letting lines drift. Do you have 0V connected properly and are there weak pull-ups on the data lines (weak pull-aparts for 485) to ensure that data lines are held in the correct idle state?

Merlin
Test123
 
Avatar
 
Betreff:

Re: SerOut

 · 
Gepostet: 16.12.2011 - 16:21 Uhr  ·  #12
Hi,
the communication works now.
Today I worked on it again and I replaced the MAX202 with another one. And now I can receive and send the data.
Thank you guys for helping.
  • 1
  • 2
  • Seite 2 von 2
Gewählte Zitate für Mehrfachzitierung:   0

Registrierte in diesem Topic

Aktuell kein registrierter in diesem Bereich

Die Statistik zeigt, wer in den letzten 5 Minuten online war. Erneuerung alle 90 Sekunden.
MySQL Queries: 15 · Cache Hits: 14   78   92 · Page-Gen-Time: 0.027997s · Speichernutzung: 2 MB · GZIP: ein · Viewport: SMXL-HiDPI