Keyboard Shortcuts
Likes
- SoftwareControlledHamRadio
- Messages
Search
Re: T41 V12 software development path forward
It was super easy to setup and upload, I down loaded the zip code, opened in IDE 2.3.6, did the 3 library updates, setup Teeny download variables and it compiled first time!
I did not change anything in the config.h file, was sure I would mess something up if I did.
Pressing the button on Teeny when everything is mounted in enclosure can be difficult, I see now where the button has a pad on Teeny, I will explore adding a PB for ease of erasing memory.?
Thanks Oliver and all the other contributors.
Now to start calibration routines.
? |
Re: T41 V12 software development path forward
¿ªÔÆÌåÓýHey Oliver, I have no problem with you moving the test routines to your GITHUB.? They surely will get more maintenance attention there than on my GITHUB¡ ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of Oliver KI3P via groups.io
Sent: Sunday, April 13, 2025 9:26 AM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] T41 V12 software development path forward ? The README file on GitHub describes how to set up the build environment and install all the required libraries: ? In general, you should try to test each board as you build it. The hardware repository contains a variety of sketches to do so: ? It would be nice to have a step-by-step guide to using these sketches to test a radio. Maybe you, or someone else out there, would like to write this as you test your radio and contribute it back to the group? |
Re: T41 V12 software development path forward
The README file on GitHub describes how to set up the build environment and install all the required libraries:
?
In general, you should try to test each board as you build it. The hardware repository contains a variety of sketches to do so:
?
It would be nice to have a step-by-step guide to using these sketches to test a radio. Maybe you, or someone else out there, would like to write this as you test your radio and contribute it back to the group? |
Re: T41 V12 software development path forward
Hi Jack, looking back I remember you and Al did take the first giant leap to modularize the code.? From the single-file SDR Convolution Receiver project, to multiple files.
?
I've done two different "modularizations", first the conversion of the magnetic loop controller to Pi Pico and then T41EEE (still in progress).
Both of these projects rely on the Adafruit GFX library.? It's not at the lowest of levels, but it's pretty low level.? Graphics updates are always slow and painful.
?
Regarding modularizing the display code, you can't really take that very far.? The problem is that the display gets involved in so many things.? "Decoupling" is difficult.
Certainly things can be improved, but it's tough to make progress when the display is so involved in almost everything, in one way or another.
The Pi Pico loop controller uses inheritance to try to clean up and reduce redundancy in the display code.? I think that helped, but only incrementally.
?
Looking at the compiler outputs posted here, it looks like the first priority for V12 code is efficiency.? Not much stack or even heap is left free.? I'm surprised it runs without stack crash.
?
--
73 Greg KF5N |
Re: T41 V12 software development path forward
Sounds like a plan.
I have V2 of the book, and will order the final edition in the near future.? I have the V12 board set.? I've made a few changes to the way the boards and controls are connected, so I will be modifying the code to interface them.? Specifically, I have only one tuning knob encoder that will be used for both the main and fine tuning, the function selected via one of the keypad buttons. I have two 12 switch keypads that will be scanned via an i2c keyboard interface module (adafruit TCA8418).? I've already identified how to code this.? I will submit my mods to the group. Right now, I only have the main board built, and my chassis box (large Amo Box) built up.? I've been busy with other projects, but want to get back to the T41 real soon.? Is there a good guide online for setting up all the libraries and the software build environment?? Also a sane testing procedure?? I'm sure things have changed a bit on this front as bugs have been ironed out. |
Re: T41 V12 software development path forward
Thank you, Oliver, we need a stable for slow bulders. On Sun, Apr 13, 2025, 8:12?AM Oliver KI3P via <oliver=[email protected]> wrote:
|
Re: T41 V12 software development path forward
All: I agree with everything Oliver has stated here. I should have done a better job of structuring the code from the outset, but at the start, it was just Al and I working on the T41, and we were anxious to see if we could just get it to work. Over time, the T41 Project morphed into a much bigger project than we ever envisioned to the point where we have 3200+ people following its development. The early design mistakes I made are coming home to "byte" me in the butt. The display is a nettlesome issue and it's puzzling to me that some people have issues and others don't. The good news is that Oliver is masterful at both the hardware and software points. Anyway, Oliver's restructuring idea is a good one. If this is something you haven't wrangled with before, just search "hardware abstraction layer" (HAL) to read about it. Both Al and I still plan to be active in the Project, albeit less than in the past. (Last night, for the first time since Field Day last year, I spent over an hour actually playing radio...I still enjoy it after 70 years of operating and plan to be more active now!) We also have some small projects we'd like to mess around with. We hope everyone will continue to support the T41 Project going forward. Jack, W8TEE
On Sunday, April 13, 2025 at 08:12:17 AM EDT, Oliver KI3P via groups.io <oliver@...> wrote:
As Jack mentioned in a recent post, I've accepted the weighty responsibility for maintaining the code for the T21 V12 radio. I've learned so much by participating in the T41 project, I'm happy to help keep this project going so others can get as much enjoyment and knowledge as I have.
?
Here's how we're going to manage the code. Jack and Al have written a of their book describing the T41 theory and operation of the T41 radio. We will maintain Version 66-9 of the code on GitHub in a state that reflects the book so that anyone buying the book in the future can download code that corresponds to the structure and features described in the book. We'll fix bugs, but not add any new features to this code. It will live here:
?
?
New features and changes to the code will be hosted in a new repository on GitHub:
?
At the moment these two repositories are identical (other than a change in the name of the sketch). Expect them to diverge over time.
?
So what comes next? A lot of discussion in this forum over the last few years has centered around the display and the need to restructure or reformat the code to make it easier to change this code. Similarly, the changes to the hardware between V11 and V12 necessitated making many changes sprinkled through the code base. Updating the code to accommodate changing hardware becomes very challenging. Both of these issues are derived the same root cause: the software is not structured in a way that abstracts the hardware implementation. Before leaping into any major feature upgrades, I think that restructuring the code to make it more modular and hardware-portable would be a good idea. So I'm thinking a lot about how the software works and what a different architecture might look like.
?
-- Jack, W8TEE |
T41 V12 software development path forward
As Jack mentioned in a recent post, I've accepted the weighty responsibility for maintaining the code for the T21 V12 radio. I've learned so much by participating in the T41 project, I'm happy to help keep this project going so others can get as much enjoyment and knowledge as I have.
?
Here's how we're going to manage the code. Jack and Al have written a of their book describing the T41 theory and operation of the T41 radio. We will maintain Version 66-9 of the code on GitHub in a state that reflects the book so that anyone buying the book in the future can download code that corresponds to the structure and features described in the book. We'll fix bugs, but not add any new features to this code. It will live here:
?
?
New features and changes to the code will be hosted in a new repository on GitHub:
?
At the moment these two repositories are identical (other than a change in the name of the sketch). Expect them to diverge over time.
?
So what comes next? A lot of discussion in this forum over the last few years has centered around the display and the need to restructure or reformat the code to make it easier to change this code. Similarly, the changes to the hardware between V11 and V12 necessitated making many changes sprinkled through the code base. Updating the code to accommodate changing hardware becomes very challenging. Both of these issues are derived the same root cause: the software is not structured in a way that abstracts the hardware implementation. Before leaping into any major feature upgrades, I think that restructuring the code to make it more modular and hardware-portable would be a good idea. So I'm thinking a lot about how the software works and what a different architecture might look like.
? |
Re: boards and kits and stuff
¿ªÔÆÌåÓýOk¡ invoice incoming¡ ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of Mike Hoblinski via groups.io
Sent: Saturday, April 12, 2025 9:08 PM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] boards and kits and stuff ? Hi Bill ? I would like to order a full set of V12 Boards? ? Paypal address? hobergenix@... ? Mike Hoblinski 7817 Vineland Ave Apt 47 Sun Valley CA 91352 ? Ham Radio Experimenting Fun Education N6IMF? |
Re: boards and kits and stuff
Hi Bill
?
I would like to order a full set of V12 Boards?
?
Paypal address? hobergenix@...
?
Mike Hoblinski
7817 Vineland Ave Apt 47
Sun Valley CA 91352
?
Ham Radio
Experimenting Fun Education
N6IMF? |
Re: Need Solution
Try loading one of the example programs from the RA8875 library to see if it runs with the Teensy. Jack, W8TEE
On Saturday, April 12, 2025 at 07:31:34 PM EDT, Rick Price via groups.io <rickprice48@...> wrote:
Tom. Here is a WAG, do you have the 3V/5V selection jumper in place on the main board for your proper display operating voltage? Rick KN4AIE ? From: [email protected] <[email protected]> On Behalf Of Tom Schulte via groups.io
Sent: Saturday, April 12, 2025 6:27 PM To: [email protected] Subject: [SoftwareControlledHamRadio] Need Solution ? I got the main board working. When running the test program it finds the teensy hat, the switch panel and ?encoder boards. When I run the display test it comes back test completed but the screen stays blank. The screen did come one one time, turned off and back on no screen. I have resoldered the pins, tried ribbon cable and individual wires still nothing.? ? Any suggestions? Tom -- Jack, W8TEE |
Re: Noise Floor
¿ªÔÆÌåÓýMy wish is that eventually its related to something¡ ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of epif18 via groups.io
Sent: Saturday, April 12, 2025 6:34 PM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] Noise Floor ? Thanks Jack.? I commented out the "floor=0;" line 430 in ButtonProc.cpp in case anyone wants to tinker.? Works great !? I like the results with the noise floor just above the horizontal axis.? Ver066-9 that I downloaded on 4/3. Mark KU3O |
Re: Need Solution
¿ªÔÆÌåÓýTom. Here is a WAG, do you have the 3V/5V selection jumper in place on the main board for your proper display operating voltage? Rick KN4AIE ? From: [email protected] <[email protected]> On Behalf Of Tom Schulte via groups.io
Sent: Saturday, April 12, 2025 6:27 PM To: [email protected] Subject: [SoftwareControlledHamRadio] Need Solution ? I got the main board working. When running the test program it finds the teensy hat, the switch panel and ?encoder boards. When I run the display test it comes back test completed but the screen stays blank. The screen did come one one time, turned off and back on no screen. I have resoldered the pins, tried ribbon cable and individual wires still nothing.? ? Any suggestions? Tom |
Need Solution
I got the main board working. When running the test program it finds the teensy hat, the switch panel and ?encoder boards. When I run the display test it comes back test completed but the screen stays blank. The screen did come one one time, turned off and back on no screen. I have resoldered the pins, tried ribbon cable and individual wires still nothing.?
? Any suggestions?
Tom |
Re: Noise Floor
I changed the check for negative values some time ago...not sure why it was changed back. I prefer to have the noise floor sitting just a smidge above the horizontal axis. I'll look into this. Jack, W8TEE
On Saturday, April 12, 2025 at 02:11:26 PM EDT, epif18 via groups.io <epif18@...> wrote:
Hey 'yall,
I'm still working off a 2' wip in the basement, so not the best environment.? Lots of noise on 20M but still picking up 4's and 5's !!!? Anyhow, I may misunderstand what the book (3rd ed) is saying but when I adjust the noise floor, the spectrum goes UP and the waterfall colors get more out of wack (my opinion).? I mod'ed the code to allow the Noise Floor to go negative and it does what I was hoping/expecting/understanding.
Is there something here I don't understand?? Do I misunderstand what the book is saying? I'm running the latest 66.9, v12.? I'm still working my noise problems.
Thanks
Mark
KU3O
-- Jack, W8TEE |
Re: Noise Floor
Generally when my spectrum is all yellow & angry, I crank in some receive
toggle quoted message
Show quoted text
attenuation. - Jerry, KF6VB On 2025-04-12 11:11, epif18 via groups.io wrote:
Hey 'yall, |
Noise Floor
Hey 'yall,
I'm still working off a 2' wip in the basement, so not the best environment.? Lots of noise on 20M but still picking up 4's and 5's !!!? Anyhow, I may misunderstand what the book (3rd ed) is saying but when I adjust the noise floor, the spectrum goes UP and the waterfall colors get more out of wack (my opinion).? I mod'ed the code to allow the Noise Floor to go negative and it does what I was hoping/expecting/understanding.
Is there something here I don't understand?? Do I misunderstand what the book is saying? I'm running the latest 66.9, v12.? I'm still working my noise problems.
Thanks
Mark
KU3O |