¿ªÔÆÌåÓý

Re: CNC encoder for ubitx


 

Jack

Me too.? It sounds like fun!

Arv
_._


On Fri, May 14, 2021 at 7:41 PM Jack, W8TEE via <jjpurdum=[email protected]> wrote:
Hi Arv:

I misunderstood what you were saying for the?clear dumb terminal. Your solution works fine, is easy to code...what's not to like? If the column does come into existence, I hope readers will write in with questions. Unfortunately, I won't always have the answer, but perhaps I can find someone who does.

I hope it happens!

Jack, W8TEE

On Friday, May 14, 2021, 5:35:18 PM EDT, Arv Evans <arvid.evans@...> wrote:


Jack

At the risk of giving away some content that may have been better saved
for your column, I was talking about the pseudo dumb terminal that is part
of the Arduino IDE.? To the best of my knowledge there is no command that
be sent by the attached Arduino to clear this pseudo-terminal screen.
My solution is to have the Arduino code send a series of "\n" commands
to the dumb terminal emulator.? At 9600 or above this happens so fast that
existing screen content is simply scrolled off the screen and disappears
without even a flicker.?

Code has been added to BitLash to allow it to poll and write to various ports
in modes that provide ham radio type interfaces (i.e. SWR, PWR, REV, FWD,
MODE, FREQUENCY, FREQUENCY STEP SIZE, FREQUENCY STEP RATE,
VFO-A, VFO-B, VFO-C, VFO-D, and so on).? BitLash can be rebuilt to be both
attached computer with, or without CAT controls for various type of CAT...even
the Schr?dinger's version!

?

As you know, many of those here have only recently started to teach
themselves C-language.? My typical mistakes may be of interest to them
as they make similar mistakes and have related questions.? Others are
like me, old codgers with poor memories, and need all the help we can get.

Arv
_._



On Fri, May 14, 2021 at 2:51 PM Jack, W8TEE via <jjpurdum=[email protected]> wrote:
Hi Arv:

All of those would be interesting, but I don't know anything about BitLash other than what it is. Usually, a device being used as a screen (e.g., 16x2 display or TFT color display) will have doc sheets telling what the commands are for a clear screen (and other things, like cursor positioning). Reading push buttons or a keyboard is really the same thing, only a keyboard usually has more switches that the microcontroller has pins, so some kind of interface is normally used. The current project I'm working on (an SDT) uses one pin to control 16 switches, saving me 15 pins for other uses. Those are the kinds of things I want to highlight.

I do have to keep in mind that I need to provide a solution in a fairly small number of paragraphs. Still, I think it would be nice to have a place where software topics can be discussed. If it does happen, I would also like to present the ideas/solutions of others, too.

Jack, W8TEE

On Friday, May 14, 2021, 4:30:42 PM EDT, Arv Evans <arvid.evans@...> wrote:


Jack

Of course I would be interested.? I might even be able to contribute some
problems and maybe some solutions for the column.

Things that immediately come to mind:
  • How to do a Screen Clear on the dumb terminal in an Arduino IDE.

  • How to integrate commands from both push-buttons and a keyboard.

  • BitLash, further development for Arduino.

  • Using the Arduino dumb terminal with and without keystroke echoing.

  • And several more things that have bugged me in my most recent projects.
Arv? K7HKL
_-_



On Thu, May 13, 2021 at 8:49 PM Jack, W8TEE via <jjpurdum=[email protected]> wrote:
All:

I have an article coming out in (I think) the June issue of CQ that talks a little bit about software. The article is an experiment to see if there is any interest in a quarterly column about software "stuff". There will be an email address at the end of that article where readers can write in and say Yay (I'd like to see more) or Nay (I've seen enough). Rich will take a look at the responses and decide if a column is a good idea. You already know how I feel about it. This encoder thing would be the type of theme for a column. Generally, each column would state a problem (How can I control 16 switches with 1 I/O pin?) and then the article would discuss one solution to it. (There is no such thing as "THE" answer in software, as it's always likely that someone can provide a better answer.)

I know some of you will be interested, but I also know that some of you would rather watch something rust. My goal is to help those who are interested and trick those who don't yet know their interested into giving it a try. After all, you can get started for less than your morning latte, but you may find an exciting new aspect of this hobby we all enjoy so much.

Regardless of the outcome, I sure appreciate Rich at least giving the idea a try.

Jack, W8TEE

On Thursday, May 13, 2021, 7:35:18 PM EDT, barry halterman <kthreebo@...> wrote:


Good information, if you know programming. I am just a dabbler and have limited skills in this area. Although, thanks for the info.
Barry
K3bo


On Thu, May 13, 2021, 12:06 PM Dennis Zabawa <kg4rul@...> wrote:
This was just an example to show that the 100PPR encoders can be made to work.? Anyone who cares to can feel free to incorporate Jack's suggestion and make the code into a library.

--
Jack, W8TEE


--
Jack, W8TEE


--
Jack, W8TEE

Join [email protected] to automatically receive all group messages.