¿ªÔÆÌåÓý

Date

Re: Antuino

 

On Wed, May 22, 2019 at 11:08 AM, Michael Aiello wrote:
What model of Arduino is the code intended for?
/g/BITX20/attachment/63028/0/antuino.png
?
--


Re: Antuino

 

What model of Arduino is the code intended for?

Thanks
Mike N2HTT


Re: Nextion 5/Enhanced for KD8CEC 1.2?

 

Joe,

Got a test bed working. (Probably spend a couple hours moving to a new case so that I don't accidentally short something....) Looks good on my enhanced 5.0. Takes longer to do the update, but I suspect that is related to the larger bit maps that were being transferred (4x the bits...)

I am happy you rotated that screen. It was a real pia to disassemble my ubitx to update the screen.

So the area that needs work is the spectrum analyzer? Although I haven't built that yet, looks like shouldn't take long to build. Probably have everything set up to go over the weekend. Will ping you before starting to avoid duplicating any work you have done in the meantime.

73
Mark
AJ6CU


Re: Antuino

 

Sorry, but looking for the glcd library I also found lots of the same named libraries. And they are different. I tried more than one. But I got at compiling various foults. Specialy in the line containing fonts/allFonts.
73 Rob


Re: Antuino

 

Sorry,?
But looking for the?


Re: Morse Code Tutor

 

On Sat, May 18, 2019 at 09:35 AM, Jack Purdum wrote:
requires you to install the STM32F patch
Hi,

I planning on using this STM32 ARM board manager. This 32 bit ARM extension for Arduino is written by actual ST Microelectronics software engineers. It looks like it is based on the same libraries used in their?STM32Cube (hopefully wrapped with all the same Arduino libraries Arduino people are familiar with). Unlike their professional development tools, the Arduino version also works for generic boards like the Blue Pill. For the Blue Pill it has a serial up-load option. I haven't tested it on a Blue Pill, but hopefully that means working with the standard boot loader that comes on the Blue Pill boards.?

To install this STM32 board tool chain, go to the Arduino preferences and add the following URL to the "Additional Board Manager URL's" box:


The Morse Code Tutor is a cool project, however I might use a?NUCLEO-F303K8 development board because I have one in hand (they also have a board with the same chip as the Blue Pill. But I like the F303 because it has a built in Op-Amp(s) that can be used with the A2D converters). A cool thing about the Nucleo boards is you don't need a boot loader on the chip. The board has a second microprocessor chip that is an ST-Link programmer that programs the chip directly, without needing a boot loader, and debugger that lets you set break points and single step through your code. ?And you don't need to select a USB serial port for ST-Link to connect.?Even more cool is when you plug the board into your USB connector it emulates a USB thumb drive. You can just drag a hex file into the drive and it will flash the code into the microprocessor chip. The board costs $10 rather than $3 but are still a good value.?

Here is a Getting started page:


Here is a link to the board:


A caveat. I have been using the ST Microelectronics development tools for STM32 (ARM) processors. It was only after seeing Jack's Code Tutor project that I looked to see what support there was for Arduino. I was very pleasantly surprised to see this tool chain. However, I have not tested it out to any extent or compiled Jack's Code Tutor yet. But, barring some unforeseen glitch I expect this to be a good library with the benefit that it is built on the same libraries I currently use.?

That's my vote. Interested if others have tried this or other board tool sets that they like.

Tom, wb6b






Re: Raduino frozen on BITX40

 

In case we are lucky, you need to bootload the arduino with so called Nano "old bootloader"
?. Later try LOADING ITX40 SKETCH FRESH.
?LET US SEE WHAT HAPPENS.
? Sorry for all caps.


On Wed, May 22, 2019 at 2:06 PM <e78cb@...> wrote:

Hello guys!

I nead help for my Raduion problem..

My BITX40 arrived and it was functioning fine. While I was waiting for enclosure to arrive I started to implement some mods to make it better suitable. In this process I accidentally made short circuit on Raduino board (not on Arduino but on other bigger board). It shorted between input from DDS port on main board (bringing +4.3V)? to Si5153 path , probably arround C4,C5 or C6 on Raduino to pins 6-10 of Si5153. In that very moment I lost RX (went very low, not quite dead) and LCD just blinked living only Raduino version written on. Tuning was lost and restart several times brought no change.

Suspecting Raduino/Arduino frozen I disconnect it totally and put to PC an installed (successfully!) the last sketch v.1.28.1. Therefore I think Arduino seamed to work fine, blinking all LEDs as it sholud (rx,tx and so on)..

But, when connected back to BITX board all problems remain:
1. no tuning,
2. low RX,
3. LCD just frozen showing Raduino vesion
4. If I disconnect Raduino from the main board DDS connector, nothing changes also!
5. When turning tuning put, only one LED is fixed light on Raduino (think one should blink when pot turning)
6. LM7805 on Raduino shows 12V and 5V fine, but it is to hot to touch, looks more than before..
7. All transistors on main board BITX show good voltages (checked!)
8. I do not hear 4MHz oscilator on neighbour receiver.. (should I..)
9. When I touch the base of Q8 I get stronger RX but I suspect that is not the main issue here..

Is my Si5153 dead and what to do..?

73 and thanks

Srdjan, E78CB


---------- Poruka poslana putem m:tel webmail servera ----------


Raduino frozen on BITX40

 


Hello guys!

I nead help for my Raduion problem..

My BITX40 arrived and it was functioning fine. While I was waiting for enclosure to arrive I started to implement some mods to make it better suitable. In this process I accidentally made short circuit on Raduino board (not on Arduino but on other bigger board). It shorted between input from DDS port on main board (bringing +4.3V)? to Si5153 path , probably arround C4,C5 or C6 on Raduino to pins 6-10 of Si5153. In that very moment I lost RX (went very low, not quite dead) and LCD just blinked living only Raduino version written on. Tuning was lost and restart several times brought no change.

Suspecting Raduino/Arduino frozen I disconnect it totally and put to PC an installed (successfully!) the last sketch v.1.28.1. Therefore I think Arduino seamed to work fine, blinking all LEDs as it sholud (rx,tx and so on)..

But, when connected back to BITX board all problems remain:
1. no tuning,
2. low RX,
3. LCD just frozen showing Raduino vesion
4. If I disconnect Raduino from the main board DDS connector, nothing changes also!
5. When turning tuning put, only one LED is fixed light on Raduino (think one should blink when pot turning)
6. LM7805 on Raduino shows 12V and 5V fine, but it is to hot to touch, looks more than before..
7. All transistors on main board BITX show good voltages (checked!)
8. I do not hear 4MHz oscilator on neighbour receiver.. (should I..)
9. When I touch the base of Q8 I get stronger RX but I suspect that is not the main issue here..

Is my Si5153 dead and what to do..?

73 and thanks

Srdjan, E78CB


---------- Poruka poslana putem m:tel webmail servera ----------


Re: Antuino

 

This is interesting. There could be two possible explanations:
1. There is gain compression. This is possible due to the two stage IF amplifiers.
2. The step attenuator is off-calibration.

One way to know is to measure readings of smaller attenuations at different attenuations. For instance how does the readings change between -50db and -53db as opposed to -10 and -13 db? My tests show quite linear relationship between actual attenation and db readings.

- f

On Wed 22 May, 2019, 6:06 AM Bruce Hall, <bhall66@...> wrote:
I have been playing around with the Anduino.? ?I inserted a step-attenuator between the RF input and RF output ports.? With no in-line attenuation, the measured RF output is -16 dBm.? ?As I added attenuation, the measured RF power predictably decreased.? ?The receiver bottoms out at roughly -70 dBm, and does not record levels any lower - which makes sense.? What I don't understand is the non-linear relationship at low levels of attenuation.? For instance, adding 3dB, 6dB, or even 12 dB of attenuation did not significantly change the Antduino's displayed power measurement.? Independently, I crudely measured the RF power using my oscilloscope, and the power output changes as expected.? ?I am curious what results others get with their units.? ? Why am I getting a non-linear relationship between attenuation and RF power?

Bruce

On Tue, May 21, 2019 at 7:52 PM Ashhar Farhan <farhanbox@...> wrote:
Peeps,
I just landed back home an hour ago. I will start putting the documentation for the antuino together tomorrow.

- f

On Wed 22 May, 2019, 4:12 AM Glenn, <glennp@...> wrote:
Rob i had issue with fonts also.?? I still can't find the correct glcd LIB either, did you?.

Keep in mind I am a novice at this but do have Jacks book.

What i think it should be is to have all the Fonts in a directory called "fonts". Fonts.h is just a list of the fonts used in the Sketch.
in the same directory as the sketch.

then change #include <fonts/allFonts.h> to "fonts/allFonts.h"?? so when you run the sketch in the IDE, it gets the fonts from the sub directory /fonts

I have another problem though in that i can't find a zipped version of the fonts required to download.?

I found the fonts here
But if I right click on each entry? "Save As" the downloaded files have extra characters in them making them unusable.

glenn
vk3pe







On Tue, May 21, 2019 at 11:53 PM, Rob Bleumer wrote:
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: Nextion 5/Enhanced for KD8CEC 1.2?

Joe Puma
 

¿ªÔÆÌåÓý

Also I think the Spectrum Analyzer page needs more work actually even the band analyzer. I may have been able to adjust their position and lengths of the analyzer graphs but the slider does not seem to work right with the scanned range. ?

Joe
KD2NFC?



On May 22, 2019, at 1:55 AM, Joe Puma via Groups.Io <kd2nfc@...> wrote:

I am attaching the HMI file. This is the version that included the graph in the main screen if you use the stand alone analyzer which includes the CW decoder. I haven¡¯t stretched the CW decoder across the screen yet, didn¡¯t figure it out yet but everything else is pretty much intact. All pages have been reworked but I didn¡¯t redo the graphics for the dsp menu, I just resized the 480x240 to 800x480.

?

Joe

KD2NFC

?

Sent from for Windows 10

?

From: Mark Hatch
Sent: Tuesday, May 21, 2019 10:17 PM
To: [email protected]
Subject: Re: [BITX20] Nextion 5/Enhanced for KD8CEC 1.2?

?

Joe,

Thanks! Looking forward to it. Be happy to beta test it when you feel its ready,

Were you able to get the original art work from KD8CEC? Bet that would make you work easier....

73
Mark
AJ6CU

?

<uBITX 5inch KD2NFC-v31.HMI>
<9ACADB68CBCC402397ABD4AA501EC182.png>
<E828AF8BDA8B4B9B866FCDFA2364E9C2.png>


Re: Nextion 5/Enhanced for KD8CEC 1.2?

Joe Puma
 

¿ªÔÆÌåÓý

I am attaching the HMI file. This is the version that included the graph in the main screen if you use the stand alone analyzer which includes the CW decoder. I haven¡¯t stretched the CW decoder across the screen yet, didn¡¯t figure it out yet but everything else is pretty much intact. All pages have been reworked but I didn¡¯t redo the graphics for the dsp menu, I just resized the 480x240 to 800x480.

?

Joe

KD2NFC

?

Sent from for Windows 10

?

From: Mark Hatch
Sent: Tuesday, May 21, 2019 10:17 PM
To: [email protected]
Subject: Re: [BITX20] Nextion 5/Enhanced for KD8CEC 1.2?

?

Joe,

Thanks! Looking forward to it. Be happy to beta test it when you feel its ready,

Were you able to get the original art work from KD8CEC? Bet that would make you work easier....

73
Mark
AJ6CU

?


Re: Nextion 5/Enhanced for KD8CEC 1.2?

 

Joe,

Thanks! Looking forward to it. Be happy to beta test it when you feel its ready,

Were you able to get the original art work from KD8CEC? Bet that would make you work easier....

73
Mark
AJ6CU


Re: Nextion 5/Enhanced for KD8CEC 1.2?

Joe Puma
 

¿ªÔÆÌåÓý

Yes it¡¯s not friendly when it comes to resizing, and it¡¯s even worse when there¡¯s graphs involved. I have a 5¡± setup that I¡¯ve been working on keeping it as original as I can from the original KD8CEC design. I will have it available soon.?

Joe


On May 21, 2019, at 9:50 PM, Mark Hatch <mark2382@...> wrote:

BTW:

My respect to anybody that has undertaken this effort.? This GUI builder has got to be one of the most basic I have seen in many years. The lack of any internal resizing makes things difficult. Doesn't help that after you replace the image with the larger one, you need to tell the builder that the image is harder and expand it...? And no "anchors"/geometry management means that after you resize all the images, you then need to resize the buttons, etc. and replace them. Yecch....

Mark


Re: Nextion 5/Enhanced for KD8CEC 1.2?

 

BTW:

My respect to anybody that has undertaken this effort.? This GUI builder has got to be one of the most basic I have seen in many years. The lack of any internal resizing makes things difficult. Doesn't help that after you replace the image with the larger one, you need to tell the builder that the image is harder and expand it...? And no "anchors"/geometry management means that after you resize all the images, you then need to resize the buttons, etc. and replace them. Yecch....

Mark


Re: Antuino

Bruce Hall
 

I have been playing around with the Anduino.? ?I inserted a step-attenuator between the RF input and RF output ports.? With no in-line attenuation, the measured RF output is -16 dBm.? ?As I added attenuation, the measured RF power predictably decreased.? ?The receiver bottoms out at roughly -70 dBm, and does not record levels any lower - which makes sense.? What I don't understand is the non-linear relationship at low levels of attenuation.? For instance, adding 3dB, 6dB, or even 12 dB of attenuation did not significantly change the Antduino's displayed power measurement.? Independently, I crudely measured the RF power using my oscilloscope, and the power output changes as expected.? ?I am curious what results others get with their units.? ? Why am I getting a non-linear relationship between attenuation and RF power?

Bruce


On Tue, May 21, 2019 at 7:52 PM Ashhar Farhan <farhanbox@...> wrote:
Peeps,
I just landed back home an hour ago. I will start putting the documentation for the antuino together tomorrow.

- f

On Wed 22 May, 2019, 4:12 AM Glenn, <glennp@...> wrote:
Rob i had issue with fonts also.?? I still can't find the correct glcd LIB either, did you?.

Keep in mind I am a novice at this but do have Jacks book.

What i think it should be is to have all the Fonts in a directory called "fonts". Fonts.h is just a list of the fonts used in the Sketch.
in the same directory as the sketch.

then change #include <fonts/allFonts.h> to "fonts/allFonts.h"?? so when you run the sketch in the IDE, it gets the fonts from the sub directory /fonts

I have another problem though in that i can't find a zipped version of the fonts required to download.?

I found the fonts here
But if I right click on each entry? "Save As" the downloaded files have extra characters in them making them unusable.

glenn
vk3pe







On Tue, May 21, 2019 at 11:53 PM, Rob Bleumer wrote:
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: Antuino

 


_._


On Tue, May 21, 2019 at 4:42 PM Glenn <glennp@...> wrote:
Rob i had issue with fonts also.?? I still can't find the correct glcd LIB either, did you?.

Keep in mind I am a novice at this but do have Jacks book.

What i think it should be is to have all the Fonts in a directory called "fonts". Fonts.h is just a list of the fonts used in the Sketch.
in the same directory as the sketch.

then change #include <fonts/allFonts.h> to "fonts/allFonts.h"?? so when you run the sketch in the IDE, it gets the fonts from the sub directory /fonts

I have another problem though in that i can't find a zipped version of the fonts required to download.?

I found the fonts here
But if I right click on each entry? "Save As" the downloaded files have extra characters in them making them unusable.

glenn
vk3pe







On Tue, May 21, 2019 at 11:53 PM, Rob Bleumer wrote:
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: Antuino

 

Peeps,
I just landed back home an hour ago. I will start putting the documentation for the antuino together tomorrow.

- f

On Wed 22 May, 2019, 4:12 AM Glenn, <glennp@...> wrote:
Rob i had issue with fonts also.?? I still can't find the correct glcd LIB either, did you?.

Keep in mind I am a novice at this but do have Jacks book.

What i think it should be is to have all the Fonts in a directory called "fonts". Fonts.h is just a list of the fonts used in the Sketch.
in the same directory as the sketch.

then change #include <fonts/allFonts.h> to "fonts/allFonts.h"?? so when you run the sketch in the IDE, it gets the fonts from the sub directory /fonts

I have another problem though in that i can't find a zipped version of the fonts required to download.?

I found the fonts here
But if I right click on each entry? "Save As" the downloaded files have extra characters in them making them unusable.

glenn
vk3pe







On Tue, May 21, 2019 at 11:53 PM, Rob Bleumer wrote:
Ho Ashhar
Same question from me and I got also problems with the line containing fonts/allFonts.
Perhaps part of the same.
Rob PA0RBL


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