Closed geofrancis closed 2 years ago
1) #include "esp_wifi_internal.h"
I guess it should be included like #include
2) error: 'ringbuf_type_t' has not been declared Maybe this can help: https://github.com/nkolban/esp32-snippets/issues/1100
You may try to delete all folders with "arduino" in name from the PlatformIO Packages folder: C:\Users[username].platformio\packages\
then reopen project and wait untill PlatfromIO reinstall packages (could take 15 minutes of waiting)
thank you. I will get back to you.
The arduino BLE libary was getting installed automatically when it scanned for dependants, im now getting FTP errors.
fixed copied in ESP-FTP-Server-Lib-0.11.0 to the library folder.
`In file included from C:/Users/Geo/Documents/CODE/hx_espnow_rc-main/lib/hx_rc_transmitter_common/modeBase.cpp:10: C:/Users/Geo/Documents/CODE/hx_espnow_rc-main/lib/hx_rc_transmitter_common/modeConfig.h:9:10: fatal error: ESP-FTP-Server-Lib.h: No such file or directory
^~~~~~~~~~~~~~~~~~~~~~
compilation terminated. *** [.pio\build\esp32doit-devkit-v1\libc2b\hx_rc_transmitter_common\modeBase.cpp.o] Error 1 In file included from C:/Users/Geo/Documents/CODE/hx_espnow_rc-main/lib/hx_rc_transmitter_common/modeConfig.cpp:8: C:/Users/Geo/Documents/CODE/hx_espnow_rc-main/lib/hx_rc_transmitter_common/modeConfig.h:9:10: fatal error: ESP-FTP-Server-Lib.h: No such file or directory
^~~~~~~~~~~~~~~~~~~~~~
compilation terminated. *** [.pio\build\esp32doit-devkit-v1\libc2b\hx_rc_transmitter_common\modeConfig.cpp.o] Error 1 ========================================================================= [FAILED] Took 78.30 seconds =========================================================================`
can you post a binary, I have it compiling but im getting flash errors and its just constantly resetting.
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) flash read err, 1000 ets_main.c 371 ets Jun 8 2016 00:22:57
Did you upload filesystem after flashing?
include
peterus/ESP-FTP-Server-Lib@^0.9.9
This dependecy is listed in platformio.ini It should be installed automatically.
upload file system? yes i flashed it to the esp32, and i also tried flashing it with esp32 download tool, I flashed espesy on it just to be sure its not a hardware problem.
There is \data folder in the project with configuration and data files. After flashing, upload it using (2)
ok i done that and I think its working its now showing as Waiting for CH16 profile on the serial port.
Yes it is waiting for CH16 value to select profile
https://github.com/RomanLut/hx_espnow_rc/blob/main/doc/tx_external_module.md#see-next
ok how do i bind it to a receiver? ok nevermind i think its not doing anything until it gets that channel 16 signal from a transmitter.
you should make a post over at https://discuss.ardupilot.org/c/blog/ Im sure there are a lot of people there that would be very interested in a high bandwidth mavlink RC system.
ok how do i bind it to a receiver? ok nevermind i think its not doing anything until it gets that channel 16 signal from a transmitter.
There is no bind process. You just need to have the same
"espnow_channel": 3,
"espnow_key": 0,
"espnow_long_range_mode": false,
in profile.json and in config.h of receiver.
It looks like it's all working, apart from I don't have a transistor to invert the SBUS input into the transmitter module. so i have ordered some and they should get here in a day or so , so im going to work on some 3d printed modules for my taranis x9d.
do you support the esp8285? its something like 250mw of rf compared to the <100mw you get with the rest of the modules.
https://www.espressif.com/sites/default/files/documentation/0a-esp8285_datasheet_en.pdf
802.11 b: +19 dBm
20dbm => 100mW
25db with PA https://www.aliexpress.com/item/32846843421.html
I just noticed the esp8266MOD also has the PA https://www.aliexpress.com/item/32675165049.html
I just noticed the esp8266MOD also has the PA https://www.aliexpress.com/item/32675165049.html
It has nothing to do with real output power, no external PA there, https://www.esp8266.com/viewtopic.php?p=938 Real output is 20 dbm to pass certification.
You may try to compile for 8285 by changing project settings.
cool. il just stick to the esp32 and 8266.
I have been busy, flashed an esp01, a pair of wemos D1 modules, one as mavlink and one as SBUS. when i was digging though my box of modules i found this pixhawk wifi adapter, you can get them for around 10usd, the d1 mini mavlink firmware flashes to it fine.
https://www.aliexpress.com/item/1005003434945109.html
this looks really interesting, if it ever goes on sale https://www.crowdsupply.com/bison-science/esp32-m1-reach-out#products
I have been busy, flashed an esp01, a pair of wemos D1 modules, one as mavlink and one as SBUS. when i was digging though my box of modules i found this pixhawk wifi adapter, you can get them for around 10usd, the d1 mini mavlink firmware flashes to it fine.
https://www.aliexpress.com/item/1005003434945109.html
this looks really interesting, if it ever goes on sale
https://www.crowdsupply.com/ bison-science/esp32-m1-reach-out#products
A module with aliexpress, this is a regular module stitched with this firmware. https://github.com/dogmaphobic/mavesp8266
Yes i have that firmware on one of my d1 minis to connect it to my wifi network. The module works with this project as a receiver sending and receiving mavlink telemetry and RC the serial link using ESP-NOW.
@RomanLut Have you thought about using the OpenTX multimodule interface rather than SBUS to connect the module to the radio it would allow you to configure the modules and profiles from the radio. it would also free up a channel and let you change settings on the fly.
Looks like a lot of work to get the the same functionality which is implemented already. As for profiles configuration, a configurator web page hosted on module would have much better user experience and also serve well for DIY controller. So far plain text editor web page is implemented only. I plan to implement full featured configurator some time later. Currenlty focused on INAV HITL project.
nearly have a JR module built. blue led will be for the bluetooth status and the red led for the espnow radio. https://discuss.ardupilot.org/uploads/default/original/3X/0/6/069cfbb748416ce63a7c35e0535b5b147b3d7243.jpeg https://discuss.ardupilot.org/uploads/default/original/3X/0/3/0375831f110d4982bf33ef643c25b0c177f22332.jpeg
i uploaded the module to my fork, I couldnt get it working for a while there but it turns out i was using the wrong transistor. I have only done some bench tests so far but i hope to get more done soon.
unrelated but this looks like a good receiver https://www.aliexpress.com/item/4001054031743.html
I am trying to compile the external module but i keep getting bluetooth errors when compiling, the esp-01 Sbus reciver compiled and flashed ok.
`