¿ªÔÆÌåÓý

Firmware questions


 

Hello!

I downloaded the ubitx source code off github, and successfully compiled and uploaded it to the radio. As a
"Hello World" experiment, I changed "LSB" to "PSB" on the display. Then changed it back. :)

The Nano seems to be pretty maxed out. 93% of program ROM used. Are there any more powerful boards available out there? More rom, faster clock?

Screen update is pretty slow. The rig would be more pleasant if it was faster, especially the frequency display.
Anybody know what's the bottleneck?

Are there any unused I/O pins on the Nano? Such could be used to do a bit of profiling - you output pulses at
strategic spots in the code, and watch them with a scope.

- Jerry KF6VB


Jack, W8TEE
 

Jerry:

Almost any other microcontroller will have more of everything: flash, SRAM, and clock. This is true for the STM32, ESP32, and Teensy. All are programmable in the Arduino IDE after installing the proper software patch for the IDE. The table below is from Beginning C for Microcontrollers and gives you some idea of the resource

Resources

Arduino Nano

Arduino

Mega 2560 Pro Mini

Teensy 4.06

Blue Pill

(STM32F103)

ESP32 NodeMCU WROOM 327

Processor bits

8

8

32

32

32

Flash1 (bytes)

32K

256K

2048K

64K - 128K

1.3M5

SRAM (bytes)

2K

8K

1024K

20K

380K5

EEPROM (bytes)

1K

4K

64K2

?3

?3

Processor Clock Speed

16MHz

16MHz

600MHz

72MHz

240MHz4

I/O pins

14

54

40

26

25

Interrupts

All 14 mappable, 2 external

6

All digital pins

All 26 mappable

All 25 mappable

Timers

3 (2 8-bit, 1 16-bit)

6

16

14

4

SPI

1

1

3

1

2

I2C

1

1

3

1

2

DAC resolution (bits)

10

10

12

12

12

Analog pins

8

16

14

5

15

Price

$3

$8

$20

$5

$10


base available for each.

Jack, W8TEE

On Friday, April 23, 2021, 11:54:24 AM EDT, jerry@... <jerry@...> wrote:


Hello!

? I downloaded the ubitx source code off github, and successfully
compiled and uploaded it to the radio.? As a
"Hello World" experiment, I changed "LSB" to "PSB" on the display.? Then
changed it back. :)

? The Nano seems to be pretty maxed out.? 93% of program ROM used.? Are
there any more powerful boards available out there?? More rom, faster
clock?

? Screen update is pretty slow.? The rig would be more pleasant if it
was faster, especially the frequency display.
Anybody know what's the bottleneck?

? Are there any unused I/O pins on the Nano?? Such could be used to do a
bit of profiling - you output pulses at
strategic spots in the code, and watch them with a scope.

? ? ? ? ? ? ? ? - Jerry KF6VB













--
Jack, W8TEE


 

Thanks Jack,

I suppose I should have been more specific - a more powerful board that
would fit in the same form factor and at least more or less plug in. Although
amazing things can be done with little green jumper wires :).

I actually have a couple of ESP32 WROOM cards right here on the desk. Thanks
for the table.

- Jerry KF6VB

On 2021-04-23 09:13, Jack, W8TEE via groups.io wrote:
Jerry:
Almost any other microcontroller will have more of everything: flash,
SRAM, and clock. This is true for the STM32, ESP32, and Teensy. All
are programmable in the Arduino IDE after installing the proper
software patch for the IDE. The table below is from _Beginning C for
Microcontrollers_ and gives you some idea of the resource
RESOURCES
ARDUINO NANO
ARDUINO
MEGA 2560 PRO MINI
TEENSY 4.06
BLUE PILL
(STM32F103)
ESP32 NODEMCU WROOM 327
Processor bits
8
8
32
32
32
Flash1 (bytes)
32K
256K
2048K
64K - 128K
1.3M5
SRAM (bytes)
2K
8K
1024K
20K
380K5
EEPROM (bytes)
1K
4K
64K2
?3
?3
Processor Clock Speed
16MHz
16MHz
600MHz
72MHz
240MHz4
I/O pins
14
54
40
26
25
Interrupts
All 14 mappable, 2 external
6
All digital pins
All 26 mappable
All 25 mappable
Timers
3 (2 8-bit, 1 16-bit)
6
16
14
4
SPI
1
1
3
1
2
I2C
1
1
3
1
2
DAC resolution (bits)
10
10
12
12
12
Analog pins
8
16
14
5
15
Price
$3
$8
$20
$5
$10
base available for each.
Jack, W8TEE
On Friday, April 23, 2021, 11:54:24 AM EDT, jerry@...
<jerry@...> wrote:
Hello!
I downloaded the ubitx source code off github, and successfully
compiled and uploaded it to the radio. As a
"Hello World" experiment, I changed "LSB" to "PSB" on the display.
Then
changed it back. :)
The Nano seems to be pretty maxed out. 93% of program ROM used.
Are
there any more powerful boards available out there? More rom, faster
clock?
Screen update is pretty slow. The rig would be more pleasant if it
was faster, especially the frequency display.
Anybody know what's the bottleneck?
Are there any unused I/O pins on the Nano? Such could be used to do
a
bit of profiling - you output pulses at
strategic spots in the code, and watch them with a scope.
- Jerry KF6VB
--
Jack, W8TEE
Links:
------
[1] /g/BITX20/message/87862
[2] /mt/82314369/243852
[3] /g/BITX20/post
[4] /g/BITX20/editsub/243852
[5] /g/BITX20/leave/10189903/243852/952924773/xyzzy


 

Has anybody tried dropping in a Teensy?

- Jerry KF6VB

On 2021-04-23 11:02, jerry@... wrote:
Thanks Jack,
I suppose I should have been more specific - a more powerful board that
would fit in the same form factor and at least more or less plug in. Although
amazing things can be done with little green jumper wires :).
I actually have a couple of ESP32 WROOM cards right here on the desk. Thanks
for the table.
- Jerry KF6VB
On 2021-04-23 09:13, Jack, W8TEE via groups.io wrote:
Jerry:
Almost any other microcontroller will have more of everything: flash,
SRAM, and clock. This is true for the STM32, ESP32, and Teensy. All
are programmable in the Arduino IDE after installing the proper
software patch for the IDE. The table below is from _Beginning C for
Microcontrollers_ and gives you some idea of the resource
RESOURCES
ARDUINO NANO
ARDUINO
MEGA 2560 PRO MINI
TEENSY 4.06
BLUE PILL
(STM32F103)
ESP32 NODEMCU WROOM 327
Processor bits
8
8
32
32
32
Flash1 (bytes)
32K
256K
2048K
64K - 128K
1.3M5
SRAM (bytes)
2K
8K
1024K
20K
380K5
EEPROM (bytes)
1K
4K
64K2
?3
?3
Processor Clock Speed
16MHz
16MHz
600MHz
72MHz
240MHz4
I/O pins
14
54
40
26
25
Interrupts
All 14 mappable, 2 external
6
All digital pins
All 26 mappable
All 25 mappable
Timers
3 (2 8-bit, 1 16-bit)
6
16
14
4
SPI
1
1
3
1
2
I2C
1
1
3
1
2
DAC resolution (bits)
10
10
12
12
12
Analog pins
8
16
14
5
15
Price
$3
$8
$20
$5
$10
base available for each.
Jack, W8TEE
On Friday, April 23, 2021, 11:54:24 AM EDT, jerry@...
<jerry@...> wrote:
Hello!
I downloaded the ubitx source code off github, and successfully
compiled and uploaded it to the radio. As a
"Hello World" experiment, I changed "LSB" to "PSB" on the display.
Then
changed it back. :)
The Nano seems to be pretty maxed out. 93% of program ROM used.
Are
there any more powerful boards available out there? More rom, faster
clock?
Screen update is pretty slow. The rig would be more pleasant if it
was faster, especially the frequency display.
Anybody know what's the bottleneck?
Are there any unused I/O pins on the Nano? Such could be used to do
a
bit of profiling - you output pulses at
strategic spots in the code, and watch them with a scope.
- Jerry KF6VB
--
Jack, W8TEE
Links:
------
[1] /g/BITX20/message/87862
[2] /mt/82314369/243852
[3] /g/BITX20/post
[4] /g/BITX20/editsub/243852
[5] /g/BITX20/leave/10189903/243852/952924773/xyzzy


Jack, W8TEE
 

I don't think you'll find one that's an exact match. I think Jim Sheldon, W0EB, made some kind of PCB that allowed a Teensy to plug into a Nano socket, but I'm not sure.

Jack, W8TEE

On Friday, April 23, 2021, 2:02:10 PM EDT, jerry@... <jerry@...> wrote:


Thanks Jack,

? ? I suppose I should have been more specific - a more powerful board
that
would fit in the same form factor and at least more or less plug in.?
Although
amazing things can be done with little green jumper wires :).

? ? I actually have a couple of ESP32 WROOM cards right here on the desk.
? Thanks
for the table.

? ? ? ? ? ? ? ? ? ? - Jerry KF6VB




On 2021-04-23 09:13, Jack, W8TEE via groups.io wrote:
> Jerry:
>
> Almost any other microcontroller will have more of everything: flash,
> SRAM, and clock. This is true for the STM32, ESP32, and Teensy. All
> are programmable in the Arduino IDE after installing the proper
> software patch for the IDE. The table below is from _Beginning C for
> Microcontrollers_ and gives you some idea of the resource
>
> RESOURCES
>
> ARDUINO NANO
>
> ARDUINO
>
> MEGA 2560 PRO MINI
>
> TEENSY 4.06
>
> BLUE PILL
>
> (STM32F103)
>
> ESP32 NODEMCU WROOM 327
>
> Processor bits
>
> 8
>
> 8
>
> 32
>
> 32
>
> 32
>
> Flash1 (bytes)
>
> 32K
>
> 256K
>
> 2048K
>
> 64K - 128K
>
> 1.3M5
>
> SRAM (bytes)
>
> 2K
>
> 8K
>
> 1024K
>
> 20K
>
> 380K5
>
> EEPROM (bytes)
>
> 1K
>
> 4K
>
> 64K2
>
> ?3
>
> ?3
>
> Processor Clock Speed
>
> 16MHz
>
> 16MHz
>
> 600MHz
>
> 72MHz
>
> 240MHz4
>
> I/O pins
>
> 14
>
> 54
>
> 40
>
> 26
>
> 25
>
> Interrupts
>
> All 14 mappable, 2 external
>
> 6
>
> All digital pins
>
> All 26 mappable
>
> All 25 mappable
>
> Timers
>
> 3 (2 8-bit, 1 16-bit)
>
> 6
>
> 16
>
> 14
>
> 4
>
> SPI
>
> 1
>
> 1
>
> 3
>
> 1
>
> 2
>
> I2C
>
> 1
>
> 1
>
> 3
>
> 1
>
> 2
>
> DAC resolution (bits)
>
> 10
>
> 10
>
> 12
>
> 12
>
> 12
>
> Analog pins
>
> 8
>
> 16
>
> 14
>
> 5
>
> 15
>
> Price
>
> $3
>
> $8
>
> $20
>
> $5
>
> $10
>
> base available for each.
>
> Jack, W8TEE
>
>? On Friday, April 23, 2021, 11:54:24 AM EDT, jerry@...
> <jerry@...> wrote:
>
> Hello!
>
>? I downloaded the ubitx source code off github, and successfully
> compiled and uploaded it to the radio.? As a
> "Hello World" experiment, I changed "LSB" to "PSB" on the display.
> Then
> changed it back. :)
>
>? The Nano seems to be pretty maxed out.? 93% of program ROM used.
> Are
> there any more powerful boards available out there?? More rom, faster
> clock?
>
>? Screen update is pretty slow.? The rig would be more pleasant if it
> was faster, especially the frequency display.
> Anybody know what's the bottleneck?
>
>? Are there any unused I/O pins on the Nano?? Such could be used to do
> a
> bit of profiling - you output pulses at
> strategic spots in the code, and watch them with a scope.
>
>? ? ? ? ? ? ? ? - Jerry KF6VB
>
> --
> Jack, W8TEE
>
>
> Links:
> ------
> [1] /g/BITX20/message/87862
> [2] /mt/82314369/243852
> [3] /g/BITX20/post
> [4] /g/BITX20/editsub/243852
> [5] /g/BITX20/leave/10189903/243852/952924773/xyzzy






--
Jack, W8TEE


Jack, W8TEE
 

Found it!


Jack, W8TEE

On Friday, April 23, 2021, 2:22:40 PM EDT, Jack, W8TEE via groups.io <jjpurdum@...> wrote:


I don't think you'll find one that's an exact match. I think Jim Sheldon, W0EB, made some kind of PCB that allowed a Teensy to plug into a Nano socket, but I'm not sure.

Jack, W8TEE

On Friday, April 23, 2021, 2:02:10 PM EDT, jerry@... <jerry@...> wrote:


Thanks Jack,

? ? I suppose I should have been more specific - a more powerful board
that
would fit in the same form factor and at least more or less plug in.?
Although
amazing things can be done with little green jumper wires :).

? ? I actually have a couple of ESP32 WROOM cards right here on the desk.
? Thanks
for the table.

? ? ? ? ? ? ? ? ? ? - Jerry KF6VB




On 2021-04-23 09:13, Jack, W8TEE via groups.io wrote:
> Jerry:
>
> Almost any other microcontroller will have more of everything: flash,
> SRAM, and clock. This is true for the STM32, ESP32, and Teensy. All
> are programmable in the Arduino IDE after installing the proper
> software patch for the IDE. The table below is from _Beginning C for
> Microcontrollers_ and gives you some idea of the resource
>
> RESOURCES
>
> ARDUINO NANO
>
> ARDUINO
>
> MEGA 2560 PRO MINI
>
> TEENSY 4.06
>
> BLUE PILL
>
> (STM32F103)
>
> ESP32 NODEMCU WROOM 327
>
> Processor bits
>
> 8
>
> 8
>
> 32
>
> 32
>
> 32
>
> Flash1 (bytes)
>
> 32K
>
> 256K
>
> 2048K
>
> 64K - 128K
>
> 1.3M5
>
> SRAM (bytes)
>
> 2K
>
> 8K
>
> 1024K
>
> 20K
>
> 380K5
>
> EEPROM (bytes)
>
> 1K
>
> 4K
>
> 64K2
>
> ?3
>
> ?3
>
> Processor Clock Speed
>
> 16MHz
>
> 16MHz
>
> 600MHz
>
> 72MHz
>
> 240MHz4
>
> I/O pins
>
> 14
>
> 54
>
> 40
>
> 26
>
> 25
>
> Interrupts
>
> All 14 mappable, 2 external
>
> 6
>
> All digital pins
>
> All 26 mappable
>
> All 25 mappable
>
> Timers
>
> 3 (2 8-bit, 1 16-bit)
>
> 6
>
> 16
>
> 14
>
> 4
>
> SPI
>
> 1
>
> 1
>
> 3
>
> 1
>
> 2
>
> I2C
>
> 1
>
> 1
>
> 3
>
> 1
>
> 2
>
> DAC resolution (bits)
>
> 10
>
> 10
>
> 12
>
> 12
>
> 12
>
> Analog pins
>
> 8
>
> 16
>
> 14
>
> 5
>
> 15
>
> Price
>
> $3
>
> $8
>
> $20
>
> $5
>
> $10
>
> base available for each.
>
> Jack, W8TEE
>
>? On Friday, April 23, 2021, 11:54:24 AM EDT, jerry@...
> <jerry@...> wrote:
>
> Hello!
>
>? I downloaded the ubitx source code off github, and successfully
> compiled and uploaded it to the radio.? As a
> "Hello World" experiment, I changed "LSB" to "PSB" on the display.
> Then
> changed it back. :)
>
>? The Nano seems to be pretty maxed out.? 93% of program ROM used.
> Are
> there any more powerful boards available out there?? More rom, faster
> clock?
>
>? Screen update is pretty slow.? The rig would be more pleasant if it
> was faster, especially the frequency display.
> Anybody know what's the bottleneck?
>
>? Are there any unused I/O pins on the Nano?? Such could be used to do
> a
> bit of profiling - you output pulses at
> strategic spots in the code, and watch them with a scope.
>
>? ? ? ? ? ? ? ? - Jerry KF6VB
>
> --
> Jack, W8TEE
>
>
> Links:
> ------
> [1] /g/BITX20/message/87862
> [2] /mt/82314369/243852
> [3] /g/BITX20/post
> [4] /g/BITX20/editsub/243852
> [5] /g/BITX20/leave/10189903/243852/952924773/xyzzy






--
Jack, W8TEE

--
Jack, W8TEE


 

¿ªÔÆÌåÓý

Jack and others,

I have a actual Raduino replacement kit available for the V6 that is designed specifically for the Teensy 4.1 and uses your original display. ?The teensy 4.1 plugs into the back side upside down similar to the way the nano does on the original. ?Details are on the Triumirate Skonk Works (TSW) website, www.w0eb.com though you have to email me for ordering details.

We also make an adapter kit that allows the earlier, smaller, Teensy 4.0 to plug into the NANO socket on an original V6 Raduino.

Jim Sheldon, W0EB
TSW Project Coordinator


On Apr 23, 2021, at 2:26 PM, Jack, W8TEE via groups.io <jjpurdum@...> wrote:

?
I don't think you'll find one that's an exact match. I think Jim Sheldon, W0EB, made some kind of PCB that allowed a Teensy to plug into a Nano socket, but I'm not sure.

Jack, W8TEE

On Friday, April 23, 2021, 2:02:10 PM EDT, jerry@... <jerry@...> wrote:


Thanks Jack,

? ? I suppose I should have been more specific - a more powerful board
that
would fit in the same form factor and at least more or less plug in.?
Although
amazing things can be done with little green jumper wires :).

? ? I actually have a couple of ESP32 WROOM cards right here on the desk.
? Thanks
for the table.

? ? ? ? ? ? ? ? ? ? - Jerry KF6VB




On 2021-04-23 09:13, Jack, W8TEE via groups.io wrote:
> Jerry:
>
> Almost any other microcontroller will have more of everything: flash,
> SRAM, and clock. This is true for the STM32, ESP32, and Teensy. All
> are programmable in the Arduino IDE after installing the proper
> software patch for the IDE. The table below is from _Beginning C for
> Microcontrollers_ and gives you some idea of the resource
>
> RESOURCES
>
> ARDUINO NANO
>
> ARDUINO
>
> MEGA 2560 PRO MINI
>
> TEENSY 4.06
>
> BLUE PILL
>
> (STM32F103)
>
> ESP32 NODEMCU WROOM 327
>
> Processor bits
>
> 8
>
> 8
>
> 32
>
> 32
>
> 32
>
> Flash1 (bytes)
>
> 32K
>
> 256K
>
> 2048K
>
> 64K - 128K
>
> 1.3M5
>
> SRAM (bytes)
>
> 2K
>
> 8K
>
> 1024K
>
> 20K
>
> 380K5
>
> EEPROM (bytes)
>
> 1K
>
> 4K
>
> 64K2
>
> ?3
>
> ?3
>
> Processor Clock Speed
>
> 16MHz
>
> 16MHz
>
> 600MHz
>
> 72MHz
>
> 240MHz4
>
> I/O pins
>
> 14
>
> 54
>
> 40
>
> 26
>
> 25
>
> Interrupts
>
> All 14 mappable, 2 external
>
> 6
>
> All digital pins
>
> All 26 mappable
>
> All 25 mappable
>
> Timers
>
> 3 (2 8-bit, 1 16-bit)
>
> 6
>
> 16
>
> 14
>
> 4
>
> SPI
>
> 1
>
> 1
>
> 3
>
> 1
>
> 2
>
> I2C
>
> 1
>
> 1
>
> 3
>
> 1
>
> 2
>
> DAC resolution (bits)
>
> 10
>
> 10
>
> 12
>
> 12
>
> 12
>
> Analog pins
>
> 8
>
> 16
>
> 14
>
> 5
>
> 15
>
> Price
>
> $3
>
> $8
>
> $20
>
> $5
>
> $10
>
> base available for each.
>
> Jack, W8TEE
>
>? On Friday, April 23, 2021, 11:54:24 AM EDT, jerry@...
> <jerry@...> wrote:
>
> Hello!
>
>? I downloaded the ubitx source code off github, and successfully
> compiled and uploaded it to the radio.? As a
> "Hello World" experiment, I changed "LSB" to "PSB" on the display.
> Then
> changed it back. :)
>
>? The Nano seems to be pretty maxed out.? 93% of program ROM used.
> Are
> there any more powerful boards available out there?? More rom, faster
> clock?
>
>? Screen update is pretty slow.? The rig would be more pleasant if it
> was faster, especially the frequency display.
> Anybody know what's the bottleneck?
>
>? Are there any unused I/O pins on the Nano?? Such could be used to do
> a
> bit of profiling - you output pulses at
> strategic spots in the code, and watch them with a scope.
>
>? ? ? ? ? ? ? ? - Jerry KF6VB
>
> --
> Jack, W8TEE
>
>
> Links:
> ------
> [1] /g/BITX20/message/87862
> [2] /mt/82314369/243852
> [3] /g/BITX20/post
> [4] /g/BITX20/editsub/243852
> [5] /g/BITX20/leave/10189903/243852/952924773/xyzzy






--
Jack, W8TEE


 

Jim,

I¡¯d be interested in purchasing the Teensy 4.1 adapter kit from you. I have the uBITX v6 so it sounds like there wouldn¡¯t be any problem with the conversion. I have the Nextion 5¡± Enhanced Display. Will your adapter work with this display? ?I¡¯m not sure how to go about finding your email address, Can you provide your email address for me or explain how I would go about getting it? Thank you in advance.

73,
Robert, AG6LK?


 

None of TSW offerings support the Nextion.?

All info is at

Ron

On Sunday, April 25, 2021, 1:18:06 AM EDT, Robert AG6LK <amrmedic@...> wrote:


Jim,

I¡¯d be interested in purchasing the Teensy 4.1 adapter kit from you. I have the uBITX v6 so it sounds like there wouldn¡¯t be any problem with the conversion. I have the Nextion 5¡± Enhanced Display. Will your adapter work with this display? ?I¡¯m not sure how to go about finding your email address, Can you provide your email address for me or explain how I would go about getting it? Thank you in advance.

73,
Robert, AG6LK?


Pierre FK8IH
 

Thanks for this link . I have started to study it and finds it can provide a wonderful uBitx with the choice of IARU regions, a faster answer to commands, keyboard and mouse control and many other improvements.?
73 - Pierre - FK8IH?