¿ªÔÆÌåÓý

Re: CEC firmware with RadI2Cino board? #ubitx #firmware #radiuno


Jack Purdum
 

The INPUT_PULLUP pin qualifier activates the internal pullup resistors and should produce enough voltage to read logic HIGH on the pin. A closure of a switch (or key) on that pin will pull it to GND, which is probably what is wanted. Given the voltage divider circuit Ashhar uses for keying, the pin qualifier may not be what he wants.

Jack, W8TEE

On Sunday, July 15, 2018, 12:31:35 PM EDT, Jim Sheldon <w0eb@...> wrote:


Have to ask Ashhar on that one. ?I'm just paraphrasing the instructions that are published on HF Signal's website. ?I don't use the A6 line for CW keying after freeing up the Digital pins when we went to the I2C display but lots of people still are.

Jim

On Jul 15, 2018, at 11:25 AM, Jack Purdum via Groups.Io <jjpurdum@...> wrote:

Jim:

Does it still float if you use:

?? pinMode(A6, INPUT_PULLUP):

Jack, W8TEE

On Sunday, July 15, 2018, 12:20:55 PM EDT, Jim Sheldon <w0eb@...> wrote:


Wish edit was enabled. ?The pins 2 and 3 I'm referring to are on the "Digital" plug. ?Pin 2 is the A6 analog input for CW keying and pin 3 is 5 volts. ?This resistor pulls the A6 pin up to 5 volts which is the key "UP" condition. ?If the pull up resistor is NOT installed, that input "floats" and if it gets near zero volts, the software thinks a CW key is installed and is pressed (Key DOWN).

Jim

On Jul 15, 2018, at 11:12 AM, Jim Sheldon <w0eb@...> wrote:

You MUST put the 4.7K resistor between pins 2 and 3 of the Raduino regardless if you are using factory or CEC software to keep it from going into transmit without pressing a CW key. ?That's spelled out specifically in the instructions and if you don't have that resistor in place and wired correctly that may well be your problem.

Jim

On Jul 15, 2018, at 10:53 AM, km4vhx@... wrote:

Jim,

That is a great offer to provide Ian with a free Radi2Cino, it's a shame he hasn't taken you up on it.? Perhaps he doesn't want to have to maintain the code changes either, which is understandable.

I was able to modify Ian's CEC code so it didn't go into transmit immediately.? However, it would still go into transmit if I turned the rotary encoder quickly (???).? ?Turning it slowly worked properly.??

My current plans are to go with the TFT/Arduino Mega display for my uBITX, I already had all of the hardware laying around, I just haven't gotten it wired together yet.? ?I've since bought an Icom 7300 and have been spending my radio time playing with it, and putting up antennas, so the UBITX has taken a back burner.?

Jeff, KM4VHX


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