Date   
Re: Nextion 3.2 Display

Allen Merrell
 

All of the programming for the screen was taken from Dr. Ian Lee's 2.4 display. I did the Graphics to fit the 3.2 display. I am currently working on a version for the 3.5 display. Joe B has a very nice 7 inch version that I am sure he will post soon.His also is based on Ian's 2.4 program.
For those using the enhanced version their will be a clock very soon added to the display . I am testing it now .
kn4ud
--
Allen  Merrell

Re: Compiler warnings

Brian Bowling
 

Turns out, the person who hired me wrote the code and everyone in the room knew it!

Well, almost everyone anyway. :)

On Mon, Jul 2, 2018 at 11:14 PM, Jack Purdum via Groups.Io <jjpurdum@...> wrote:
Yep, I think we think alike on this. I think Ron Cain was the inventor of Small C and I remember using that on my 8080/CP/M machine. Then I found Zeor Zollman's BDS C and I tried to get him to add floating point and structs to it...even met with him in Boston while he was at MIT...but couldn't convince him to do it. My company ended up writing our own C compiler, Eco C-88: the first with a complete IDE...even before Turbo C. (We needed the floating point because we developed and sold an advanced statistics package.)

You're right, there's a lot of what I call RDC (Really Dumb Code), and not all of it's by beginning programmers. I was hired as a consultant by a company that wrote banking software. One piece of commercial code had a 31 level if-else block, where one routine ran each day and all the others were ignored. Some banks using the code had over two million customers. Given that, on average there would be 15 failed comparisons for millions customers each day, we figured some banks were throwing away over 30 minutes of CPU time each day versus using a switch statement. I pointed this out in a code walk through stating it was a really stupid piece of code. I was fired that afternoon. Turns out, the person who hired me wrote the code and everyone in the room knew it!

As far as the Arduino environment, I do like it and think it's a great way to a lot of people to experience what programming's all about, yet have some fun at the same time. I do wish, however, that people who write libraries for the IDE would stay on top of their libraries and fix the warnings that keep popping up as the compiler checks get tighter.

It seems like most knowledgeable EE types, like yourself, are also accomplished programmers. Alas, I'm living proof that it doesn't go the other way. I enjoy reading your comments and I know all of us have benefited from them.

Jack, W8TEE

On Monday, July 2, 2018, 10:46:16 PM EDT, ajparent1/KB1GMX <kb1gmx@...> wrote:


I like your rules Jack.

My standard for a function or any subroutine is simple do one thing.
I guess that matches your no swiss knives.  I call them overloaded functions.

I think the best example of that is the SD library as it drags in FAT.  Its huge 
and if all you want to do is read or write blocks FAT is not needed or even
a file system.  Or you can just do tag and bag directory and teach the PC 
to use a simpler system to talk to a block device.  That is only one example.
Took me a while to tear the whole thing down to block_Write(blockNum, Buffer)
and block_read(blockNum, Buffer)  Where buffer is a 512 byte area, and
blockNum is a 32bit int.  The difference is more than 10K of code!

Global variables are ok if used for that only.  Not be cause the tuning math
needed a variable to store and intermediate result.

The offense i've seen is long ints when the counter never exceeds maybe 10
and floats when the value is going to be an integer.   Its remarkable that
people forget the iron they are programing is basically a 8 bit byte machine.

C and for that fact C++ is a small language, the libraries are where people
get their shorts eaten.  You don't need a full string library for a little 8bitter.

C seems to be there when others have come and gone.  Just about all the
others are easy (Ruby, Python, Java) if you know C.

A a long time PDP11 user (I have Unix V2.11 and Ultrix V6(BSD flavor).
ITs funny to thing the 11 is a near native C machine (very CISIC) and
the origin point for C and typically 128K bytes was a big machine. 
It teaches one brevity, modularity, and with care clarity.  

I still use Small-c on many micros because it is C (more K&R than ansi but hey
it was the 70s and ANSI was over a decade later) and small.    I like it because
it allows me to get as close to the irn as I care to and yet hide the iron when I
need to. 

Allison




--
“si vis pacem, para bellum”

Re: TX frequency? of uBitx at CWL and CWU mode #ubitxcw

Andy V. Borisenko
 

I also do not have a difference. I did all the changes in uBitx manager. 
+600Hz CWU, -600Hz CWL from the desired frequency.
v 1.08

Re: RFI from uBitx TX after AGC and other mods installed

Kees T
 

Thanks guys, Don and I appreciate it. 

Glad to see so much "building enthusiasm". As of today we're up to 676 AGC kits and/or Click kits ordered and shipped.

73 Kees K5BCQ

----------------------------------------------------------------------------------------------------------
New Topic.............
I'm just about ready to make a pass on an OLED display, Nano microcontroller, and 2x AD8307s mWattmeter/SWR device.  So far, it's all mounted on a 50mm x 50mm board
(2x2 or qty 4 on a 100mm panel) including the Stockton bridge, BNC/SMA connectors, Nano, and header attached OLED. Still looking for firmware to run.
 
 

Re: TX frequency? of uBitx at CWL and CWU mode #ubitxcw

Ian Lee
 

Glenn

The latest version is not supported, but can be downloaded from the link below.

It is also briefly described below.

After this Version 1.1, I will post a description of the uBITX Manager program.

Ian KD8CEC

2018-07-02 11:48 GMT+09:00 Glenn Anderson <ve3jau@...>:

Sorry if I'm missing something but is there a "user manual" for the Memory Manager? I've never used it before...

Thanks

On Sun, Jul 1, 2018 at 9:04 PM, Ian Lee <kd8cec@...> wrote:
Michael

I agree with you opinion, yes There is not enough explanation for them :)
I liked it the first time I implemented this feature. 
So I adopted it as a basic specification. That is, if no setting is made, 'TX' frequency is displayed unconditionally.
However, it is inconvenient for users who are familiar with the existing method.
So I decided to let the user choose by uBITX Manager.

Ian KD8CEC

2018-07-02 9:41 GMT+09:00 Michael Babineau <mbabineau.ve3wmb@...>:
Ian :

Thanks for the reply. I noticed that option in the uBITX Manager but I couldn't find any documentation on what I meant.
Now I know, so I will give it a try.  I am not sure that this will "fix" the issue in switching back and forth between CWU and CWL,
but I will recheck after I try with this option enabled. 

What I have observed is  that the RX Frequency stays the same when you switch from CWU to CWL, but the TX frequency is changed, which should not
be the case.

Thanks for the clarification.

Cheers

Michael VE3WMB 



--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)




--
73 de Glenn VE3JAU
Thunder Bay, Ontario



--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)

Re: TX frequency? of uBitx at CWL and CWU mode #ubitxcw

Ian Lee
 

JJ1EPE

Maybe it is related to the side tone. 
Check the side tone of ICOM Transceiver and the side tone of uBITX. 
Set ' Shift Display Frequency on CWL, CWU Mode ' in uBITX Manager software.
Probably the error will be reduced.

Thanks
Ian KD8CEC


2018-07-02 17:09 GMT+09:00 <jj1epe@...>:

Hi!

Thank you for your advice and comment.

Firstly, I did not consider that frequency displayed on the commercial rigs is TX frequency even though frequency of uBitx is RX.

But I am still wondering why the difference of frequency between my ICOM transceiver and uBitx is 1.5Hz but not off set .
1.5KHz might be double of 700 or 800 Hz off set.

I think many uBitx user have been making the contact on CWL or CWU mode by uBitx.
So there is something I have not understood about offset of CW.
I would like to examine the cause of the frequency difference of 1.5KHz.

73!
Akira
JJ1EPE










--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)

Re: TX frequency? of uBitx at CWL and CWU mode #ubitxcw

Ian Lee
 

Andy
I will check if you send me your uBITX backup file.
You can back up your uBITX settings to a file in uBITX Manager. Send it to me

Simply put, the order is as follows.
Connect -> Read from uBITX -> Decode -> Selected Options for CWL, CWU Shift -> Encode -> Write to uBITX -> Reset uBITX

I used this feature a few months ago, and I'll check it again.

Ian KD8CEC

2018-07-03 13:21 GMT+09:00 Andy V. Borisenko via Groups.Io <rw9rn@...>:

I also do not have a difference. I did all the changes in uBitx manager. 
+600Hz CWU, -600Hz CWL from the desired frequency.
v 1.08



--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)

Re: TX frequency? of uBitx at CWL and CWU mode #ubitxcw

Ian Lee
 

Micheal

Are you using 1.094 Beta with Nextion LCD?
Version 1.094 with Nextion LCD has not yet implemented this. 
Implemented in version 1.095.  Version 1.095 is now ready for release.
(Supported from Version 1.03 on Character LCD)

I recently posted a video on youtube. 
It is an introduction image of some functions of Version 1.095, but Shifted CW Frequency can be checked.

Please wathc the link below. From 1:30, you will see what you want.

Ian KD8CEC


2018-07-03 5:10 GMT+09:00 Michael Babineau <mbabineau.ve3wmb@...>:

Ian : 

I did as you suggested within the uBITX Manager : 

 - Enabled Adjust CW Frequency
 - Shift Display Frequency on CWL, CWU Mode

I encoded and wrote to the uBITX and then reset and I see no difference in operation.

Note that I am using your v1.094 beta with the Nextion Display.

With my main radio set to 7.050 Mhz (CWU) the uBITX must still be tuned to 7.049.300 Mhz (700 Hz Sidetone/Offset selected) CWU
in order for each Radio to hear the other, so the Display Frequency on the uBITX is still the RX frequency, not the TX Frequency.

Both radios should display 7.050 Mhz or very close to it.

Cheers

Michael VE3WMB 



--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)

Re: Homebrew from scratch #ubitx

Nick VK4PP
 

Hi Peter.
Will you sell boards? or share Gerbers?

Thanks
Nick VK4PLN

Re: RFI problem at the encoder switch #ubitx-help

hakan.sjostrom@...
 

Len,
the enclosure is metallic from amateur radio kits in India, so it should be well shielded.

Re: Homebrew from scratch #ubitx

Peter Carr
 

Hi Nick,

I will make the final Gerbers available along with all the relevant information to enable the PCB's to be manufactured, I'll also share the circuit diagram and a board overlay in PDF so it can be built. 

Please note;

I used 0.5W resistors (as this is what I had), but from a space point of view it would make a lot more sense to use 0.25W so the components aren't so cramped. 

The Arduino is mounted on headers so it can easily be removed for programming. 

I used the following TOKO colis - KXCA K2036 AAY (with the capacitor removed) for the low pass filter and KANS1508 PAM for the broadcast filter in the receive section. 

The Si5351 board is a standard Arduino board that is readily available - do a google search for "SI5351A Clock Generator Breakout Board". 

The Toroids are mounted on DIL headers along with the diodes for the ring modulators as I found it much easier to do this than try and put them directly on the board.

There is no provision for an electret condenser microphone as I specifically wanted to use a standard 600 ohm dynamic mic.

I'll upload a zip file with all the information in it, hopefully in the next few weeks other commitments permitting!

73's

Peter M0HYT

Re: TX frequency? of uBitx at CWL and CWU mode #ubitxcw

jj1epe@...
 

lan and everyone who replied me

I did not use uBITX manager.
But I have understood that using uBITX manager is essential to set  CW offset and for uBITX.

Now everything has been cleared by setting uBITX manager as follows
   - Enabled Adjust CW Frequency
   - Shift Display Frequency on CWL, CWU Mode

Frequency displayed by uBITX and my ICOM rig is completely same!!
Thank you for your support!!

I have started to promote uBITX in Japan.
English as the language is the one of the big wall for most of Japanese people.
Even for me, this TX -RX frequency issue was hard to find the solution.
So I will make the article on my blog in Japanese about this topics.

73!
Akira
JJ1EPE




Re: TX frequency? of uBitx at CWL and CWU mode #ubitxcw

Andy V. Borisenko
 

Ian,
at which address do you send a copy of the settings?

Re: RFI problem at the encoder switch #ubitx-help

Dave Dixon
 

Hi Len,
           From a unusually hot uk.
                                                 My both my ubitx versions 3 and 4.3 are both  in plastic cases and I have not encountered any problems on any of the bands I have used,.my only mod is adding KD8CEC software to one of my radios the other is on line for a nextion display and then also Ians software. Regards Dave G0AYD.

On 3 July 2018 at 09:23, <hakan.sjostrom@...> wrote:
Len,
the enclosure is metallic from amateur radio kits in India, so it should be well shielded.


Re: Nextion 3.2 Display

Michel Dupuy
 

Hello everyone
I am interested in version 3.5 because I already have the Nextion. Thanks a lot to Allen Merrell and everyone involved, especially Ian Lee.
Michel F1GTX

v4 pop-fix on a v3 board #ubitx

Nigel G4ZAL
 

I added the v4 pop-fix to my v3 board by placing components directly onto the v3 board.
Start by drilling a small hole (0.7mm in my case) to the right of R70 so as to be able to fix the 2N7000 transistor.  Pin 2 of the 2N7000 is soldered on the underside of the board (ground).
Scrape a little varnish from the tracks and tin ready to fix the 2N7000.
I added some Kapton tape to stop any shorting of components.




Add the remainder of the components and run a bit of enameled wire to the trace near the raduino headers to pickup the T/R line.






Ignore the cutouts on the front of the board, I had to hack away a little to clear the 3.5mm sockets on my case (I had to add a small length of enameled wire on the underside as I had hacked through a board trace).

So far, so good with no problems to report.

Nigel.

Re: v4 pop-fix on a v3 board #ubitx

Nigel G4ZAL
 

Forgot to mention, I also swapped out R70 from 100 ohms to 1K.

Nigel.

Re: Easy, Inexpensive Cooling Fan, Excelway Case

John P
 

On Wed, Jun 27, 2018 at 07:28 am, Jack Purdum wrote:
Is the fan quiet, or does the rcvr pick it up?
I tried a couple of fans from old PC supplies. They were all very noisy. What I did to solve the problem was to put a resistor (maybe 10 ohms; don't remember and not taking the radio apart) in series with the fan and a fairly hefty capacitor across the motor. The fan still moves more than enough air and is both electrically and acoustically quiet.
 
--
John - WA2FZW

Re: v4 pop-fix on a v3 board #ubitx

Don Meyerhoff
 

Good stuff. Just put one together myself. A little separate breadboard which I used a small portion so as to have room for another mod or two. Installing the Nextion 3.2 tomorrow. Love the ability to mod and work with it. Great value for the money.

73

Don Meyerhoff
WA2SWX

On Tue, Jul 3, 2018, 8:19 AM Nigel G4ZAL <nigel@...> wrote:
Forgot to mention, I also swapped out R70 from 100 ohms to 1K.

Nigel.

Smart Analog/Digital I/O Expansion and LCD Display for the uBITX. #firmware #ubitx #nano #radiuno

Tom, wb6b
 

Hi,

I want to expand the amount of digital and analog I/O pins available to add enhancements to my uBITX.

To do that I created a Smart LCD Backpack to replace the commonly found ones on the inexpensive 2x16 and 4x20 I2C displays found on eBay and Amazon.

I uploaded a library to GitHub that allows you to program a Arduino Nano to emulate the common I2C to parallel backpack used on the I2C displays. The Smart I2C Backpack, additionally, allows you to read and write the analog and digital pins on the Smart I2C Display Backpack.

The package includes a interface library that you include in your code to interface with the Extended I/O functionally. Also included are two example Sketches. One is the code you program into the Smart Backpack. The other is a demo/test program you program into another Arduino and connected via the I2C buss to the Smart Backpack Display.

The Smart Display Backpack should work with firmware using standard I2C LiquidCrystal drivers such as the KD8CEC firmware.

The code uses the following libraries:
The are all installable from the Arduino library manager, the GitHub URLs are just for reference.
SoftTimer.h  //https://github.com/prampec/arduino-softtimer
LiquidCrystal_PCF8574.h

I believe these are part of the base Arduino software install.
Wire 
LiquidCrystal

Hope others enjoy this new display and I/O expander. 

Here is the link to the code.
https://github.com/mountaintom/SmartLCDandIOexpander_I2C