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

ELRS Backpack wireless headtracker function support #154

Open
xuhao1 opened this issue Jul 23, 2023 · 8 comments
Open

ELRS Backpack wireless headtracker function support #154

xuhao1 opened this issue Jul 23, 2023 · 8 comments
Labels
enhancement New feature or request

Comments

@xuhao1
Copy link

xuhao1 commented Jul 23, 2023

Hi there! Thanks for your work.
ELRS now added native Bluetooth support for headtracker, as shwon in ExpressLRS/ExpressLRS#2060 I think it would be great to add this protocol supported in this project. So that we can directly use wireless headtracker with any ELRS transmitter system and without any hack on hardware! It will be huge convenient for users.

@pkendall64
Copy link

ELRS is not using bluetooth, it uses MSP packet sent over ESP-now.

@xuhao1
Copy link
Author

xuhao1 commented Jul 24, 2023

@pkendall64 okay I find this. How about mounting a ELRS receiver on the head tracker module to enable backpack?

Another practice way is to migrate this project on ESP32-arduino to take the advantage of ESP now.

@dlktdr dlktdr added the enhancement New feature or request label Jul 24, 2023
@NineDayCC
Copy link

Hi, I'v been working on a headtracker project based on @dlktdr 's headtracker on esp32-C3. The main structure has been done. It can output ppm and subs signals, wireless connection through bluetooth receiver.

But many features are waiting to be added like gui parameter configurator support, and some issues needed to be fixed (such as ppm output jitter).

Maybe you can take a look in my repository and see if we can make it better together(I'll upload some time later). I chose esp32-C3 because it is very cheap, so everyone can afford it. I hope I can contribute my effort to make community better!

@dlktdr
Copy link
Owner

dlktdr commented Aug 1, 2023

Hi, I'v been working on a headtracker project based on @dlktdr 's headtracker on esp32-C3. The main structure has been done. It can output ppm and subs signals, wireless connection through bluetooth receiver.

But many features are waiting to be added like gui parameter configurator support, and some issues needed to be fixed (such as ppm output jitter).

Maybe you can take a look in my repository and see if we can make it better together(I'll upload some time later). I chose esp32-C3 because it is very cheap, so everyone can afford it. I hope I can contribute my effort to make community better!

Hey, that sounds awesome, I really wanted to get this working on ESP, but haven't had the time to really put the effort in. It is a really nice chip and the extra processing power + Wifi is a big plus. Could use ESPnow directly to the ELRS too if we could get it running.

I would be glad to help out. Looks like your still using ZpehyrOS from the question you posted, post the code too when you can.

For the PPM I was looking into using the RMT peripheral on ESP to generate the pulses. Same kind of jitter issue was found on NRF when using interrupts as well. Really only PPM, PWM and getting it compiling with West for the newest ESP support should be needed. If you have discord, send me a PM or join the #dev channel.

@NineDayCC
Copy link

Hi, I'v been working on a headtracker project based on @dlktdr 's headtracker on esp32-C3. The main structure has been done. It can output ppm and subs signals, wireless connection through bluetooth receiver.
But many features are waiting to be added like gui parameter configurator support, and some issues needed to be fixed (such as ppm output jitter).
Maybe you can take a look in my repository and see if we can make it better together(I'll upload some time later). I chose esp32-C3 because it is very cheap, so everyone can afford it. I hope I can contribute my effort to make community better!

Hey, that sounds awesome, I really wanted to get this working on ESP, but haven't had the time to really put the effort in. It is a really nice chip and the extra processing power + Wifi is a big plus. Could use ESPnow directly to the ELRS too if we could get it running.

I would be glad to help out. Looks like your still using ZpehyrOS from the question you posted, post the code too when you can.

For the PPM I was looking into using the RMT peripheral on ESP to generate the pulses. Same kind of jitter issue was found on NRF when using interrupts as well. Really only PPM, PWM and getting it compiling with West for the newest ESP support should be needed. If you have discord, send me a PM or join the #dev channel.

Hi @dlktdr ! Thanks for your reply.
I'v posted my code here https://github.com/NineDayCC/HeadTracker_ESP32 . Welcome to check out.
I do have discord. May I ask how can I join the server?

@dlktdr
Copy link
Owner

dlktdr commented Aug 1, 2023

The link to discord is, https://discord.gg/ux5hEaNSPQ

@L1cardo
Copy link

L1cardo commented Mar 15, 2024

How's this going on?
Is esp32 getting support soon?

@ltwin8
Copy link

ltwin8 commented Jul 12, 2024

hi there, are there any updates on this?

ESP8285, standard IMU, thats all needed if i understand correctly?

like if one has an EP82 vrx backpapck already, can it be possible to add headtracker? or some system with esp+imu for internal fit to (digital) goggles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants