Giter Club home page Giter Club logo

Comments (10)

spacehuhn avatar spacehuhn commented on May 27, 2024 1

I can't really see if SDA and SCL are connected properly because both wires are orange.
Just for the sakes of it, try switching SCA and SCL and try other jumper cables too.
I wasted like an hour debugging before and it just turned out one jumper wire was broken.

Also try to connect 5V to 5V instead of 3.3V to 3V3.
I found that the ESP is better of getting 5V and using it's own voltage regulator instead of sharing the power supply of the other board. That of course is only possible because the Wemos D1 Mini has everything on board and all this can differ from board to board.
So might not help you but doesn't hurt to try it out, hardware sometimes works in mysterious ways.

from wifiduck.

spacehuhn avatar spacehuhn commented on May 27, 2024

Seems like the I2c connection has an issue.
Can you show us how you connected them?
I can try to recreate it. Got a Leonardo lying around somewhere.

from wifiduck.

Arthur-AK avatar Arthur-AK commented on May 27, 2024

IMG_20191105_120440
IMG_20191105_120509
Thanks for the help!
EDIT: Also have tried different wires

from wifiduck.

Arthur-AK avatar Arthur-AK commented on May 27, 2024

So I tried with all new wires again, and I tried switching it to 5V and still nothing. Any other ideas? Here's another picture of the current layout:

IMG_20191105_131028

from wifiduck.

spacehuhn avatar spacehuhn commented on May 27, 2024

Connect the leonardo, open the atmega_duck.ino, open the serial monitor with baud 115200 and flash it again. Then try to run a script again over the web interface and paste the serial output here.

from wifiduck.

Arthur-AK avatar Arthur-AK commented on May 27, 2024

There isn't any output in the serial monitor. Which I'm guessing means there's still a connection problem. But I have no idea how that'd be possible

from wifiduck.

spacehuhn avatar spacehuhn commented on May 27, 2024

When you have the sketch open, go to config.h and uncomment line 17 (https://github.com/spacehuhn/WiFiDuck/blob/master/atmega_duck/config.h#L17)

Flash it again and see if there's serial output now.

I'm working on making this whole process easier, sorry you have to go through all of this.

from wifiduck.

Arthur-AK avatar Arthur-AK commented on May 27, 2024

After making the change and trying to flash it I get an error 'DEBUG_PORT' was not declared in this scope
Pointing to https://github.com/spacehuhn/WiFiDuck/blob/master/atmega_duck/debug.h#L16

from wifiduck.

Arthur-AK avatar Arthur-AK commented on May 27, 2024

Wow... ummm don't know what happend but it started working.... I updated to the latest code (2 days ago) I'm gonna try it for a bit and push it. See if the error comes back. Maybe it was a connection issue and a wire was bent just right. Looking back I was using an old one:
WiFiDuck-master.zip

EDIT: If the problem doesn't come back I think this is closed. But We will see today

from wifiduck.

spacehuhn avatar spacehuhn commented on May 27, 2024

Oh yes sorry you need to uncomment line 17, 18 and 19.

I also worked on the repo the past days so that might have played a role in it.
Still working heavily on the software at the moment.

Let me know if you encounter more problems!

from wifiduck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.