||5 months ago|
|PDQ_MinLib||1 year ago|
|toneAC2||1 year ago|
|README.md||6 months ago|
|bands.cpp||5 months ago|
|bands.h||2 years ago|
|button.cpp||1 year ago|
|button.h||1 year ago|
|button_press_e.h||1 year ago|
|button_timing.h||2 years ago|
|callsign.cpp||5 months ago|
|callsign.h||1 year ago|
|color_theme.h||5 months ago|
|colors.h||1 year ago|
|encoder.cpp||10 months ago|
|encoder.h||2 years ago|
|glcdfont.c||2 years ago|
|keyer.cpp||10 months ago|
|menu.cpp||2 years ago|
|menu.h||1 year ago|
|menu_main.cpp||1 year ago|
|menu_main.h||2 years ago|
|menu_main_buttons.cpp||1 year ago|
|menu_main_buttons.h||1 year ago|
|menu_np_ql_shared.cpp||1 year ago|
|menu_np_ql_shared.h||1 year ago|
|menu_numpad.cpp||1 year ago|
|menu_numpad.h||2 years ago|
|menu_numpad_buttons.cpp||1 year ago|
|menu_numpad_buttons.h||1 year ago|
|menu_quicklist.cpp||1 year ago|
|menu_quicklist.h||1 year ago|
|menu_quicklist_buttons.cpp||1 year ago|
|menu_quicklist_buttons.h||1 year ago|
|menu_utils.cpp||1 year ago|
|menu_utils.h||1 year ago|
|morse.cpp||1 year ago|
|morse.h||2 years ago|
|nano_font.cpp||1 year ago|
|nano_font.h||2 years ago|
|nano_gui.cpp||1 year ago|
|nano_gui.h||1 year ago|
|pin_definitions.h||1 year ago|
|point.h||2 years ago|
|push_button.cpp||1 year ago|
|push_button.h||1 year ago|
|scratch_space.h||2 years ago|
|settings.cpp||10 months ago|
|settings.h||1 year ago|
|setup.cpp||1 year ago|
|setup.h||2 years ago|
|si5351.cpp||1 year ago|
|si5351.h||1 year ago|
|toneAC2Proxy.cpp||1 year ago|
|touch.cpp||1 year ago|
|touch.h||2 years ago|
|tuner.cpp||1 year ago|
|tuner.h||1 year ago|
|ubitx_cat.cpp||1 year ago|
|ubitxv6.ino||1 year ago|
|ui_touch.cpp||2 years ago|
|ui_touch.h||2 years ago|
|utils.cpp||2 years ago|
|utils.h||2 years ago|
|version.cpp||1 year ago|
|version.h||2 years ago|
This project is found at https://github.com/reedbn/ubitxv6/
It was forked from https://github.com/afarhan/ubitxv6/
The purpose of this project is to clean up (modularize) the source code, and add features that were not present in Ashhar's original version of the project, without requiring any hardware modifications to a stock uBiTXv6.
New features include:
- Much faster screen refresh (vs Ashhar's 6.3.1 aka 6.0 release)
- Morse code readback for sightless operation
- Save/recall your favorite frequencies
- When adjusting settings, the existing/current setting is shown as reference
- Cancel touch recalibration
Installing on Your Radio
There are plenty of tutorials on how to upload sketches to Arduino Nanos. Just search for them. Addtionally, Ashhar created a video explaining the process specifically for uBiTX v6: https://www.youtube.com/watch?v=3n_V3prSJ_E
I developed this code using the Arduino IDE 1.8.9 toolchain, with -Wall and -Wextra compiler options turned on. Arduino IDE 1.8.13 was reported to compile too big (see https://groups.io/g/BITX20/topic/75008576), but this should be resolved in this project's tag R1.5.1.
To edit the callsign displayed, open the file
callsign.cpp and change the string. Then re-compile and upload.
There are some features that would be good to add, but I just didn't get around to.
- Setting to choose the tuning step size
- Setting to choose whether or not the knob tuning should accelerate (current behavior) or have a fixed interval
- Provide an option in each menu screen to load the default option for each setting
While the current code (as of 2020-05-05) is ~100 bytes shy of the full 30720 available on the nano, there's still opportunity to add new features by "creating" room. Below is a list of places you might create room:
I added lots of bounds checking, especially on string writes, that, if removed, could free a good number of bytes. While keeping them is best practice, for a non-IoT, non-critical piece of hardware, it shouldn't be a huge issue.
I added the RACK to the CAT to better emulate the FT-817 (I hope, at least!). Removing the RACK's and just leaving the default ACK's will also free up bytes.
I added a bunch of strings to the menuing with the intention of helping people understand their functions, but technically they're not necessary, and could all be removed.
I switched to a smaller footprint font than Ashhar's original code, but there are MUCH smaller fonts out there. Changing to a lower resolution, scaled up font can save hundreds or thousands of bytes, but won't look as pretty. Also, the star, gear, and numpad icons will need to be either added to the new font, or replaced with characters.
The first change I made to this fork was to replace Ashhar's original (incredibly slow) screen drawing routines with PDQ. Since that change, Ashhar has updated his drawing routine to be MUCH faster than his original, but still slightly slower than PDQ. It may be that Ashhar's new routines are smaller that PDQ, but I don't actually know that for certain.
There are a good number of instances of back-to-back calls of strncpy_P and displayText. Creating a single function that performs these operations together, and then calling that new function instead of the back-to-back calls everywhere may save space.
The majority of this code is released under GPL v3 license, per Ashhar's original code.
The files in the PDQ_MinLib subdirectory were copied from https://github.com/XarkLabs/PDQ_GFX_Libs, and have Adafruit's BSD License.
The files in the toneAC2 were copied from https://bitbucket.org/teckel12/arduino-toneac2/wiki/Home, and are GPL v3 licensed.