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

support for ESP8266 #1

Open
eried opened this issue Mar 12, 2020 · 5 comments
Open

support for ESP8266 #1

eried opened this issue Mar 12, 2020 · 5 comments

Comments

@eried
Copy link

eried commented Mar 12, 2020

Hi,

I am thinking on porting this to the esp8266, I just have 2 questions:

  1. How is the banggood wifi module works? (i.e. just emulates a local serial RX TX via tcp, etc)
  2. Is it the SPI hack necesary for the RX? why not just use the 3 bit combinations directly?

PS: I know both questions might be answered after digging deeper but any help will make that research shorter

@eried
Copy link
Author

eried commented Mar 14, 2020

I can answer my own ticket :P I decided to make it run on an ESP32 at the end...
https://github.com/eried/pidflight-lap-firmware

Works awesome! too bad this is 2.6 and not 2.7. Any possibility of updating the repo?

Benefits of the ESP32 (https://github.com/LilyGO/TTGO-T8-ESP32):

  1. Bluetooth and serial in the same package (works awesome!)
  2. Battery charger
  3. Wifi (not implemented yet)
  4. SD to dump the times (not implemented yet)

Also, the newer rx5808 from banggood come with the SPI mod.

@cmengler
Copy link
Owner

Awesome work @eried -- when your ready feel free to create a PR against the develop branch, love to get this in! :)

I once started to work with an ESP32 dev board, I ended up placing it on the back burner due to a flaky USB serial with the board I had.

I'll get the virtual firmware branch pushed shortly -- it's not very elegant though haha :)

@eried
Copy link
Author

eried commented Mar 15, 2020

Great! I will be waiting for 2.7 to make a PR and add some instructions for the ESP32. I also added some (not elegant) status light.

I used to avoid ESP32, because the Wemos ESP8622 were less than 4USD, but actually now the ESP32s including everything are about the same price and it makes so much sense for this.

@cmengler
Copy link
Owner

Awesome! it definitely makes sense now to use these boards! :)

@Pelado-Mat
Copy link

Any news on the 2.7 code?

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

3 participants