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

Internal connection problem #99

Closed
prawinrai1993 opened this issue Jan 14, 2022 · 19 comments
Closed

Internal connection problem #99

prawinrai1993 opened this issue Jan 14, 2022 · 19 comments

Comments

@prawinrai1993
Copy link

delay(200);

please update the delay to 1000ms to resolve the internal connection issue

@welcome
Copy link

welcome bot commented Jan 14, 2022

Thanks for opening your first issue here! 🎉
👉 Be sure to:
1. 📖 Have a look at the Wiki and README for information
2. 🔍 Search for similar issues (open and closed)
3. ✍️ Provide enough information to understand, recreate and help out with your problem
4. ℹ️ Let us know if you find a solution
5. 📕 Close the issue when your problem has been solved

@Egor2101
Copy link

delay(200);

please update the delay to 1000ms to resolve the internal connection issue
Does not work...

@mattybeens
Copy link

Didnt work for me either :(

@prawinrai1993
Copy link
Author

Didnt work for me either :(

try increasing delay. I am using nodemcu, for me worked. for other user 10000ms worked, who is using a d1 mini. not facing internal connection issue any more. Also scripts working super smooth.

@mattybeens
Copy link

i tried both of those times. I also have a dstike wifi duck V2 that has the same issue after updating.

@justusiv
Copy link

Tried both the 1000 and 10000 and i am having the same issue.

@slash128v6
Copy link

Same issue for me.

@spacehuhn
Copy link
Collaborator

I did some testing, and with debug enabled, I could reproduce the issue sometimes. Try disabling Debug if it isn't already.
grafik

@slash128v6
Copy link

I have tried with Debug enabled and disabled. I tried on my DSTIKE board and now that board is no longer working. It appears to be an issue with I2C. I can run scripts via Serial between ESP and 32U4, albeit very slow.

@spacehuhn
Copy link
Collaborator

Using I2C (or serial given the right hardware) instead of the Auto mode also seems to make a difference sometimes. I have a growing suspicion that the atmega32u4 is partly responsible, as it seems to be very sensitive.
grafik

@justusiv
Copy link

ok so that got me working... set both debugs to disable and both protocols to I2C.
Gonna play around but thanks for the info!

@slash128v6
Copy link

slash128v6 commented Jan 25, 2022 via email

@spacehuhn
Copy link
Collaborator

Hopefully, that's it 🤞 . I updated the Wifi Duck AVR boards so that these options are set by default from now on.

@slash128v6
Copy link

slash128v6 commented Jan 25, 2022 via email

@slash128v6
Copy link

slash128v6 commented Jan 25, 2022 via email

@slash128v6
Copy link

https://www.amazon.com/dp/B08BJTS2N8?ref=ppx_yo2_dt_b_product_details&th=1 https://www.amazon.com/dp/B07S5HL54T?psc=1&ref=ppx_yo2_dt_b_product_details

Mines not working either :(

try disabling debug on both sketches and hard set protocol to I2C on both sketches. That got me working with the same hardware from Amazon.

@mattybeens
Copy link

https://www.amazon.com/dp/B08BJTS2N8?ref=ppx_yo2_dt_b_product_details&th=1 https://www.amazon.com/dp/B07S5HL54T?psc=1&ref=ppx_yo2_dt_b_product_details
Mines not working either :(

try disabling debug on both sketches and hard set protocol to I2C on both sketches. That got me working with the same hardware from Amazon.

I got it, i was dumb and had to use the "generic esp8266" board

@prawinrai1993
Copy link
Author

prawinrai1993 commented Jan 25, 2022

The solution works fine with disabling debug and selecting i2c. Also my board required generic esp8266 selection in ide before flash. works for both d1 wemos mini and esp8266.

Thanks for help @spacehuhn

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

6 participants