SerOut

Probleme beim senden

  • 1
  • 2
  • Page 2 of 2
Test123
 
Avatar
 
Subject:

Re: SerOut

 · 
Posted: 12.12.2011 - 14:45  ·  #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
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: SerOut

 · 
Posted: 12.12.2011 - 15:28  ·  #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
Gender:
Age: 24
Posts: 1374
Registered: 03 / 2005
Subject:

Re: SerOut

 · 
Posted: 12.12.2011 - 15:29  ·  #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
 
Subject:

Re: SerOut

 · 
Posted: 16.12.2011 - 16:21  ·  #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
  • Page 2 of 2
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 10 · Cache Hits: 14   79   93 · Page-Gen-Time: 0.015266s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI