cmengler / pidflight-lap-firmware

PIDflight Lap Timing device firmware
GNU General Public License v3.0
11 stars 7 forks source link

support for ESP8266 #1

Open eried opened 4 years ago

eried commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

Pelado-Mat commented 2 years ago

Any news on the 2.7 code?