¿ªÔÆÌåÓý

Date

Re: lcd 3.5 display help sought

Jack Purdum
 

Sure! Sounds very neat! Any pictures?

Jack, W8TEE



From: G4NQX <tasmod@...>
To: [email protected]
Sent: Sunday, February 5, 2017 10:51 AM
Subject: Re: [BITX20] lcd 3.5 display help sought

Jack,
No, whenever I use an 8 bit display I automatically use a Mega for the pins.? I've done all sorts of tricks before to use Nano or Uno even,? but it's not worth the hassle as they are cheap enough.
Apart from my portable rigs I rarely try to shoehorn or miniaturise projects.? If I use smd for something they automatically become smaller anyway and in fact I like smd work.
The signal generator project uses a Mega, a 3.5inch 8 bit mcufriend display, a 4x3 keypad for direct frequency entry to suit either of the modules, si5351 or ad9850(1)
An ad8703 log amp as power out measurement. Future work is to add switched lpf's to cater for ham bands. (I've already done this on another project) Amp and output leveller for the ad9850. Then switched attenuators.
Features as now are,? single frequency - frequency sweep between ranges - power out measurement - select either rf board - frequency limits to suit.
I can send you the sketch if you want a look.


--
Rob G4NQX



Re: Frequency display refresh (or lack thereof)

Jack Purdum
 

It gets worse!!

Jack, W8TEE



From: Dr Fred Hambrecht <AAR4MI@...>
To: [email protected]
Sent: Sunday, February 5, 2017 10:45 AM
Subject: Re: [BITX20] Frequency display refresh (or lack thereof)

Thanks for the information Jack. I just got involved a few weeks ago when I purchased the BITX 40 on a whim. Since then it has been like drinking from a firehose. ?I now have 4 Nano¡¯s and just ordered a mega? and have a ton of projects swirling through my head. Wow these are neat toys!
?
v/r
Fred W4JLE
?
From: [email protected] [mailto:[email protected]] On Behalf Of Jack Purdum via Groups.Io
Sent: Saturday, February 04, 2017 13:18
To: [email protected]
Subject: Re: [BITX20] Frequency display refresh (or lack thereof)
?
This helps identify the interrupt pins for the Arduino family:


Board
Digital Pins Usable For Interrupts
Uno, Nano, Mini, other 328-based
2, 3
Mega, Mega2560,?MegaADK, Pro Mini
2, 3, 18, 19, 20, 21
Micro, Leonardo, other 32u4-based
0, 1, 2, 3, 7
Zero
all digital pins, except 4
MKR1000?Rev.1
0, 1, 4, 5, 6, 7, 8, 9, A1, A2
Due
all digital pins
101
all digital pins

?
?
Jack, W8TEE
?



Re: Possible PA low output problem.

 

At $59, this will be going out to a lot of new hams worldwide. ?Like it or not. ?Some in rural areas without much of a support network or money for additional materials. ?The majority will just open the box and wire it up to be on the air. ? But others won't. ?We at least need better debug instructions. Much of the trouble seems to be in the final. ?Perhaps it's good enough to just post DC voltages around the three transistors there, as Raj did a couple months ago, ?Then what, they speak into the mike and measure the RF power out on their Bird wattmeter? ?That assumes an awful lot of stuff is suddenly working, and is not very concise. ?There should be a recommended way to inject a known signal into the final and measure the results. ?One way to generate a known signal level into the final might be to unbalance the modulator with a DC voltage and move the BFO down to where it's centered in the filter passband, as I have been recommending for CW transmisssion. ?(Ideally, the Si5351 is also used for the BFO.) ? That still assumes half the rig is working, though with an RF probe you could work your way from BFO to the IRF510. ?For example, varying the BFO frequency and inspecting the signal going into the diode ring mixer with the RF probe on transmit would verify that the crystal filter is working, and show the center frequency.

Alternately, a digital pin shorted to ground at power up on the Nano tells it to turn on the Si5351 B channel with a 7.2mhz signal, goes out through two series resistors to ground to attenuate the 7.2mhz to about 0.1v pk-pk for injection into the base of Q13. ?That's my RF signal generator, and it would cost about 4 cents for those two resistors. ? If I were to kit those resistors up with a nano, si5351, display, pcboard, a few other parts, autoinsertion, mailing, dealing with folks saying it doesn't work or didn't arrive, my price would be something like $50. ?Much better to simply put those two resistors down on the main board for an additional 4 cents. ?A schottky diode, cap, and a resistor or two would bring that up to about 10 cents, and provides the RF probe to dig through the final with. ?If it's on the main board, then everyone has it, and we can have a common set of instructions for how to go about debug, and can get measurements that should agree. ?With some work, this could be a real educational tool for the new ham rather than a frustrating puzzle.

The problem with the diode RF probe is it doesn't have much dynamic range. ?However, given how gain is distributed throughout the Bitx40 RF stages, we may not need much dynamic range. ?Especially if instead of 2 resistors, we have a string of 3 or 4 at the Si5351's B output, providing RF signals at various levels. ?Might consider having the AD8310 available as a $10 option, which would also give us a very very nice RF probe, a calibrated S meter, and sweeperino like capabilities.

The STM32 processor boards mentioned elsewhere are interesting. ?For about an extra dollar over the Nano, you should have enough power to send and receive some of the digital modes. ?The ADC resolution goes up to 12 bits. ?Counter-timers can directly count at 30mhz+ for a very nice freq counter. ?More communication channels for perhipherals. ?And enough flash that this debug stuff could get quite sophisticated without getting in the way.

Creeping featurism run amock. ?I'm ok with the Nano, and instructions for dead-bugging a diode RF probe. ?It's all Ashhar's call. ?

Jerry, KE7ER


?On Sat, Feb 4, 2017 at 10:56 pm, Todd K7TFC wrote:

If I were to advise a new ham with just a voltmeter, I'd tell him he needs to learn to walk before he can run

?


Re: Group Uploading

 

I just checked and there is no UPLOAD button and I am a subscriber.

73

Ken VA3ABN

On Sun, Feb 5, 2017 at 10:22 AM, Hans Summers <hans.summers@...> wrote:
Hi Rob

I just checked. Files and photos are already set to:

"Subscribers can view and upload"

It does not seem to have been reset at the time of the upgrade. The same applies already to the QRP Labs group settings... so I'm not sure what to do about this...

73 Hans G0UPL?
?



Re: lcd 3.5 display help sought

 

Rob

Send me your code that would be great. You can email me at. olson339 at Comcast dot net

Art

Sent from my iPhone

On Feb 5, 2017, at 11:33 AM, Art Olson <olsonaj6927@...> wrote:

you


Re: lcd 3.5 display help sought

 

¿ªÔÆÌåÓý

Rob

I have come to the conclusion. Appreciate your wise council. I plan on looking at Jacks work and if you?

Sent from my iPhone

On Feb 5, 2017, at 11:11 AM, G4NQX <tasmod@...> wrote:

You probably won't like this but that code just isn't worth it, it's all about display.? You would be better deciding what you want and write your own or hack the display code about.??? Heck, use the Raduino code but rewrite for tft display,

Trouble is display coding for a tft display is not trivial compared to an lcd, even at 20x4 line lcd, that's easy !

Use Jacks rotary speedup for just one band use along with a simpler uncluttered tft display.? I know the filter stuff etc looks nice but it's not relevant to a BitX.

I can send you some code already done for tft's for you to look at and hack.? I use a 'basic' style of coding which is easy to read and follow.

One tip I find helps whenever you get code to look at, is to first segment the functions with the single comment and hashes (pounds). i.e.?? //#######################

That way you get a clear idea of program flow.


Better stop now as I suppose this isn't relevant to BitX group.
--
Rob G4NQX


Re: lcd 3.5 display help sought

G4NQX
 

Sorry, last post was meant for Art
--
Rob G4NQX


Re: lcd 3.5 display help sought

G4NQX
 

You probably won't like this but that code just isn't worth it, it's all about display.? You would be better deciding what you want and write your own or hack the display code about.??? Heck, use the Raduino code but rewrite for tft display,

Trouble is display coding for a tft display is not trivial compared to an lcd, even at 20x4 line lcd, that's easy !

Use Jacks rotary speedup for just one band use along with a simpler uncluttered tft display.? I know the filter stuff etc looks nice but it's not relevant to a BitX.

I can send you some code already done for tft's for you to look at and hack.? I use a 'basic' style of coding which is easy to read and follow.

One tip I find helps whenever you get code to look at, is to first segment the functions with the single comment and hashes (pounds). i.e.?? //#######################

That way you get a clear idea of program flow.


Better stop now as I suppose this isn't relevant to BitX group.
--
Rob G4NQX


Re: lcd 3.5 display help sought

G4NQX
 

Jack,

No, whenever I use an 8 bit display I automatically use a Mega for the pins.? I've done all sorts of tricks before to use Nano or Uno even,? but it's not worth the hassle as they are cheap enough.

Apart from my portable rigs I rarely try to shoehorn or miniaturise projects.? If I use smd for something they automatically become smaller anyway and in fact I like smd work.

The signal generator project uses a Mega, a 3.5inch 8 bit mcufriend display, a 4x3 keypad for direct frequency entry to suit either of the modules, si5351 or ad9850(1)

An ad8703 log amp as power out measurement. Future work is to add switched lpf's to cater for ham bands. (I've already done this on another project) Amp and output leveller for the ad9850. Then switched attenuators.

Features as now are,? single frequency - frequency sweep between ranges - power out measurement - select either rf board - frequency limits to suit.

I can send you the sketch if you want a look.



--
Rob G4NQX


Re: Frequency display refresh (or lack thereof)

 

¿ªÔÆÌåÓý

Thanks for the information Jack. I just got involved a few weeks ago when I purchased the BITX 40 on a whim. Since then it has been like drinking from a firehose. ?I now have 4 Nano¡¯s and just ordered a mega? and have a ton of projects swirling through my head. Wow these are neat toys!

?

v/r

Fred W4JLE

?

From: [email protected] [mailto:[email protected]] On Behalf Of Jack Purdum via Groups.Io
Sent: Saturday, February 04, 2017 13:18
To: [email protected]
Subject: Re: [BITX20] Frequency display refresh (or lack thereof)

?

This helps identify the interrupt pins for the Arduino family:



Board

Digital Pins Usable For Interrupts

Uno, Nano, Mini, other 328-based

2, 3

Mega, Mega2560,?MegaADK, Pro Mini

2, 3, 18, 19, 20, 21

Micro, Leonardo, other 32u4-based

0, 1, 2, 3, 7

Zero

all digital pins, except 4

MKR1000?Rev.1

0, 1, 4, 5, 6, 7, 8, 9, A1, A2

Due

all digital pins

101

all digital pins

?

?

Jack, W8TEE

?


Re: Group Uploading

M Garza
 

How about unchecking the upload box, saving, and the rechecking the box and saving?? Might just be a glitch in the settings dB that might get cleared by this.

Just an idea.

Marco - KG5PRT?

On Feb 5, 2017 9:38 AM, "G4NQX" <tasmod@...> wrote:

Thanks Hans,

It's an odd one then.? I certainly uploaded the Tips doc ok, then next time it was no upload button.

Needs a mail to methinks.
--
Rob G4NQX


Re: Group Uploading

G4NQX
 

Thanks Hans,

It's an odd one then.? I certainly uploaded the Tips doc ok, then next time it was no upload button.

Needs a mail to groups.io methinks.
--
Rob G4NQX


Re: Possible PA low output problem.

 

John, It sounds like the screeching and dimming is caused by the power supply falling over when the IRF starts drawing heavy current from it. It may be due to the gate bias being set a little high and the IRF going into avalanche. (that's why it stopped when you turned the bias down) Is your power supply beefy enough? Although you probably won't need more than a couple of Amps it's nice to have some headroom. Bear in mind many 'Overseas' brands rather overrate their specs! PC power supplies are a great, cheap, alternative to expensive lab supplies. but be carefull, they can supply a LOT of current if you short something! (Fuses are your freind!)

Also, I'm not sure your ammeter really has the resolution to accurately set the bias current. It might be worth using a current shunt resistor to measure it with. Dig around in the junk box (or somebody elses!) for a 1R 15W power resistor (or something close) stick it in the PA power line and measure the voltage between the resistor's terminals. Using the magic of ohm's law (I=V/R) you have your current measurement.

Hope that might be helpull, I'm no expert by a long way, but i'll help you out if i can.


Re: Group Uploading

 

Hi Rob

I just checked. Files and photos are already set to:

"Subscribers can view and upload"

It does not seem to have been reset at the time of the upgrade. The same applies already to the QRP Labs group settings... so I'm not sure what to do about this...

73 Hans G0UPL?
?


Re: lcd 3.5 display help sought

Jack Purdum
 

Rob:

Did you manage to shoehorn the display code into the Nano program space? Even though my code showes about 25% of SRAM still available, the code was "flaky". (I moved my code to the Mega 2560 Pro Mini.) I'm pretty sure I was trashing the heap space with changes in the amount of stack space as the program ran. I also see that you're managing the display with a keypad; that might help cut down the code size, as I'm using a state machine and a rotary encoder to do everything.

Jack, W8TEE



From: G4NQX <tasmod@...>
To: [email protected]
Sent: Sunday, February 5, 2017 7:48 AM
Subject: Re: [BITX20] lcd 3.5 display help sought

Art,
Are you using 3.5 inch or 2.8 inch display. Code is written for 2.8 and will take some scaling to fit properly.
I'm using a 3.5 inch mcufriend here on a twin signal generator project and it's 480 x 320. (Notoriously difficult to photo)


--
Rob G4NQX



Re: lcd 3.5 display help sought

Jack Purdum
 

Some time ago I posted a photo of a 2.4" mcufriend tft display I hope to integrate into my rig. I have also tried it with the 3.5" display and it works fine, but is not scaled correctly. It would be a lot of work, but the code could be configured to auto-scale at runtime after reading the display ID.?

Jack, W8TEE



From: Art Olson via Groups.Io <olsonaj6927@...>
To: [email protected]
Sent: Sunday, February 5, 2017 9:36 AM
Subject: Re: [BITX20] lcd 3.5 display help sought


image1.JPG
Sent from my iPhone
3.5. Ordered a 2.8 and should be here this week. 3.5 supports mcufriend. Initially ran examples to make sure it would work under mcufriend. Looked thru the sketches to see where to change the LCD model - no luck.?

Art



On Feb 5, 2017, at 7:48 AM, G4NQX <tasmod@...> wrote:

Art,
Are you using 3.5 inch or 2.8 inch display. Code is written for 2.8 and will take some scaling to fit properly.
I'm using a 3.5 inch mcufriend here on a twin signal generator project and it's 480 x 320. (Notoriously difficult to photo)
<mcufriend3point5.jpg>

--
Rob G4NQX



Re: lcd 3.5 display help sought

 

¿ªÔÆÌåÓý


image1.JPG
Sent from my iPhone
3.5. Ordered a 2.8 and should be here this week. 3.5 supports mcufriend. Initially ran examples to make sure it would work under mcufriend. Looked thru the sketches to see where to change the LCD model - no luck.?

Art



On Feb 5, 2017, at 7:48 AM, G4NQX <tasmod@...> wrote:

Art,

Are you using 3.5 inch or 2.8 inch display. Code is written for 2.8 and will take some scaling to fit properly.

I'm using a 3.5 inch mcufriend here on a twin signal generator project and it's 480 x 320. (Notoriously difficult to photo)

<mcufriend3point5.jpg>


--
Rob G4NQX


Re: Possible PA low output problem.

 

Only one problem - except for folks who were "grandfathered in" with those licenses and never wend any further, there is no such thing as a "Novice" license any more; just Technician, General, and Extra.

Rich
KC8MWG


On Sunday, February 5, 2017 7:56 AM, Paul Chebi <paul.chebi@...> wrote:


My suggestion would be get a novice licence to start. Kb6nu has excellent courses for all exams.
That would be a good introduction to what you're getting into.?
Paul kk4ptv



Re: Possible PA low output problem.

Paul Chebi
 

My suggestion would be get a novice licence to start. Kb6nu has excellent courses for all exams.

That would be a good introduction to what you're getting into.?

Paul kk4ptv


Re: lcd 3.5 display help sought

G4NQX
 

Art,

Are you using 3.5 inch or 2.8 inch display. Code is written for 2.8 and will take some scaling to fit properly.

I'm using a 3.5 inch mcufriend here on a twin signal generator project and it's 480 x 320. (Notoriously difficult to photo)



--
Rob G4NQX