Skip to main content

A Good Lesson Learned!

It is all about a strategy and having a mind that can see a path to gaining information without making it obvious that is not what you are doing. I am not describing myself.

In yesterday's post I mentioned that while it would be nice to have 12 Channels on the band switch, using the Color TFT chewed up quite a few of the pins and so 5-positions was a certainty with a possibility of adding just a few more without going to a pin expander or using the Mega 2560. Honestly that is what my brain was telling me.

Well, emails from three separate Blog readers suggested I could have a large number of positions using just one pin (Analog to boot) on the Arduino. So how can that be? 

Well, you set up that Analog Pin, so it is reading an Analog voltage which is changed with a switch. The internal Arduino logic would then test the voltage read (allowing for a small range of voltage) and then if the test is met you would load a specific value of frequency into the Si5351.



A0 is the One Pin Analog Read

It is like the old "if" and "then" statements.

IF the read Analog Voltage is between 2.4 and 2.6 volts THEN load 10378500 into the Si5351.

[I have not done any analog voltage reading with the Arduino, but I seem to recall you actually can't directly read voltages but only values and so there possibly may be a conversion involved. I am certain I will be corrected if what I said is incorrect.]

10378500 - 3178500 (LSB BFO) = 7200000 on the display so you would be at 7.2 MHz with 10.378500 MHz loaded into the Mixer stage.

Friend K7TFC (mostlydiyrf.com) was one of those who contacted me, and he uses this exact method of One Pin Analog with one of his products. In essence it is a resistive ladder approach where say 5 VDC is applied at the top of the ladder and the Band Switch connects to the ladder rungs and reads that voltage.

But he also shared several different ways of the resistor ladder approach. One uses all of the same value of resistance so that as you cycle through the band switch each position changes the resistance by the same exact amount. Assume ten resistors each 50k at the 1st position you would have 500K and at the 10th position 50K. The same scheme using different values i.e. 10K, 27K, 33K etc. would give the same effect but a little more work to establish the voltage reading at each rung. 

Another K7TFC scheme was to use momentary push buttons to replace the manual band switch.  

This caused me to think that with 7 Pins to the Arduino you could also use a 3X4 Keypad yielding 12 frequencies.  See https://www.n6qw.com and the remote VFO for the Ten Tec Triton II. A Keypad on the radio front panel would give it the air of sophistication not often seen in homebrew radios. 

A really uptown approach (akin to a really high-class hooker) would be to have a larger touch screen display with a smaller Keypad array as part of the screen and then no band switch or push buttons needed. Possibilities and lots of them. 

Them that know can make things go!

Happy Memorial Day! Never Forget! Some of those who gave their lives for our freedom were not citizens and chose to serve in exchange for citizenship. I guess today they still would get deported. Hmmm those making today's rules did they ever serve our country? We all know of at least one who didn't.

73's
Pete N6QW

Popular posts from this blog

January 26, 2024. A simple CW Transceiver/Transmitter

Cruise through the lower part of the ham bands bands and what do you hear? Well, FT-8 and CW. Often you will not hear any SSB stations yet go to the lower part of the bands, and it is a cacophony (I love that word) of bad sounding signals and some high-speed keying. Fast is not so much of the issue as is bad, run together and jerky keying. But none the less our hobby started there.    So, you could crank down your ICOM 7300 and watch the waterfall on CW or you could homebrew a radio. Actually, to do CW right you need more thought up front than you do with a SSB transceiver. Often, I will state that a CW Transceiver is much more difficult to build than a simple SSB rig. I published two articles in QRP Quarterly on CW transceivers and all I got was a yawn so maybe history will repeat itself.  Yawn!   30M CW Transceiver with RIT!   Of interest is that the LO is a Varactor tuned LC oscillator using a NE602. Look closely at the RIT circuit which is only activated on ...

March 31, 2024. Happy Easter to those who celebrate this day.

What a great day to Binge on Chocolate and experience the pain of that filling that has been leaking.  I would be in that category with the leaking filling(s) had I not just spent an amount equivalent to one of the fancy new uptown appliance box transceivers on two filling repairs. Well at least I can binge on the Chocolate bunnies without fear of pain. Regrettably everything appears to have jumped in price including the price of parts. Well not so much the parts as the shipping costs.  That notably is seen in the eBay treasures. I spotted a nice heathkit DX-20 for about $50 and the shipping was $65. Likely it is a twofer with part being a way to in effect charge a higher price by inflating the shipping and in part by increased shipping costs. Shipping with insurance across the US was about $150 for this jewel and that was three years ago. 6AM on the Left Coast ~ 20M Easter Sunday! My only hope is the cost of Chocolate Bunnies remains steady although a pound of See's Candies f...

August 30, 2024. A PNP 20M SSB Transceiver

Shown below is the Block Diagram for the 20M PNP SSB Transceiver steered in the  Transmit Mode . The components shown in the dotted block are relay steered so that the block module is single pass and amplifies in a single direction. The Block diagram show steered in Transmit.  Essentially the steering process works so that the IF Module input follows the Balanced Modulator on Transmit and then the input side follows the Receive Mixer on Receive. All done with some relays and a bit of RG174U coax. For those who count things in detail, this block diagram is not unlike what was used for the PSSST Transceiver which can be found on my website . Yes, a warmed over P3ST only using PNP devices. TYGNYBNT. 73's Pete N6QW