Giter Site home page Giter Site logo

wpro58's Introduction

WPro58 for Eachine PRO58 and Quanum HB5808 modules.

STM32 MCU based diversity module firmware.

This firmware uses some code from Shea Ivey's rx5808-pro

If you like this work and you're buying Eachine PRO58 please use this link: Eachine PRO58 (It's a reflink)

Pinouts and flashing.

To flash your PRO58 or HB5808 module you have to use ST-link programmer. The best way to flash your module is:

  1. Connect 5V power and GND via Fatshark connector - Use 5V BEC with at least 1A of current,
  2. Connect GND, SWDIO and SWDCLK to ST-Link via SWD connector (on top left corner of module - see images).
  3. Use ST-LINK Utility from ST web page - http://www.st.com/en/development-tools/stsw-link004.html - look on the bottom of page for download.
  4. If its brand new module you have to remove Read Out Protection. In ST-LINK Utility Click on Target -> Option Bytes... . Set Read Out Protection to Disabled and next click Apply (WARNING: This will erase original firmware - there is no way back). Do not touch other things in this menu.
  5. Load .bin file by clicking Open file button, and next Target -> Program and verify...
  6. Once it finish witout error you have WPro58 installed. Disconnect all and then reconnect power ;)

Remember that module draws ~0.4A of current, power it with efficient power supply!

To edit/build code you need to download SW4STM32 IDE (Eclipse based)

Eachine PRO58 pinouts

Pinouts


Quanum HB5808 pinouts

Pinouts

FatShark pins are not connected to MCU.


Big thanks to

  • mihero for contributing
  • 20Sy for HB5808 module ;)
  • conkerkh for contributing

Warning!

If you use module with FatShark goggles make sure that FS pins mode setting is set to FS (not BUTTON). This settings changes pullup settings on FS channel pins.

To use BUTTON mode simply add buttons that connect pin to ground when pressed.


Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

wpro58's People

Contributors

conkerkh avatar mihero avatar piodabro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wpro58's Issues

Changing channel and band

Is there a way to change bands independently of the channel number? Currently I can only change one at a time manually, or in automatic search mode.

Can't you directly change the band (A,B,E,F...etc)?

Do you have to go through all the channels and bands one by one until you reach the one you want?

Lap timer on OSD

Since we have ability to show OSD on image from camera, it could be nice to have laptimer feature ;)

audible rssi helper

saw this mentioned for rapidfire.

If you're still working on this project. Could a rssi beeper be added? In a long rage case, when you're flying from your patch only, it will beep if the rssi is dropping past some value. So you can move your head to aim the antenna. faster beeps, worse rssi value.

thanks

how to compile it?

hi there, I'm new in this hobby
can you tell me how to compile that files?
I want to customize my own screensaver logo, I have to conver my BMP to hex code
now I just wannt to compile that code files fo BIN file
thank you

menu bleep interupt

when the scroll up or down is held down, say when moving through a number of channels, the bleep is a continuous unbroken tone.

A single bleep per button press or an interupt to the bleep each time the system passes a ch or menu option instead of a continuous tone would be good.

Please document recommended build environment

I believe WPro58 would benefit from build environment documentation and/or a docker-ized build environment if someone has time/ability.

I may be going about this the wrong way... But I have recently discovered that docker-ized build environments available for betaflight and opentx have drastically reduced my barrier to entry and allowed me to make and test simple code changes on my own.

Setting to disable screensaver.

A setting in the menu system to prevent the alternating callsign/channel screen from comming up to allow for the graph screen to be permanently displayed.
dsc_1784

missing license file

minor issue, but i guess we should have at least the same license level then with sheas original project.

Fine tune freq on disabled Rx

Channels have hardcoded frequencies, but I don't belive that Tx don't drift and all time is spot on channel freq.
So idea is on disabled recv shift freq in small steps in small range and remember freq with highest rssi.
Then use new found freq after rx switch.

option to make fatshark button pins replicate jog wheel

an option to make the fatshark button pins activate and navigate the menu system would be usefull.

1 pin for select and the two other pins for up and down/ left right in the menu system.
allowing external buttons to replace the fragile and fiddly jog wheel.

Favourite channels

Possibility to store favourite channels and quickly switch between those.
Request picked from rcgroups

Possible issue with USB 3

Hey, thanks for the work you did on this port and documenting how to flash it!

I ran into a ton of problems, though, where the flashing would constantly fail halfway, until... I plugged the ST-Link into a USB 2 hub instead of directly into my USB 3 port. I know this is probably an issue with the ST-Link and not with your code, but I figured there will be more people landing here and using a ST-Link for the first time, so it probably won't hurt to have this information around. Feel free to close this issue.

If we ever get to meet, I'm definitely buying you a drink or whatever meets your fancy!

Use github releases

Use github releases-feature to store binaries instead of storing them on folder inside repository
Makes repository cleaner and could provider ways to automate in future

wpro58 locked up?

Today I was getting ready to fly with a new pro58 after I broke the switch on my last one and the video just dropped out after being powered up 30 seconds or so. When this happened the RSSI indicators on the rx screen locked up too. Cycling power or any button press makes it start up again. Maybe a corrupt bin? Or maybe a bug? I did verify while programming.
I'm pretty sure I was running 0.9 pinbuttons. Going back to 0.8 seems to work fine.

PRO58 Original Firmware

Hi,
I've dumped the original firmware of the pro58. Here it is:
pro58_original.zip

If you think it is appropriate you can link it in the README where you say that "there is no way back".

Eprom seems like its not working

Hi, I flashed your .bin file today and it seems like I have to calibrate the rssi every time I power up the module otherwise it will not select a channel. Other than that, everything seems to work great. Is this a problem with the eprom or something else?

Feature - OSD on screen show RX rssi levels !

Can it be done !! ?
OSD on screen (inside googles) show rssi levels for A + B .. this way we can see while flying how anntennas switch based on proximity and antenas.

others have done it .. so i'm keen to try do the hardware mod .

Thanks for the Great work until now.

3D mode

Hi, does this FW support 3D mode? Maybe I just missed it but I did not find it.

My FatShark goggles can be switched to 3D mode, but until now I had only stock VRX module with one antenna. Now I bought Eachine Pro58 module and I would like to try to fly in 3D with two omnidirectional antennas.

Enhacement proposal: interupt based diversity calculation

To ensure rssi calculation is not affected by other functionalities it could be handled as a separate interupt. This would give control of frequency of diversity calculation.
Also dma for rssi could be changed to be compile time controllable so that dma would store more then 1 values and then calculate average of those to be used on diversity calculation. This would clean rssi values.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.