Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- BITX20
- Messages
Search
Re: Trouble ahead
Tom That library looks interesting.? It is event driven (when a routine finishes it falls through to the next routine in the series).? I will have to take a serious look at that code. Tiny basic looks like one could change the prompts and call it something else (but still the same tiny basic under the covers)!??? 8-) Thanks, Arv _._ On Tue, Mar 23, 2021 at 2:55 PM Tom, wb6b <wb6b@...> wrote: On Tue, Mar 23, 2021 at 10:41 AM, Arv Evans wrote: |
Re: Trouble ahead
On Tue, Mar 23, 2021 at 10:41 AM, Arv Evans wrote:
Each callable routine in the main loop will do one thing andHi Arv, Looks like a good idea for how to break up project code, a little like a RTOS, but much lighter. Such as code segments must not run for a long time. I wonder if that is a little like what this Arduino library does?? Thinking. about scripting languages. Googled around and found an implementation of the good old Tiny Basic for the Arduino (I assume the ATMega328). The only problem with Tiny Basic is perception. You could show up at a party with the elaborately crafted Steampunk robotic automatic drink dispenser. But once someone asks about what activated the solenoid valves to mix the fluids, and you say Tiny Basic, they will pull their steampunk goggles by the stretch strap from their felt top hat, snap the dark lensed, round silvery rusted metal goggles back over their eyes and walk away. Tiny Basic brings back memories of building little projects the the Basic Stamp boards. That was actually pretty amazing at the time. Tom, wb6b |
Re: Problems with adding Nextion Display and CEC Software
Max,
To get into the calibration menu you need to press the encoder on the main screen.? A yellow box should come up with Band?? You can then rotate the encoder to get the Setup On? menu selection.? Press the encoder and the screen clears.? Press the encoder again to now get the setup options near the end of the list of menu items.? There should be calibration and BFO options as well as some others that I do not remember off hand. Once you get the rig calibrated, be sure to save the settings with the KD8CEC Memory Manager: You can then use it to adjust other options easier than with the yellow box menu. 73 Evan AC9TU |
Re: Problems with adding Nextion Display and CEC Software
Evan, yes I'm aware of what software works with which display. But after trying numerous times I was finally able to get the Nano (a different one, Reeds firmware is still on the original one) programmed with the CEC firmware and the Nextion is looking much better. But I haven't been able to figure out how to calibrate this thing with the CEC firmware. Getting closer, just not all the way there yet. Thanks for any help, Max KG4PID
On Tuesday, March 23, 2021, 02:27:33 PM CDT, Evan Hand <elhandjr@...> wrote:
Max, When you swapped back to Reed's software did you change out the Nextion as well?? Reed's software only works with the stock ILI9341 display and the KD8CEC software only works with Nextion (or one of the text-based displays in the files list).? Let us start with what happens when you first turn on the rig with the Nextion and KD8CEC firmware in the Nano?? Does the frequency show up, and can you chage the frequency with the encoder? Let's start with that and see what you get. 73 Evan AC9TU |
Re: ubitx v6.1 on ft8
David,
The v6 software does include CAT control.? You connect the ?BITX with a miniUSB cable (not the micro as is common with smartphones today).? You do need the driver for the CH340 chip installed and you use the Yeasu FT817 as the rig type.? Depending on the quality of the audio connection, you may need to add an inexpensive USB audio dongle.? I did that plus used the transformers from an EasyLink to isolate the grouds.? There are a lot of people in this group that have wired direct without the transformers.? I would try it, and if problems then add the 600ohm isolation transformers. 73 Evan AC9TU |
ubitx v6.1 on ft8
david todd
Hello everyone,
I am using a signalink for my connections now with no mods.But i want to get rid of the signalink altogether to use it on my patcomm pc-500 so can the ubitx v6.1 connect via cat without any software changes? also if i need software changes does anyone have a hex file i can install to do this without changing the stock tft display? Current stock display a little sluggish but im using it as is. To summarize? can the ubitx v6.1 use cat control without software mods. if not, which hex file can i use that will work with current stock display. Thanks, David |
Re: Problems with adding Nextion Display and CEC Software
Max,
When you swapped back to Reed's software did you change out the Nextion as well?? Reed's software only works with the stock ILI9341 display and the KD8CEC software only works with Nextion (or one of the text-based displays in the files list).? Let us start with what happens when you first turn on the rig with the Nextion and KD8CEC firmware in the Nano?? Does the frequency show up, and can you chage the frequency with the encoder? Let's start with that and see what you get. 73 Evan AC9TU |
Re: Ubitx v6.1 cat control
On Thu, Jul 2, 2020 at 06:36 AM, Dean Souleles wrote:
Barry -? With other radios ( I presume the ubitx is no different ) it is VERY discouraged to directly connect audio ports do to the possibility of a ground loop issue. It is best to use isolating transformers for this. There is one kit I have purchased in the past that was inexpensive. (I cannot find the purchase right now) I would also go so far to say its recommended to have isolation in the usb connection as well.? I'm not saying this method won't work, it is just risking causing issues with your computer or radio or both. I found a pack of 10 audio xfmrs for ~$11 on amazon so it wouldn't be difficult to create your own.? 73 |
Re: Problems with adding Nextion Display and CEC Software
I'm pretty sure that is the same version of Xloader that I was already using. The file dates are different but the file sizes appear the same. Tried it anyway but with the same results. Both say version 1.0 What puzzles me the most at this point is the fact that I swap out the nano with the one that had Reeds firmware on it but even it has problems since I can't get into the Calibrations. That makes no sense to me since that Nano was running fine and has Not been reprogrammed. Do different Nano clones have different boot-loaders installed? I'm pulling out what little bit of hair I have left trying to figure this all out. Thanks for any help. Max KG4PID
On Tuesday, March 23, 2021, 11:34:41 AM CDT, Evan Hand <elhandjr@...> wrote:
Max, There are at least two different versions of Xloader, one is for model airplanes and one for general purpose ATMEGA328p loading.? You need the general purpose one.? I found it here: There are other locations, you need to ensure that one of the choices is the Uno(ATmega328) as well as having the driver loaded (since you can load Blink, then the driver is loaded). Try that and see if the Nextion screen updates.? The symptoms that you are describing agree with what I found when using the wrong Xloader. 73 Evan AC9TU |
Re: Trouble ahead
Tom Very interesting questions.? I have to admit that going back to Forth might be painful, even for us older and long past users of the language.? I do have an Arduino with a TF card socket and a couple of 512 GB TF cards.? That was installed to support work on building a way to page external executables from the TF card into flash memory.? The experiment failed...not because it is not possible but because I reached my own MLI (Maximum level of Incompetence).? The project is still in my files in case I want to resurrect it.? Jack and myself touched on it briefly but it was just a question or two. More recently I have been working on a pico-OS and scripting environment for the Arduino.? It works but still has a way to go before going public with it.? While working on that OS idea it became very apparent that the OS could very easily be made into an RT (Real-Time OS) by simply using the AVR/Arduino microsecond timer to build out each routine called by the main loop to a fixed execution time by adding delay to make each routine comply with the RT granularity.? FYI This idea started out to be an April 1st article but it quickly became obvious that it did have some real potential. Using the standard Arduino IDE layout for a sketch with conventional "void startup" and "void loop"? makes up the basis for the static and dynamic parts of the OS. --------------------------------------- ? /* pico-OS.uno ?* ?Arvid Evans K7HKL ?* ?1 April 2021 ?*/ ? ? ?*/void setup() { ? // put your setup code here, to run once: ? // this becomes the OS BIOS and BOOT section. ? // all variables are defined here and all are global ? // to avoid needing garbage collection. } void loop() { ? // put your main code here, to run repeatedly: ? // put calls to applications here inside this loop. ? // time them and build out each call to match RT granularity. } /* DEVELOPER MANUAL: ?* ?The "void loop" part is the core of the OS. ? ?* ?All variables are Global (avoids needing a garbage collector). ?* ? ?* ?The main loop will contain "long int loop_Start" from AVR ?* ?microsecond clock and "long int loop_End" which allows DEBUG ?* ?mode timing of each run around the loop. ?* ? ?* ?"int DEBUG can be set to any value from zero (DEBUG = OFF) ?* ?to the total number of callable routines in the main loop. ?* ?This allows each routine to have DEBUG ON or OFF for that ?* ?particular routine.? Negative DEBUG modes are global, while ?* ?positive DEBUG values are routine specific. ?* ? ?* ?Each callable routine will have a start value from the AVR ?* ?microseconds clock and an end value which allows calculation ?* ?of the delay build-out to match RT granularity. ?* ? ?* ?Each callable routine in the main loop will do one thing and ?* ?one thing only to keep it small and fast. ?ie, (getting ? ?* ?characters from an attached terminal reads one character only ?* ?per pass around the main loop, and adds that character to a ?* ?"char keyboardBuffer" until it receives a Carriage Return, ?* ?which causes it to process the command stored in ?* ?"keyboardBuffer).? Other callable routines from the main loop ?* ?work in a similar fashion.? This helps with RT granularity and ?* ?makes each transition of the main loop go very fast. ?* ? ?* ?If using C++ routines found in arduino.h, there may be situations ?* ?where a small and direct Garbage Collection Routine ?*? may become necessary.? Only time and use of the C++ ?*? routines can be used to determine if this is necessary. ?* ? ?* ?The user interface or "shell-s script" language has yet to be ?* ?determined.? It may be a partial implementation of the Bourne ?* ?Shell, a Python based shell, or something that is yet to be ?* ?designed and built. ?* ? ?* ?*/ ?/* USER MANUAL: ? * ?Yet to be written. ? */ ? --------------------------------------- Still lots of work to be done.? Will post more when it is finished...or fails. Arv _._ On Mon, Mar 22, 2021 at 8:45 PM Tom, wb6b <wb6b@...> wrote: All this talk about FORTH makes me wonder. |
Re: uBitX V6 no transmit power
#ubitxv6
#ubitx-help
#tx
Nick,
Rereading all of the posts from you, I believe that you could have an LPF problem.? Either in the selection (not so likely as 30 meters is OK), or in the components, or wiring.? You could check to see if the LPF gets warm on 7.15MHz, though I doubt that would be measurable by hand. There is also a possibility of an issue with the first mixer, though why only on 40meters does not make sense.? Visually inspect that area of the mainboard as well as the 30MHz LPF that L1 through L4 are used as inductors.? The signal at that point is very low (less than 200millivolts) so it would only be measurable with either an oscilloscope or spectrum analyzer.?? What test equipment do you have?? Maybe an oscilloscope? I would start with a very close inspection of the 40/30Meter LPF, and verify that the correct relay is bing pulled in when transmitting.? If that checks out, then I would pull one of the toroids and jumper around the filter to see the power into a dummy load.? If there is still an issue, then I am really at a loss as to why only 40meters. If you have a "T" connector for the coax that you are using, and you have the RF detector for your DVM built, Then you can use the detector to measure the voltage across the dummy load and use the formula from QRP-Labs to get an approximate power reading.? That is what the QRP-Labs dummy load is doing on the circuit boards. I would not suggest you do any enhancements until this issue is resolved.? Adding changes on top of the existing problem becomes more difficult to resolve. Here is the section of code where the LPF relays are selected: ========================================================================
void setTXFilters_v5(unsigned long freq){ ??
? if (freq > 21000000L){? // the default filter is with 35 MHz cut-off
? ? digitalWrite(TX_LPF_A, 0);
? ? digitalWrite(TX_LPF_B, 0);
? ? digitalWrite(TX_LPF_C, 0);
? }
? else if (freq >= 14000000L){ //thrown the KT1 relay on, the 30 MHz LPF is bypassed and the 14-18 MHz LPF is allowd to go through
? ? digitalWrite(TX_LPF_A, 1);
? ? digitalWrite(TX_LPF_B, 0);
? ? digitalWrite(TX_LPF_C, 0);
? }
? else if (freq > 7000000L){
? ? digitalWrite(TX_LPF_A, 0);
? ? digitalWrite(TX_LPF_B, 1);
? ? digitalWrite(TX_LPF_C, 0);? ??
? }
? else {
? ? digitalWrite(TX_LPF_A, 0);
? ? digitalWrite(TX_LPF_B, 0);
? ? digitalWrite(TX_LPF_C, 1);? ??
? }
}
=============================================================================== From it, you can see that for both 40 and 30 meters KB1 is on and KA1 and KC1 are off. This is the same code for both the stock and KD8CEC programs. Hope this helps, and Happy hunting for the bug! 73 Evan AC9TU |
Re: Problems with adding Nextion Display and CEC Software
Max,
There are at least two different versions of Xloader, one is for model airplanes and one for general purpose ATMEGA328p loading.? You need the general purpose one.? I found it here: There are other locations, you need to ensure that one of the choices is the Uno(ATmega328) as well as having the driver loaded (since you can load Blink, then the driver is loaded). Try that and see if the Nextion screen updates.? The symptoms that you are describing agree with what I found when using the wrong Xloader. 73 Evan AC9TU |
Re: uBitX V6 no transmit power
#ubitxv6
#ubitx-help
#tx
Just so I don't appear a constant bearer of bad news, I have made several QSOs! 'Real' 59 from Bulgaria and 44 from Ukraine. Both on 20m and 17m - no joy on 80m yet, though I'm not surprised.
What's changed? Nothing much. Reset BFO and Frequency - I can't imagine this had much impact. Perhaps mostly just the confidence of at least 7Watts? I still need to sort 40m TX so will work on this.? Bits for screen upgrade have arrived... Best, Nick |
Re: uBITx v5 with Nextion 3.5"
Here is another set of files for the 3.5" Basic Nextion from K3RTZ.? A quick search did not give a good source for the files, so have attached them here.
73 Evan AC9TU nextion 35 wide 2.1.tft
nextion 35 wide 2.1.tft
nextion 35 wide 2.1_1.tft
nextion 35 wide 2.1_1.tft
nextion 35 wide 2.1.HMI
nextion 35 wide 2.1.HMI
|
Re: Problems with adding Nextion Display and CEC Software
Jack, W8TEE
Max: I've never used the Nextion display, but if you are uploading to the Nano for the first time, make sure you have installed the CH340 or CH341 device driver. (If not installed, just do a search for CH340.) Once you have installed that device driver, most Nano's are clones, so you need to select the old bootloader (i.e., Tools --> Processor "ATMega328P"--> ATMega328P (Old Bootloader). Jack, W8TEE
On Tuesday, March 23, 2021, 12:12:11 PM EDT, Max via groups.io <kg4pid@...> wrote:
I just received my 2.8" Nextion display. I first loaded the tft file into the display. That went correctly (I think) and I now get the new screen on power up. I couldn't get Xloader to work, it just sat there saying "Uploading". Rebooted my win 7 laptop but no change. I tried two different PC's, three different cables and four different Nano's. Same results. But it worked fine a couple of weeks ago when I installed Reeds firmware. So then I installed "RC-Thoughts Software Loader" and it appears to install the selected file with no errors. It comes with two sample hex files, blink fast and blink slow. I tried both and they worked. So then I loaded the CEC firmware and wired up the display. The display looks correct except no data is updated on the display. I've double checked my wiring and even tried different Nano's with no change. Now when I replaced the Nano with the the one that had Reeds firmware on it (this Nano was working correctly and never reprogrammed after the initial upload) everything appears to work except I cannot get into the calibration setting. When I hit the settings icon (looks like a gear) it bring up the screen that lists... Calibrations CW/Morse Setup Reset All Cals/Settings Exit At that point it appears to be locked up. I have to turn the power off/on to get back to a working display.? At this point I'm not sure what to do next. Max KG4PID -- Jack, W8TEE |
Problems with adding Nextion Display and CEC Software
I just received my 2.8" Nextion display. I first loaded the tft file into the display. That went correctly (I think) and I now get the new screen on power up. I couldn't get Xloader to work, it just sat there saying "Uploading". Rebooted my win 7 laptop but no change. I tried two different PC's, three different cables and four different Nano's. Same results. But it worked fine a couple of weeks ago when I installed Reeds firmware. So then I installed "RC-Thoughts Software Loader" and it appears to install the selected file with no errors. It comes with two sample hex files, blink fast and blink slow. I tried both and they worked. So then I loaded the CEC firmware and wired up the display. The display looks correct except no data is updated on the display. I've double checked my wiring and even tried different Nano's with no change. Now when I replaced the Nano with the the one that had Reeds firmware on it (this Nano was working correctly and never reprogrammed after the initial upload) everything appears to work except I cannot get into the calibration setting. When I hit the settings icon (looks like a gear) it bring up the screen that lists... Calibrations CW/Morse Setup Reset All Cals/Settings Exit At that point it appears to be locked up. I have to turn the power off/on to get back to a working display.? At this point I'm not sure what to do next. Max KG4PID |
to navigate to use esc to dismiss