¿ªÔÆÌåÓý

Date

Nextion 5/Enhanced for KD8CEC 1.2?

 

Has anybody made one for the Nextion 5/Enhanced running KD8CEC 1.2?

The GitHub "5" appears to be a 2.8(?). (Upper left corner small image)

Thanks

Mark


Re: Oldie newbie

 

I don¡¯t recommend installing the Arduino IDE with sudo apt install command. You usually get a really old version from the distribution repositories. Something like version 1.0.5. Better download the version from Arduino website which at the moment is 1.8.9.

Armin, DJ2AG


Re: Oldie newbie

 

Hi,

If the program you are trying to port has a traditional C main routine and it starts out by doing init stuff then finally has a while loop, like 'while(1){ --lines of code--};.

Then put the stuff before the while loop into the "setup" routine. Put the stuff inside the while loop into the "loop" routine.

The only reason not to put everything into the "setup" routine is the "loop" routine allows the Arduino code, automatically included in addition to your code, to handle the serial I/O background processing for the print and get statements used to sent debug messages to a serial terminal. And likely other tasks that need to be done.?

Using the "loop" routine rather than your own while loop lets these routines to get a chance to run every cycle through your code.

If your code does not use a while loop (and is not already an Arduino program using the "loop" routine, then your code may be a higher level of coding using interrupts or a real time "operating" system. In that case everything is going to go in the "setup" routine and the "loop" routine need to be there but can be empty. However, porting that kind of code to the Arduino system may be beyond what the Arduino system was built for.

There are some Arduino libraries like "SoftTimer" ?that give some of the same feel to program in as a real interrupt driven RTOS. When using this library, for example, you put the things your program does in separate routines, rather than a big loop of code, and leave the "loop" routine empty.

Tom, wb6b


Re: Oldie newbie

 

Godz wotta pikki system! Won't even look at anything with non-alphanumeric name!? Anything with "_" is ignored.

The IDE recognizes the raduino when it's plugged in - and that powers it up. I not ~/sketchbook has been created, with subdir 'libraries' - empty except a redir txt to somewhere to learn abot installing libraries.

Anyone in NZ want to take way this box of junk?


Re: Oldie newbie

 

Hi Dexter,

I have some questions regarding your setup. Maybe they are stupid and you already have done all these things, but the thread doesn't tell me what ?previously was done and what exactly was the (error) output. So here are my questions:?

- Which version of the Arduino IDE are you using??
- Which version of the ubitx software did you clone from github??
- Have you been able to compile one of the sample programs, or the minimal sketch (named like ?e.g. sketch_may21a) ?which is automatically created when ?selecting "File new"?
- If you open "File -> Preferences" Which path is shown under "Sketchbook location" e.g. /home/pi/Arduino?
- If you look into above directory is there a sub directory named ubitx_20 with a lot of?
- If yes, could you open in Arduino IDE the file ubitx_20.ino in this subdirectory??
- If yes, could you close all other Arduino windows except the ubitx_20 one you just opened?

Hopefully your answers will help to find the problem.

73 Armin, DJ2AG


Re: uBitx "Shadow"

 

As other have said it seems the BFO. You probably need to shift by at least 500hz. This picture is very similar to the one I showed to a professional vendor when I bought from them a 'fully aligned' transceiver ... they gave me money back... I am still wondering what that full meant...


Il 21/mag/2019 18:34, "Curt via Groups.Io" <wb8yyy=[email protected]> ha scritto:
Daniel YO8UFO op

Likewise I am thinking it could be your BFO setting - mine was way off when first delivered.? If you listen carefully to SSB you might come to same conclusion that it may need an adjustment.? Instructions are available at HFSignals - BFO adjustment tends to be easier than frequency calibration.? also see this guide at my local club:

??? ubitx calibration INSTRUCTIONS

Raj also brought up the topic of spurious - I have a v4 also.? In a typical v4 there are spurious issues in some of the bands, generally not much more than 10 dB out of compliance.? In mine I installed a circuit board containing a set of 3 relays, to separate input and output relay function.? it fixes spurious at 18 MHz and below (unfortunately the board and kit are not for sale anywhere yet!? I have dropped hints to ubitx 'merchants' to sell it).? my rig was okay 'as delivered' on 80 and 20 meters.? (I have not yet solved spurious above 18 MHz - they are from a different source - Raj I remember uses better relays and some shielded inductors - I am not sure what else.? I am wondering how the shielded inductors will work in conjunction with my relay solution - I need to get some to find out!? other fixes did not work for me without reducing CW output power).?

Enjoy your ubitx - I recommend 20 and 80 meters from what I have experienced with my rig for spurious. ??

Curt


Re: Antuino - the antenna analyzer

 

I slapped one together on the bench and used 69mhz filters salvaged out of a really dead
TS830 instead of the crystals for the filters.? Tweaked the code and works well.

Currently I'm experimenting with a replacement for the detector using a 1khz (really 1000 cycles)
low pass amplifier as that would allow a greater frequency range than 69mhz filter.

Allison


Re: Looking for the latest firmware version for 3.5 Enhanced Nextion #ubitx #nextion

 

Search "Ted" in topics. Files are in the thread...enhanced is included.


Re: ¡° Farhan's antenna and multifunction analyzer was introduced and sold at Dayton ¡°

 

Hi,

This may be the Video Curt is referring to:


Ashhar's interesting segment starts at the 57 minute point, sandwiched between someone drinking beer and another vaping.?

Tom, wb6b


Re: uBitx "Shadow"

 

Daniel YO8UFO op

Likewise I am thinking it could be your BFO setting - mine was way off when first delivered.? If you listen carefully to SSB you might come to same conclusion that it may need an adjustment.? Instructions are available at HFSignals - BFO adjustment tends to be easier than frequency calibration.? also see this guide at my local club:

??? ubitx calibration INSTRUCTIONS

Raj also brought up the topic of spurious - I have a v4 also.? In a typical v4 there are spurious issues in some of the bands, generally not much more than 10 dB out of compliance.? In mine I installed a circuit board containing a set of 3 relays, to separate input and output relay function.? it fixes spurious at 18 MHz and below (unfortunately the board and kit are not for sale anywhere yet!? I have dropped hints to ubitx 'merchants' to sell it).? my rig was okay 'as delivered' on 80 and 20 meters.? (I have not yet solved spurious above 18 MHz - they are from a different source - Raj I remember uses better relays and some shielded inductors - I am not sure what else.? I am wondering how the shielded inductors will work in conjunction with my relay solution - I need to get some to find out!? other fixes did not work for me without reducing CW output power).?

Enjoy your ubitx - I recommend 20 and 80 meters from what I have experienced with my rig for spurious. ??

Curt


Re: Look at this on eBay, ubitx, budget test equipment.

Kelly Mabry
 

Thanks Robert!
Removing the AGC confirms it was not installed correctly. Going to reinstall the AGC in a couple days after I add header pins to the main board to allow for a more stable and secure connection. That should stabilize its operation, and give me a chance to solder it in correctly.? Also,
I went back to my old callsign that I had held for over 30 years. CW muscle memory has returned!!? Hi hi!
73,
Kelly KD5AJ?


Re: Antuino - the antenna analyzer

Bo Barry
 

A note to the VU hams.
Where are you?
I've worked Outer Mongolia & China but can't find a VU on CW or FT8.
Most likely it will take an amplified version of the ubitx.
73,
--
Bo W4GHV - since '54


Re: Oldie newbie

 

Hi Dexter.

Verify seems to compile something, exits with error about undefined 'loop'.
Bob is correct about in loops in general. However, I suspect this error
is about the missing "loop" function common to Arduino sketches. (Every
Arduino is expected to have "setup" and "loop" functions to work.)

So what this would seem to indicate is the file containing the "loop"
function is not part of your compilation. You could use grep to locate
the proper file. E.g., from the folder containing all the files, type
the command:

grep -r "loop(" ./

to search all the files in the current folder (and any sub-folders) for
the string "loop(" which should be the file containing the function.

Then make sure that file is being compiled with all the rest of the files.

73

- Mark N1VQW


Re: Oldie newbie

 

Dex

Just to keep you from being led off in the wrong direction.......
The JRE is compiled from the development files.?
The software management program is Synaptic...not Symantic.
Some Linux distributions use other programs to access software repositories.?
_._


On Tue, May 21, 2019 at 1:00 AM Keven Pittsinger <jamstar52@...> wrote:
The jre are just the runtime packages.? Sounds like you need the development packages.? If Symantic is installed on your system, run it in sudo mode.

On Mon, May 20, 2019 at 9:00 PM Dexter N Muir <dexy@...> wrote:

Bah! Humbug!

Same difference.
Do I have to have the raduino plugged in and the 'Board' selected?

There has to be someone here who has used the Pi to load the CEC firmware. ???
Dex, ZL2DEX


Re: Look at this on eBay, ubitx, budget test equipment.

 

¿ªÔÆÌåÓý

Fantastic!? It's a great feeling to find and fix a vexing problem like that!

I will try again to attend field day this year... see how it goes.? I'll keep my ears open.? (I'm also going to try to run my BitX40 in the evenings, on 7.177, more often.? I've been very busy and need some 'down time'.)

Bob

On 5/21/19 8:02 AM, Kelly Mabry wrote:

Hey guys it's Kelly. Took a week off to do some things regarding some python programming, and decided to finally tackle the issue with the receiver not hearing anything. First thing I did was to totally remove the AGC board. I went back and did some digging on ND6T's website. I found some 90 degree header pins and soldered them to the RF path trace that was cut.. I used a flat head screwdriver to GENTLY scrape to the copper traces, this time. Then i placed a (don't laugh) female to female arduino jumper wire on the pins, and powered up the radio. Well, IT WORKS!? Loud and obnoxious as ever...boy i sure have missed my lil ubitx. Oh. My custom field day logbook is ready! (Linux only). Going to enjoy the radio for a spell. See you guys on field day! Look for WA5CC. Cross County ARC.??

73,?

Kelly KD5AJ?
ex K5AID?


Re: Oldie newbie

 

¿ªÔÆÌåÓý

As far as using sudo to update and upgrade, that's fine... SOP with Linux (at least Ubuntu, which I use).? If your getting the software didn't pop up any error messages, that too should be OK.? There should be a line number next to where the compiler detected the error (it should say where it encountered the error), that will help a LOT in identifying the problem.

Usually with a loop, there is a terminating clause (i.e. For-Next, Do While, and so on)... something blocked the compiler from 'seeing' it is what I usually encounter (sometimes accidentally commenting out the termination).

Bob

On 5/20/19 10:46 PM, Dexter N Muir wrote:

Please be gentle.

Raspberry Pi 3B, sudo-updated and upgraded, installed Arduino. Noted no icon on desktop: should I have done that non-sudo?

At terminal, git clone from CEC's web-address as instructed. Took a while so I assume it all went according to plan.

Moved directory to ~/src, tried to open file in IDE (from menu), got told it needed to be moved.? That done, tried again.

Here's where the hiccups start: IDE shows blank sketch _may21a, and that doesn't change after (supposedly) loading .ino file.

Verify seems to compile something, exits with error about undefined 'loop'.

HELP!

?


Re: Antuino

 

First off, I do not have an Antuino (yet, waiting for availability after June 1), however have done some research into barrel connectors and I am pretty sure there is an error in the schematics provided on GitHub.

Here is the barrel connector provided (deduced from the pictures):


As you can see, the battery negative needs to be connected to pin 3 so that it is removed from the power supply when the power supply is connected through the barrel connector.? This would agree with what WoodJRx explained in message #69028.? This also aligns with the one comment from Ashhar on needing to insure proper soldering of pin 3 of this connector.

Ashhar needs to update the schematics, or else use a different part for the barrel connector (there are version that switch the pin connection)..

Above are my observations, and may be in error.? Use at your own risk!

73
Evan
AC9TU


Re: Antuino

 

Part of the library glcd?
Rob PA0RBL


Re: Antuino

 

Ho Ashhar
Same question from me and I got also problems with the line containing fonts/allFonts.
Perhaps part of the same.
Rob PA0RBL


Re: Looking for the latest firmware version for 3.5 Enhanced Nextion #ubitx #nextion

 

Dale ¡ª when I was looking for the same files, it became clear that there is no one source. Folks take some code base and adjust, tweak, etc. then ?¡°publish¡± somewhere. So it comes down to google skills in a Wild West of DIY builders and makers of various skill levels.?

Using 35 or 3.5 and the right file extension (ftf?) and nextion in the search will get you going in the right direction. But be prepared to leverage the work of others but on a DIY basis. And, ?no one updates anything as a dependable process. ?So good luck!!

?And if you find something that works, be sure to make it easier for the next searcher to find.?