Comments (5)
Hi, if nothing appear in the serial monitor and the debug is enabled something may be wrong in your setup
Actually I am not sure about what is wrong, are you absolutely sure that the code gets uploaded in the board? Sometimes the upload fails
from goprocontrol.
Thank you for your quick answer.
I tried again, carefully copying your code, and nothing happens again.
So, I just uploaded a simple led blink code on the board, and it works fine.
Definitely I have no idea whats is going on. I'm gonna try a different code, with other wifi connections and see what happens.
The only thing, I don't know if I am doing right, is the Secrets.h file. I put there the camera SSID and password. But there is no place to put the camera model. So I put the camera model in the main code.
Like this: GoProControl gp(GOPRO_SSID, GOPRO_PASS, HERO6);
Is it ok doing like this?
Many thanks again
from goprocontrol.
If you want to can also get rid of Secrets.h
and write your wifi name and password directly in the main sketch like this:
GoProControl gp("my_ssid", "my_pass", HERO6);
Still, I can't understand why you don't see any serial plotting
from goprocontrol.
Hello, aster,
Finally, I solved the problem, and I am already trying to use the code in my own project.
After some tests, I am having a new problem. I can connect the camera, and everything works fine, but always after around 8 minutes, the board loses the connection with the camera. I am using the command "gp.keepAlive", but the connection closes anyway.
Do you have any idea about how the connection can stay always turned on?
I am trying to use the camera attached to a PIR movement sensor, so, the idea is the camera stay always turned on and start recording when any movement is detected.
Thank you very much again.
from goprocontrol.
maybe you are not calling the keep alive enough often. I have been using the lib for even 20minutes with very fast loops and i never had a problem, your code probably hangs somewhere and the function isn't called
from goprocontrol.
Related Issues (20)
- Constants.h: No such file or directory HOT 18
- Hero 8 requires BT connection to enable WiFi. HOT 7
- Problem compiling GoProControl_Example HOT 9
- GoPro8 connection failed HOT 1
- can't connect second times. HOT 1
- Suggestion that could solve some problems HOT 5
- Nothing is showing on serial monitor by using wemos d1mini HOT 2
- Connection failed: New GoPro Firmware ? HOT 1
- MultiCam issue with 2x GoPro HERO7 Black HOT 6
- stringSearch and stringCut HOT 2
- getstatus and getmedialist gopro Hero3 HOT 5
- Having trouble with GoPro Hero7 and ESP8266 HOT 1
- HERO8 usage with ESP8266 HOT 1
- Unable to connect after reset ESP8266 HOT 1
- Issue with connecting/shooting photos after 1st time ESP8266 & Hero 7 HOT 5
- add command to download images HOT 2
- Adding GoPro zoom function HOT 1
- Getting "Connection lost" quite a lot HOT 5
- Issue compiling RTLapseCAM HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goprocontrol.