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: #ubitx #ubitx-help
#ubitx-help
#ubitx
No mention of "fuse" here:??
toggle quoted message
Show quoted text
What looks like a fuse at the top left of the schematic is labeled "ON/OFF", so I take that to be the power switch on the volume pot. The 26 gauge stranded wire in the wiring harness might be considered an adequate fuse by some. Unfortunately that comes after the shunt protection diode.? As you so rightly pointed out.? ;-) Jerry On Tue, May 22, 2018 at 03:13 am, ajparent1/KB1GMX wrote:
For the life of me I do not understand why the diode is before the fuse. |
Re: Coding for JackAl
Jack Purdum
Are the filters/equalizer/etc. compatible (as blocks) with that Teensy visual system audio library they have? All: JackAl uses the audio board and its library, so, yes, very much so. Please note: Because I feel very strongly about the safety that type checking brings to the table, there are are currently 12 source code files: one *.ino file, one *.h file, and ten *.cpp files. One of those files carries a fairly stern warning in a comment at the top about making changes to it, as messing that file up may well ripple through the rest of the code, especially the filters that we've added. Of course, we encourage everyone to experiment with the JackAl board and is the primary reason that we picked an expensive processor: You have a mega-munch of memory resources (currently over 800K idle), a small knot of empty I/O pins, and a 10x clock speed to experiment with. That said, I strongly urge experimenters to create a new *.cpp file for your changes/additions. There's nothing magical about using *.cpp instead of *.ino. For the most part, it can be straight C code. Because I choose to do things this way, I needed to add a header file (MyButtons.h, which I will likely rename to JackAl.h) which contains little more than symbolic constants, prototype definitions, EEPROM offsets, and extern declarations for the project. The header file is important so that type checking takes place across files. That is, if you write a new function: ??? void MySlickFeature(int whichButton, int whichDisplayPage) ??? { ??????? // all your new code... ??? } Then the function prototype in the header file is just a copy of the function's signature: ??? void MySlickFeature(int whichButton, int whichDisplayPage);????// Add to header file ?Doing this makes sure you call it with two integer variables and that you don't try to use it as though it has a return value: ??? callDone = void MySlickFeature(int whichButton, int whichDisplayPage);?? // ERROR!! ?as that would be an error since it's a void function. Also, suppose you have a global name slickFeatureColor defined in your new *.cpp file, but you must let other files know about it so those files can use it. The header file would then need this statement: ??? extern int slickFeatureColor; The extern keyword tells the compiler: "You're going to see a variable used in several files named slickFeatureColor. Even though you don't know its memory address right now, you may use it as an int data type in those files." What this does is allows the compiler to create an attribute list (e.g., name and type) in the symbol table, but put two question marks in that table for where it resides in memory (its lvalue). (This is precisely what a data declaration is, but most programmers use the term declaration and declare when they should say "define". The terms "define" and "declare" are TOTALLY different things. That is, a data declaration is an attribute list, but without a defined memory space.) Then in your CPP file you have: ??? int slickFeatureColor; When the compiler sees this statement, it uses the Memory Manager to find a memory location where slickFeatureColor will live (i.e., its lvalue). Now, when the linker pass ties everything together, it can use the symbol table to take the proper memory address and put it where the two question marks are. If you define a variable, its memory address is known, unlike a data declaration. So, what do you gain for this extra work? First, debugging will be easier because you now can't call a function with the improper number of function parameters, you can't call it with improper types of parameters, and you can try to use it improperly in an assignment statement (i.e., if the function returns a float but you try to assign the return value into an int). This is the real value win for not using all *.ino files. However, there is another one. Second, the GCC compiler that hides below the IDE can do "incremental compiles". As you work, suppose you are only changing your new *.cpp file. The compiler has a "dirty flag" for each file. If you're mucking about in only one file, only that file has its dirty flag set. When you go to compile, the compiler looks to see which files have the dirty file set. Since only one file has a set dirty flag, only that file gets recompiled! The linker can then take the old object files and splice the newly-compiled code into it, saving somme time. When I start work in the morning (i.e., all? dirty flags set), it takes almost two minutes to compile the JackAl code, and my machine is no speed slouch. However, because one tends to work with only one or two source files at a time, subsequent compiles may take 15 seconds to compile/load. While a reduction of 1.75 minutes may not seem like much, run that out to a 100 compiles a week and you're talking about almost wasting 3 hours twiddling your thumbs. This is a long explanation, but hopefully it serves two purposes: 1) to explain why JackAl has only one INO file, and 2) to encourage you to make your additions as CPP files. Jack, W8TEE
On Tuesday, May 22, 2018, 8:28:45 AM EDT, bobh_us <rwhinric@...> wrote:
Agreed. Great work. Mine will have that plexiglass panel. Makes the display pop. All kinds of gamer pc lighting possibilities. And the visual ¡°works¡± very Mr. Machine-like. Are the filters/equalizer/etc. compatible (as blocks) with that Teensy visual system audio library they have?? Can¡¯t wait. |
Tom I appreciate your effort. I received a question about MAC from a number of users.?But I did not have a MAC and it was difficult to test. Your test has helped me a lot. Thank you Ian KD8CEC 2018-05-21 18:02 GMT+09:00 Tom, wb6b <wb6b@...>: Hi, |
Re: ubitx code version 4.3 for review, testing
Ashhar Farhan First of all, congratulations on recent things. You did a hard job in a busy schedule. I have confirmed that you have maintained the existing code and have at least a few modifications. It will satisfy users who want to keep existing code. (usage 57%) I accept whatever you decide.? and I will test your new firmware. Ian KD8CEC 2018-05-22 17:24 GMT+09:00 Ashhar Farhan <farhanbox@...>:
|
Re: Nextion Display
I am interested in this too. I have not received ?my ubitx yet but have been playing around with the Arduino and stm. I've ?not had much luck with stm ?f303k8 ?nucleo , mostly because like it has been mentioned library ?issues ?I have not tried ?the ?blue pill or the f4 boards I have.
-- 73's ?kn4ud Allen ?Merrell |
Re: JackAl Board Debut
Agreed. Great work.
Mine will have that plexiglass panel. Makes the display pop. All kinds of gamer pc lighting possibilities. And the visual ¡°works¡± very Mr. Machine-like. Are the filters/equalizer/etc. compatible (as blocks) with that Teensy visual system audio library they have?? Can¡¯t wait. |
Re: Raduino CAD Files
My present layout (on the screen now) extends the Raduino width about an inch or so to the right (inside). The Pill board is set in toward the left about 1.5", leaving room on the right for a very short USB pigtail from the Pill USB connector that solders to the Raduino board. There's a Micro USB connector on the Raduino board that connects to all the USB signals from the pigtail, but has a breakout for a Schottky diode in the 5V path. All of this should fix the dual-power problem while allowing an unmodified Pill to be used.
I'm providing a couple connectors for the I2C bus and the SPI bus, and all the unused Pill I/O's will go to yet another connector. I'm putting a capacitor coupled DC voltage divider on one of the Pill analog inputs for audio input to drive my software S-meter. Perhaps there should be optional voltage dividers on other analogs? For now, I'm calling this the "Raduino Pill". Comments/Suggestions? Joe W3JDR |
Re: Socketing a Nano to the other side of the Raduino
Rod Davis
¿ªÔÆÌåÓýAllison and all, with the KD8CEC firmware you can opt for a I2C
display Rod KM6SN
On 05/21/2018 07:23 PM,
ajparent1/KB1GMX wrote:
Why not remote it some from the mainboard and put a box around the back of it |
Re: Transmitter Mods
The problem is everyone wants a simple swap this part a poof its wonderful.
Applying a simple fix to only one stage is not going to achieve that. The IRF510 has been used to ge high power it can with attention to feeding it and mating the output.? In uBitx case the problems start earlier with power to actually drive it. A lot of looking and testing says several problems are concurrent. Drive diminishes with increasing frequency.? This impacts Q90, the predriver and the driver stages. With the finals remove I get nearly .1W drive at the driver output and considering the gain of the IRF510 1.5W is not unexpected.? However at 80M we get over a .6W!? We have to first fix the drive issue.? If we can get .5W at 10M we should expect to see 10W or more. 2n3904 Hfe decreases with increasing current, and the HFE spread is wide so some are running at high current.? This impacts the first three stages and compounds the above issue.?? Output transformer is less than optimum.? One FT43-50 is marginal for 10W. Those issues combined leave the poor IRF510 in a state of doing the best it can with both hands tied.? ?So far I've rolled in several of the mentioned mods plus a few of my own.? My goal is to flatten the gain curve to 10W on 80M and 9 on 10M or better.? I'm getting close on this.? With RV1 full up I've seen more than 10W on 10M with?13V dc power. Allison |
Re: boosting the power on 28 MHz
#ubitx
Gordon Gibby
toggle quoted message
Show quoted text
|
Re: boosting the power on 28 MHz
#ubitx
RIght now I'm using 2n2222A with acceptable results.
The KSP10 might be ok too, I like the price.? ? MPSH10s are on the way already but will not have time to use them?till next week. Right now rather than device suggestions I'll take all your free time.? ;) Allison |
Re: #ubitx #ubitx-help
#ubitx-help
#ubitx
For the life of me I do not understand why the diode is before the fuse.
The fuse should always be first as it needs to operate for all faults even reverse polarity. Allison |
Re: #ubitx #ubitx-help
#ubitx-help
#ubitx
I know it's not the best but the shunt diode did protect my MTR 5. My problem was I did NOT have a fuse in the line so the smd diode let the smoke out (opened up as it vaporized). I now fuse all B+ lines (or is that A+ in solid state). Thanks for your comments.
toggle quoted message
Show quoted text
Dave K8WPE On May 22, 2018, at 2:47 AM, Jerry Gaffke via Groups.Io <jgaffke@...> wrote: |
ubitx code version 4.3 for review, testing
peeps, jack, ian, allard, arv i have created a next version of the base software after thinking hard about it. you can download it from?. I invite you all to test it. if you are not familiar with C code or Arduino programming, I suggest you wait for a few days until we get all the bugs sorted out. This is only for the Arduino regulars. Sending bugs: Send me the bug reports directly to my email farhanbox@.... In the subject line use the word "#ubitx40". I will try to answer all emails but I can't promise responses to all.? Before you start reviewing the code, let me give you a heads up of what to expect. Going by the general mood, I have taken the call to substantially borrow from Ian, KD8CEC's code and back port it to the original ubitx code. I guess that the new code has about 10% more lines but it is substantially more robust and useful.? The main features that I cherry picked from Ian's code are: 1. Keyer. You have to choose which keyer to use, but the keying is much better and robust now. This code is a total copy/paste of Ian's keyer. The auto-keyer (that sends out preset phrases in cw) is left out. The Iamabic A, Iambic B and the handkey sending works very well. 2. CAT control. Given the popularity of FT8, I rewrote the cat by following Ian's code but rewrote it to follow the ubitx coding conventions. It is a miminal set. 3. Split operations: My own interest of working with satellites have prompted me to add split operation.? 4. Rationalized menus: The menu system is now more consistent. 5. Tuning mechanism. The accelerated tuning works, though it doesn't jump randomly like before nor does it work at that speed. For very long band changes, it is recommended to do that through the menu option to change the band. Among the things left out was support for different other types of displays, wspr beacon and many other goodies. The eeprom memory map is kept consistent with the KD8CEC's plan. You can switch between both the codes easily. I have kept usage of english words at a minimum.?? - f |
Re: #ubitx #ubitx-help
#ubitx-help
#ubitx
It's certainly possible that it works in some cases.
toggle quoted message
Show quoted text
But without a fuse, that shunt diode scheme is not an insurance policy I'm willing to buy. Worse than nothing, it gives is a false sense of security. Please add a fuse between the supply and the shunt diode. Whether that shunt diode fails with a short or vaporises to an open depends on the supply you hook it up to. Have you ever seen ham gear running off a car battery? Have you ever seen what a car battery can do to a crescent wrench? I'd recommend a series schottky diode for 12v into the main uBitx board (but not for PA-PWR into the IRF510's.) We can well afford a 0.3v drop there. Ideally, that diode would be rolled into the next rev of the uBitx board. A 0.5 amp fuse there would also be a good idea, but the diode protects without any maintenance required. And if you really care, a 12v LDO such as the LM2940-12 to prevent overvoltage, this part also gives reverse protection so could do away with the series schottky diode. The IRF510's should have a 3A fuse in the PA-PWR line. That's likely enough, as the intrinsic diodes in the IRF510's will conduct if that supply is reversed. Could burn those chokes on the drains, maybe some traces, but that's about it. Easily fixed.? A shunt diode on PA-PWR after that 3A fuse is not a bad idea. But just a shunt diode at the power connector and no fuse? Bad idea. Jerry, KE7ER On Mon, May 21, 2018 at 10:36 pm, WA9PWR wrote:
Tell that to varidur.? Reverse protection diodes are cheap insurance. |
Re: boosting the power on 28 MHz
#ubitx
Hi, is the 330pf across the PA transformer mod all what is needed to get reasonable output (5w) on 28mhz or should I also make the Farhan mods ( Replace C81 from 0.1uf to 470pf Replace R83 from 10 ohms to 2.2 ohm (you can short R83 as well) Replace R97, R98 from 47 ohms to 220 ohms Remove C261, C262)? Should I also change R63? Should I reduce drive via RV1? 73 Franco Il 21/mag/2018 17:13, "atouk" <atouk@...> ha scritto: Since it's always nice to have someone doublecheck your work, would this be the proper place to add the cap if you mount it on top of the board? |
Re: #ubitx #ubitx-help
#ubitx-help
#ubitx
Tell that to varidur.? Reverse protection diodes are cheap insurance.
|
to navigate to use esc to dismiss