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: unboxing the ubitx v6
Rafael,
For radio audio out to pc line in, a stereo cable will do. On the other way around use two stereo plugs but leave the mid section of the plug disconnected. The mid section on the mic input is the PTT, hence a mono plug will put the radio in tx continuously. Using a regular stereo cable can lead to erratic behavior, as the radio will understand some low voltage as PTT pressed. 73 de PU1OWL Rafael Pinto |
Re: unboxing the ubitx v6
ok. I'm on air on the 40m band, the radio is wonderful
toggle quoted message
Show quoted text
for data modes, apart of the PTT I can do over serial, for the audio path, which cables should I use to connect to line-in and line out of a sound card? Normal mono or stereo jacks, or something else? Cheers, Rafael On 1/5/21 8:28 PM, Rafael Diniz wrote:
Hi there, |
unboxing the ubitx v6
Hi there,
I bougth a ubitx v6 basic kit, and I'm wondering what to do with the two parts cut with the shape of the ubitx? It there a "case guide" on how can I get my ubitx in a nice casing? And btw, in the 12v jack, the positive is the center, and negative the outer side of the jack, right? Yay! I'll be on air soon. Rafael PU2UIT |
Mrf101 for sale
Anyone interested in a pair of MRF101 power FETs. I have a pair of them, never used and in the original sealed packages from Mouser.
One is the AN the other the BN version. Asking $40 for the pair shipping included to conus. I changed my plans for these devices, so they are surplus to my needs. Contact me off the group.io kthreebo@... Barry |
Re: Firmware up date!
Jon,
I will assume that the path in your first post is correct.? Then the window should contain: D:\uBitx V5\uBITX_CEC_V1.200\uBITXV5\UBITXV5_CEC_V1.200_NX.hex You can check this by clicking on the box with the ellipsis (three periods) and verify that the file is found. For my file locations the window looks like this: You will need to set the com port to match the one assigned by your setup, and set the baud rate to 38400.? I am not at my QTH, so cannot show you the actual settings for my computer. If you do change out the Nano, then you will need to recalibrate the uBITX.? The calibrations are stored in the EEPROM of the Nano.? Here is a video of how to do a stock calibration by Ashhar Farhan: You follow the same general steps with the KD8CEC software, the difference will be how to change the calibrations.? For me, I use the "yellow box" menu that comes up when you press the encoder.? You then need to go to the menu selection for "SETUP" and turn it on.? Press the encoder again, and then the BFO and Calibration settings are now listed as choices.? go through the three steps: 1 - Adjust the BFO to the lower side of the audio range (the 300 H line) to ensure that the lower frequency beats come through. 2 - Calibrate the rig to a known AM station (One of the WWV at 5MHz, 0r 10MHz works for me). 3 - Go back and readjust the BFO to center between the 300 and 3000 Hz bars. Between each setting you will need to press the PTT or the Encoder to save the stting, then power down the rig for 10+ seconds and restart to ensure the setting took.? Depending on the Nextion screen selected, the settings can be read on one of the screens.? That is a good way to verify that your change made it to the Nano. There is also a Memory Manager program that works with the KD8CEC firmware to save and restore the settings value. Hope this helps. 73 Evan AC9TU |
Re: WSJT-X 2.2.2
Does Serial.available work?
Thanks for letting me know. I just ordered some Nano Every's (should arrive Thursday). I went ahead and download the board setup for the Nano Every and tried to compile my sketch.? It looks like I need to redo my timer setup (I was writing directly to the timer setup bytes) and the board setup is missing the macro digitalPinToPCMskbit.? It's starting to sound like the software designers only worried about getting the high-level features working. 73, Mark, N8ME |
Re: WSJT-X 2.2.2
I didn't know that about serialEvent. I hadn't looked past the name.
So that really begs the question why my code is working. The only thing I see is that I am checking for Serial.read() to return -1 and ignoring that. The -1 return means that the read timed out, which doesn't make sense since you (and my old) code was only calling Serial.read() when Serial.available() indicated data was available. As a test, you could check your calls to Serial.read() for a -1 return. 73, Mark, N8ME |
Re: WSJT-X 2.2.2
Hi Dean.
You can use a programmer to load the sketch. With this method, the bootloader portion will not be present. program the Nano from the Arduino IDE ? ? Sketch ->? Upload Using Programmer For my programmer, I use an Uno R3 with the Example:ArduinoISP" sketch loaded.? You can always put the bootloader back.? I did a write up on this ~31Dec20. However when you burn a new bootloader, the EEPROM is zeroed. I keep a backup of factory EEPROM and for anything that I have 'tuned'.? Use avrdude to read and write. With Nano clones so affordable, I learn / play with additional boards and keep working 'Golden Units'. I realize that not having a bootloader on the Nano is not the end solution, but it may aid in debugging the problem. I also understand that the behaviors described by you and Mark and interpreted by me don't identify the exact source / correction of the problem. It is nebulous to me what is going on with the ports/ buffers and further complicated by USB.? e.g. does the putty session get this all in order. Then you have a delay between closing putty (DTR)? and opening WSJTX without DTR. My understanding is that If the bootloader is programmed, it is always involved. Out of reset, waiting to see if it should upload a new program, timeout if nothing to upload, then proceed to the sketch. Without the bootloader, the sketch starts right out of reset.? So this will reduce the time between a reset (DTR) and when the serial port on the Nano is ready for communication. Rgds, Gary |
Re: Firmware up date!
Hi Evan
I am going to use another NANO and keep the stock one as a stand by? As for the file name what I showed here is the way it is showing in the Xloader, so do I delete this part (D:\uBitx V5\uBITX_CEC_V1.200\? BITXV5\? And just leave this in Xloader UBITXV5_CEC_V1.200_NX_S.hex)? With out the S?? |
Re: Firmware up date!
Jon,
The _S at the end of the file name indicates that you will be connecting a second stand-alone Nano for other functions.? If you are not connecting the second Nano, then the version without the _S at the end is the correct one for the v6. The file name is: UBITXV5_CEC_V1.200_NX.hex in the directory where you unzipped the zip file. 73 Evan AC9TU |
Re: WSJT-X 2.2.2
Hi Mark -?
Thanks.? That's curious. I wouldn't have thought that would make a difference.? Despite its name serialEvent is not interrupt driven.? It is implemented using Serial.available so the behavior should be pretty close to identical.? If you want to dive deeper? take a look at the Arduino main.cpp - in the main loop it calls your sketch loop() and then calls serialEventRun() which is implemented in HardwareSerial.cpp.? serialEventRun() checks Serial.available and then calls your serialEvent if defined.? The way you have coded it you are only getting one byte each time through the loop anyway - and there may be more in the input buffer.?? You can find the Arduino source here...??C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino If I get a chance I'll play around with it today. 73, Dean KK4DAS |
Re: Different Nano's
I downloaded the Nano Every Board setup into the Arduino IDE and tried to compile my firmware sketch.
It failed on digitalPinToPCMskbit() which converts a digital pin ID to the appropriate bit in the output register. But more severely, it failed on the low level writes that I was using to set up timers: TCNT2 TCCR2A WGM21 OCR2A TIMSK2 CS22 | CS21 | CS20 Doing some online research, it looks like the timer setup is different. 73, Mark, N8ME |
Re: Frequency calibration on a lab
#bfo
#calibration
#frequency
Very good HAM setting, used only one instrument, but is not the best for laboratory setting, you not have any referent to the real frequency received; the error is very low, but is possible make something of better in a laboratory.
73 de
--?
IW4AJR Loris |
Re: Frequency calibration on a lab
#bfo
#calibration
#frequency
I used a frequency counter to tune my uBITx v6 just two days ago.? I set the display to the center of the bands (16600 khz), then entered 'Set Freq...' mode.? Then I adjusted the clk2 frequency at TP12 to as near 45.005 Mhz above the display frequency as I could get (in my case I obtained 61.604939 Mhz when targeting 61.605 Mhz).? ?The tuning adjustment on the screen was 189000 for my radio.? ?After I saved the frequency tuning value, I tuned the radio to WWV on 5000 Khz, and adjusted the BFO by ear.? My final BFO setting was 11.056.8.
|
Re: WSJT-X 2.2.2
Dean,
My code is a little different. In setup(), it calls Serial.begin() and Serial.flush() like your code. My CAT handling is done in a Serial.event() function. This is called whenever there is a character available to read (or so says the documentation).? void?serialEvent(void)?{
??long?frequency;
??byte?temp1,?temp2;
??int?c?=?Serial.read();
??if?(c?>?-1)?{
????cmd_buffer[cmd_byte_ct++]?=?(byte)?c;
??}
??if?(cmd_byte_ct?==?5)?{
????cmd_byte_ct?=?0;
?
Then process the command. cmd_buffer is a 5 element byte array. cmd_byte_ct is a global variable initially set to 0. My original code was like yours in that it assumed that if Serial.available() returned 5 or more that Serial.read would always be able to read 5 bytes (I actually used Serial.readbytes(buffer, 5), but the way my program behaved, I'm not sure that was a valid assumption.? With a few hours testing WSJT-X versions 2.1.2 and 2.2.2 and with FLDigi (using hamlib) it seems to work, after a firmware upload or after a power cycle.? It was a little less reliable until I added the Serial.flush() in setup(). Thank you for that idea. 73, Mark, N8ME 73, Mark, N8ME |
to navigate to use esc to dismiss