GithubHelp home page GithubHelp logo

uv_k5_playground's People

Contributors

fagci avatar manujedi avatar piotr022 avatar tunas1337 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uv_k5_playground's Issues

rssi_sbar turned my screen upside down

installing uv_k5_01_26_rssi_sbar_encoded.bin after the spectrum scanner caused randon screen corution, including my screen flipping upside down (and back to front).

rssi_sbar's S-meter is wildly inaccurate

Hi, i installed the s-meter mod but i find it highly inaccurate. It shows S8-S9 as minimum for a signal drowned in QRM. For an almost clear signal (real S6-S7) the quansheng reads +20, which is laughable.
Is it a problem with my handset or is it intrinsic to the mod? Thank you very much

P.S. If needed i can record a short video as demonstration

Radio can not open after flash the rssi_sbar_encoded.bin that created by k5_v3.00.10_flashable.bin.

Could you please help me with this situation:

The k5_v3.00.10_flashable.bin is this one: https://github.com/amnemonic/Quansheng_UV-K5_Firmware/blob/main/firmware/k5_v3.00.10_flashable.bin
My steps:

  1. unpack k5_v3.00.10_flashable.bin and get k5_v3.00.10_flashable.dec.bin
  2. mv k5_v3.00.10_flashable.dec.bin to .\src\orginal_fw and rename to orginal_fw.bin
  3. mkdir build $ cd build $ cmake ../ -G Ninja $ ninja rssi_sbar_encoded
  4. Flash the rssi_sbar_encoded.bin to UV-K5 with official tool, the tool prompts upload success, but the radio can not open.

These are files:
files.zip

hidden menu doesn't work with rssi_sbar

First of all i want to thank you for your superb job, but (there is always a but...) the adjusts made in hidden menu doesn't take any effect. It wolud be nice if you can arrange this. Some of us would be very happy been able of disabling TX in some ranges due to legal issues.

Display Error

I am using SBAR, which is very useful, but there is a small issue. On the menu page, sub tone scanning page, etc., when you receive a signal (RX), the SBAR information will be displayed.

A suggestion is to integrate all functions into one mod and select them through the menu.

Fix for bricked radios

Your bricked radios may not be bricked after all. Switch it on with PTT pressed. If the flashlight turns on, then you can flash the firmware. If it doesn't work, try it multiple times. It worked for me at the 5th or 6th try. My radio was totally bricked (didn't even turn on), now it works perfectly again.

Thanks for your hack!
Lorenzo

Is there a GPIO pin assignment list?

Looking through the code I can see various GPIO pins like B3 and C6 for the backlight and flashlight control.

Do you have a full list of the pin assignments, for the GPIO and also any I2C and SPI busses ?

Also. Is the processor a clone of a STM32G030C8? Because looking at some of the GPIO pin numbers used in the code, I can't see those pins on the LQFP48 official STM32G030C8 device

Edit.

I see the GCC settings are for the STM32F030x8 but the vsCode svg is for the G030

I'll need to check the GPIO pins on the F030x8 as perhaps they are different from the G030x8

Edit 2.

OK. My bad

If the process is F030 then it makes more sense

But it would be good if there was a complete list of the GPIO and other interface connections

NOAA and NOAA Scan does not open squelch (w/o 1050 Hz Tone)

Function NOAA Channels no matter if 10 PMR frequencies instead of NOAA Freq. replaced, NOAA_S is on or off it does not stop or listen in on active Channel. It keeps scanning without audit / audio. A 1050 Hz Tone is required to open the Squelch. The 1050 Hz tone will also demute the receiver, activate a flashing LED and cause the audio on hearing.

Could try to add the POCSAG encoding and transmitting feature?

First of all, thank you for your outstanding work!
I would like to ask if you could try to add the ability to encode POCSAG to UVK5?
Using the FSK Modem of the BK4819, it would be interesting to encode POCSAG to transmit a signal to a pager, similar to the messenger function you have already developed, thank you! The code to encode POCSAG using STM32 can be found here:
https://github.com/W-Linus/STM32_POCSAG_Audio/tree/main/Drivers/pocsagAudio
Perhaps a function to specify the address code by using the K5 Keyboard needs to be added.
Thanks a lot!

smetr with original fw

Is there any chance to make mod with smetr but on original FW, without changed TX/RX frequency?

firmware Release 50, 2023-07-22

I just upgrade using uv_k5_26_rssi_sbar_encoded_v50.bin, now the battery voltage is blinking.
Before im using Release 48, it stable and good.
Please fixes it.
Thank you

Thank you

Fantastic, this is thanks from Chinese radio amateurs, I have UV-K5 Chinese firmware, are you interested in modifying?

give a version number

Can you give each rssi_sbar, spectrum, rssi_printer a version number, and change it every time you release.

CR: spectrum_fagci: Backlight

CR:

Hi. To me it makes sense that backlight only shines if signal breaks threshold.

a) For the time signal breaks threshold. Plus n (5?) sec after below threshold.

Or

b) For n seconds - #define-d in code.

I know there's a GPIOB->DATA ^= GPIO_PIN_6; thingy. Maybe it could be used for backlight mode.

rssi_sbar

this is awesome...may i request to adjust the graphics of bars?...'cos receiving a full scale +50, there is an extra bar appearing below...can you adjust it for us?...thnk you...

Messanger Ribbit

Hi,

I see messanger via AFSK but maye will be nice use RiBBIT messagner

https://www.ribbitradio.org/#/

https://github.com/OpenResearchInstitute/ribbit

the idea is excellent and it will be the first radio use RiBBIT without a mobile phone to communication

Ribbit a new digital text messaging mode for HF/VHF/UHF recreational and emergency communications

If AFSK mode works is it possible to send via APRS position defined/fixed in the menu (because we don't have GPS on board UV-K5)

Some useful function address mapping for V3 firmware

I did some dig for V3 firmware.

The address map results for functions in https://github.com/piotr022/UV_K5_playground/blob/main/libs/k5_uv_system/system.hpp are listed below.

sub_d4_IRQ_RESET
sub_128_IntDivide
sub_1be4_BK4819ConfigureAndStartTxFsk
sub_8310_PrintFrequency
sub_8454_PrintSmallDigits
sub_8494_PrintTextOnScreen
sub_9fbc_UpdateStatusBar
sub_a128_AdcReadout
sub_a6d4_AirCopyFskSetup
sub_a7e0_BK4819ConfigureAndStartRxFsk
sub_a820_AirCopy72
sub_a914_BK4819SetGpio
sub_a93c_BK4819Reset
sub_aac0_BK4819Read
sub_ac00_BK4819WriteFrequency
sub_ac18_BK4819SetPaGain
sub_affc_BK4819Write
sub_b194_PollKeyboard
sub_b6d4_FlushFramebufferToScreen
sub_b73c_FlushStatusbarBufferToScreen
sub_bcd8_WriteSerialData
sub_bef4_SomeAmStuff
sub_c0e8_IRQ_SYSTICK
sub_c2a0_FormatString
sub_cc8c_DelayMs
sub_cc9c_DelayUs

Fonts address amnemonic/Quansheng_UV-K5_Firmware#67

Release 35 sbar not functional

In release 35 the SBar does not appear after flashing uv_k5_26_rssi_sbar_encoded_v35.bin.

I have confirmed that release 34 works properly.

`ninja par_runner`: target does not exist

Is this ninja's target still on the table:

$ ninja par_runner
ninja: error: unknown target 'par_runner'

and when I do a build without any target:

$ ninja
[22/26] Linking CXX executable src\most_useless_mod\most_useless_mod
Memory region         Used Size  Region Size  %age Used
             RAM:          65 B        256 B     25.39%
           FLASH:       61232 B        60 KB     99.66%
   text    data     bss     dec     hex filename
   2372   58864      61   61297    ef71 most_useless_mod
generating full binary with bootloader to most_useless_mod_with_bootloader.bin
[23/26] Linking CXX executable src\pong\pong
Memory region         Used Size  Region Size  %age Used
             RAM:         105 B        256 B     41.02%
           FLASH:       61392 B        60 KB     99.92%
   text    data     bss     dec     hex filename
   2532   58864     101   61497    f039 pong
generating full binary with bootloader to pong_with_bootloader.bin
[24/26] Linking CXX executable src\rssi_printer\rssi_printer
Memory region         Used Size  Region Size  %age Used
             RAM:         145 B        256 B     56.64%
           FLASH:       61288 B        60 KB     99.75%
   text    data     bss     dec     hex filename
   2428   58868     134   61430    eff6 rssi_printer
generating full binary with bootloader to rssi_printer_with_bootloader.bin
[25/26] Linking CXX executable src\rssi_sbar\rssi_sbar
Memory region         Used Size  Region Size  %age Used
             RAM:          45 B        256 B     17.58%
           FLASH:       61292 B        60 KB     99.76%
   text    data     bss     dec     hex filename
   2432   58868      37   61337    ef99 rssi_sbar
generating full binary with bootloader to rssi_sbar_with_bootloader.bin
[26/26] Linking CXX executable src\spectrum\spectrum
Memory region         Used Size  Region Size  %age Used
             RAM:          92 B        256 B     35.94%
           FLASH:       61408 B        60 KB     99.95%
   text    data     bss     dec     hex filename
   2548   58864      88   61500    f03c spectrum

cmake works well. I have been trying to check your last commits but didn't find any changes to this target.

Thanks in advance, Dawid SP4KOT

Lastets spectrum scanner bugs

1 - If you open the scanner and close it for the first time works fine. But it you do it one more time it always goes back to the scanner screen. The only way to close it is turning off the radio

2- If you start the scanner while RXing the speakers go WOWOWOWOWO (high pitch)

Anyway is veeery coool addition.
Congrats!

[Feature Request] Longer ABR time

Hi
Currently in the menu ABR (settings for the time of the backlignt) is OFF; 1; 2; 3; 4; 5.
My proposition is to give more time until 10 seconds, such: OFF; 2; 4; 6; 8; 10.

Thank you.

When UV-K5 is in standby, sometimes there will be no picture, and the picture will appear only after restarting the K5, but when there is no picture, the transmission and reception are normal.

Brush (uv_k5_26_rssi_sbar_encoded_v48.bin
)https://github.com/piotr022/UV_K5_playground/releases/download/release-48/uv_k5_26_rssi_sbar_encoded_v48.bin, UV-K5 will sometimes have no screen when it is in standby, and the screen will appear after restarting K5, but there is no screen , both transmission and reception are normal.
00
11

S-Meter and AM above 136MHz

Good day. Sorry if this is not the right place to ask. You have done a great job with this walkie.

I have tried the RSSI bar mod, and I like it, but I use this other one: k5_v2.01.19_mod_AM_18to850mhz.bin, because in my city the AM signal that that I receive best is at 136.520 MHz.

Could you make these mods capable of AM above 135.9Mhz? Rx only. Is it possible?

Thank you very much in advance for your time and your response.

Editorconfig needed!

Please, add .editorconfig file to meet project code style. Needed to better VCS support without formatting between standards.

Common practice is 2/4 spaces per indentation. Modern IDEs respects .editorconfig file.

// as note, tabs insteads of spaces better for reasons: can be 3-4-8 spaces per tab if USER wants, less code weight. But tabs for c-like languages not standard...

RSSI SBAR WITHOUT 3 sec of dalay

Hi!! i just saw the asfk mod and again man, hat off!!!

I was wondering if you can do a RSSI SBAR vesion without the 3 delay second. Thats will be very usefull when im adjusting doppler on sats.

Thank you very much!

73 de LU7CGJ form Argentina!

mesh

Is it possible to add a sound modem, send | receive digital data? on free band like 433 or 868 MHz?

Turn off rssi / sbar during Air Copy?

Great work! One thing I've noticed when using UV Mod Kitchen plus the rssi/sbar mod (amongst other mods) is during Air Copy the overlay blocks the screen. Is there a way to switch off the rssi/sbar during the Air Copy procedure?

Thanks.

AIR band frequecy

Great work :) Only wrong AIR frequencies in AIRband with 8.33 kHz step.

[Feature Request] Include custom WAV file in firmware build for modifiable roger beep

Feature Request: include custom WAV file in firmware build for modifiable roger beep

Description:
I would like to propose an enhancement to the firmware that streamlines the process of adding a customized roger beep sound to the radio. Currently, the roger beep is fixed, but adding the ability to include a custom WAV file for that during the build process would simplify the customization process and provide more flexibility.

Proposed Solution:
Develop a comprehensive mod that includes the option to import a custom WAV file for the roger beep sound. During the firmware build process, the mod should automatically integrate the WAV file into the final firmware.

Benefits:

  • Streamlined customization: Users can easily include a personalized roger beep sound without dealing with complex configurations.
  • Unified solution: Instead of relying on separate mods for Python scripts and audio files, this feature would provide an all-in-one solution.
  • Increased accessibility: Users with varying levels of technical expertise can take advantage of the customization feature.

Example Use Case:
A user who wants to create a personalized radio firmware can now simply select the desired Python mods and include a custom WAV file for the roger beep sound, all in one streamlined process.

I am excited about this proposed feature as it would significantly enhance the customization capabilities of the firmware. I am open to assisting in the development and testing of this feature if needed. Thank you for considering this enhancement.

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.