Code Monkey home page Code Monkey logo

Comments (5)

PlastiBots avatar PlastiBots commented on June 11, 2024 1

I did 2 projects using GoProControl. Managed to get it to a point where the ESP was stable with my Hero. This one is the first with code. The second one added a slider to the setup, but similar code. The ESP connection bits should be the same between the two. Sorry, I did this months ago so don't recall the inner workings but the sketch should be self explanatory. There's a note in there about issues arising when you disconnect the Hero first (I think) and the need to ensure gp.end() is called before (or something to that note). Code is at the bottom of the first one...

from goprocontrol.

beckmx avatar beckmx commented on June 11, 2024 1

@PlastiBots @aster94 a word of advice guys, I ran this library inside the Raspberry pico w, and duuude, I mean duuude, what a blast! it's so incredibly fast, the only changed I did to make it work is in the file:
GoProControl.h
line 30 I added this:
#if defined(ARDUINO_ARCH_ESP32) || defined(ARDUINO_ARCH_MBED_RP2040)|| defined(ARDUINO_ARCH_RP2040) // ESP32
The board manager I used was from this repo https://github.com/earlephilhower/arduino-pico, the rest of the code was fully compatible and the connection was so stable I didn't have to worry anymore

from goprocontrol.

aster94 avatar aster94 commented on June 11, 2024

from goprocontrol.

beckmx avatar beckmx commented on June 11, 2024

@PlastiBots I just noticed your comment in the code:

There's an issue somewhere between comms of the ESP and GoPro. This took me a week to figure out. Turns out
that if you disconnect / power down the ESP or GoPro without first successfully calling gp.end() something
gets hung in the comms. The ESP will still connect to the GoPro but it will return connection lost errors.
To fix this, simply disconnect ESP power, turn off GoPro and remove battery (I did for a few mins, but it may take less)
Then power up the GoPro, then the ESP and try again. I think it also works if you just remove the GoPor
battery, wait a bit, then power it back on and re-connect.

And I also noticed you set up the Mac Address of the camera, I am going to follow on that as well, thanx!

from goprocontrol.

aster94 avatar aster94 commented on June 11, 2024

thanks for the info @beckmx

from goprocontrol.

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.