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

Garbage output #415

Closed
B0R1K opened this issue Feb 16, 2018 · 19 comments
Closed

Garbage output #415

B0R1K opened this issue Feb 16, 2018 · 19 comments

Comments

@B0R1K
Copy link

B0R1K commented Feb 16, 2018

Hi Team

I am using IRrecvDumpV2 0.3 and when i press any button on Samsung Remote I get following:

It seems like garbage to me, or am i doing something wrong.

⸮⸮UU(⸮⸮⸮⸮⸮
⸮Y⸮U(⸮⸮⸮�(⸮
⸮⸮U
U(⸮⸮⸮⸮⸮
⸮Y⸮U(⸮⸮⸮⸮⸮
⸮⸮⸮U(⸮⸮⸮(⸮U(⸮⸮⸮⸮B⸮U⸮⸮⸮U(⸮⸮⸮U(⸮⸮⸮⸮⸮
⸮⸮⸮U(⸮⸮⸮⸮⸮
⸮Ye
U(⸮⸮⸮⸮⸮
⸮⸮UB
⸮⸮⸮
⸮⸮U(⸮Q⸮⸮B(⸮⸮⸮⸮
⸮Y⸮B
⸮UU⸮⸮⸮
⸮⸮⸮*U(UU⸮⸮⸮U(⸮U⸮⸮�⸮⸮⸮*�(⸮
etc...

Thank you

@crankyoldgit
Copy link
Owner

crankyoldgit commented Feb 16, 2018 via email

@B0R1K
Copy link
Author

B0R1K commented Feb 16, 2018

i am using it, just tried remote from Fujitsu same thing,..

image

@crankyoldgit
Copy link
Owner

crankyoldgit commented Feb 16, 2018 via email

@B0R1K
Copy link
Author

B0R1K commented Feb 16, 2018

Not sure what Refreshing example code means,
but i see this line #define BAUD_RATE 115200

@darshkpatel
Copy link
Collaborator

darshkpatel commented Feb 16, 2018 via email

@crankyoldgit
Copy link
Owner

crankyoldgit commented Feb 16, 2018 via email

@B0R1K
Copy link
Author

B0R1K commented Feb 16, 2018

Just tried all of these
New Cable, new Upload, restarted, but same gibberish...

Thank you for taking time to help out.

@crankyoldgit
Copy link
Owner

It works for pretty much everyone else, so that leaves something that is odd with your computer. Try it on a different PC perhaps? or reboot the PC? Or try changing the BAUD rate to 9600 on both the terminal program and the code and re-upload.

Are you able to talk at that BAUD rate with any other arduino sketches on this ESP8266 or other devices?

@crankyoldgit
Copy link
Owner

or on a different ESP8266 module.

@B0R1K
Copy link
Author

B0R1K commented Feb 17, 2018

ok i got it to work
i had to compile it with BAUD_RATE 74880
and run Serial Monitor at 115200

@B0R1K
Copy link
Author

B0R1K commented Feb 17, 2018

but i Get
Encoding : UNKNOWN for Samsung Remote, please advise...

@crankyoldgit
Copy link
Owner

crankyoldgit commented Feb 17, 2018 via email

@crankyoldgit
Copy link
Owner

crankyoldgit commented Feb 18, 2018

Without the full data from the capture from IRrecvDumpV2, we can't help you further.
Again, the changes you've had to do to get it to work, I seriously think something is wrong with your ESP8266 module, or your serial/usb setup.

@B0R1K
Copy link
Author

B0R1K commented Feb 19, 2018

i am going from USB Type C to micro-B, Do u think that might have something to do with it?

@crankyoldgit
Copy link
Owner

Not sure. It might affect the baud rate issue. ie. usb drivers etc. It should not affect the ESP's ability to detect IR codes.

@B0R1K
Copy link
Author

B0R1K commented Feb 19, 2018

I will try doing it on Different PC,
but in mean type is there a specific ESP Brand/model you would recommend?

@crankyoldgit
Copy link
Owner

Doing some research, it looks like you have a "bad" esp8266 board.
e.g. Read all of this issue thread esp8266/Arduino#4005
I saw your other issue here mdhiggins/ESP8266-HTTP-IR-Blaster#148 where you specify the board etc. that eventually lead me to the above thread.

The TL;DR: is if you have to use a baud rate of 74880 then it's a bad module. The clock/crystal on it is wrong and it won't work for wifi etc. All the timings are off.

I don't want to recommend specific vendors etc, but I've had great luck with purchasing NodeMCU and Wemos D1 mini modules via Aliexpress or ebay.
The official wemos store is https://www.aliexpress.com/store/1331105 (via http://www.wemos.cc/)

@crankyoldgit crankyoldgit changed the title Garbege output Garbage output Feb 19, 2018
@crankyoldgit
Copy link
Owner

Closing this issue. Feel free to re-open the issue if you "good" ESP module produces similar text.

@B0R1K
Copy link
Author

B0R1K commented Mar 6, 2018

Thank you for your help, Just want to update, that after receiving new ESP,
everything seems to be working... Will be playing with it for next few days...

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

No branches or pull requests

3 participants