-
Notifications
You must be signed in to change notification settings - Fork 7
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
API details for the serial? #2
Comments
I had started this awhile ago -- https://wiki.pidflight.com/pidflightlap:protocol -- however I'm planning to move the effort to either GH wiki pages or version markdown files in the primary https://github.com/cmengler/pidflight-lap repo shortly :) |
I'll continue to effort on this page -- https://github.com/cmengler/pidflight-lap/wiki/Serial-Protocol |
Awesome! https://wiki.pidflight.com/pidflightlap:protocol I guess for VT the device just answers with more ids :P great! I am not sure if I should make the ESP32 version as a PR here or as a separate fork, because the many differences I notice I will need to implement everything. What you think? i.e. 1) The RSSI measurement needs to sample 2 analogs (the input battery) because 5V is actually 4.2 to 3.8 (depending on the lipo). I need to see how that will work with 4VT |
Correct! VT acts the same way as chained physical devices :) Sweet, I'll take a look at your commits in your repo during the week and see if it can be merged. I still have a ESP32 dev board lying around which I'll test with too. |
It always could be merged :D maybe you should leave 2.7 as the final version for the "legacy" and move on to a cleaner solution. Drop support for all the other inferior boards an embrace the future of a super compact ESP32 based timer |
That's a very good point! Impressive build -- do you mind if I share this on the socials with credit to you of course! :) |
Sure! But I am waiting for 4VT still :P |
Is there still progress on this project? I build a ESP version of Eried... but seems i don't have any RSSI signal. Can i debug this anyway? Edit: Found solution. The resistor bridge is not working well. I removed the resistor to GND and it works. Probably not the best solution but i can now know the 5808 is working. |
We need to implement the 4VT on the ESP, which has enough power for switching super fast and doing all :) |
Hi! I really love the project and I would like to contribute to it! 😄 |
Cheers @tonarec ! That idea sounds interesting. A slightly modified version of the MSP protocol was adopted for this project to send/receive data from the lap timer and pass through a message to another timer in the chain. This might be a good starting point to reference the available MSP commands and what the byte payloads are -- https://github.com/cmengler/pidflight-lap-gui/blob/master/src/js/pidflight/msp.js I also started documenting the protocol sometime ago, however I never got to complete it -- https://github.com/cmengler/pidflight-lap/wiki/Serial-Protocol Feel free to let me know if you have any questions:) |
I think a scanner would be awesome, like: turn drone off, press next, turn drone on, press next> drone found on: xx type of thing. Instead of reading the code, do you have some documentation on the serial commands?
The text was updated successfully, but these errors were encountered: