Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

50$ Serial characters arrive gibbrish #18

Open
GoogleCodeExporter opened this issue Dec 1, 2015 · 4 comments
Open

50$ Serial characters arrive gibbrish #18

GoogleCodeExporter opened this issue Dec 1, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. $serial->confBaudRate(600); - lowest baudrate set to check
2. $serial->sendMessage("ABCDEFGHI");
3.

What is the expected output? What do you see instead?
I see on my terminal:
ABÃDÅÆGH 

What version of the product are you using? On what operating system?
Win7 64, apache2.4, php5.2

Please provide any additional information below.

I have tried different COM ports and different baudrates - all resulting in 
random character mismatch,
although there are always about 50% of correct characters, in the correct order.
So that is not total garbage i am receiving, however what could be the cause of 
the mismatch characters ?!
Thanks !

Original issue reported on code.google.com by [email protected] on 21 Sep 2013 at 9:43

Attachments:

@GoogleCodeExporter
Copy link
Author

I meant 50% of course...

Original comment by [email protected] on 21 Sep 2013 at 9:45

@GoogleCodeExporter
Copy link
Author

oh and the really strange thing, is that when i use the same port with a local 
terminal - it works perfectly....

Original comment by [email protected] on 21 Sep 2013 at 9:51

@GoogleCodeExporter
Copy link
Author

More details:

1.no matter what baudrate i use.
2.no matter what COM port i use (COM1 for php-serial and COM3 for terminal, or 
vice-versa)
3.no matter what sequence sent, if it is one char only, or a 100-chars string
{
  sending "1" will always result in receiving "±"
  sending "A" will always result in receiving "A"
  etc... i.e. some characters will arrive OK and some will be converted to something else
}


Original comment by [email protected] on 22 Sep 2013 at 5:48

@GoogleCodeExporter
Copy link
Author

I have the same problem... Did you solved it ?

Original comment by [email protected] on 28 Mar 2015 at 3:06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant