¿ªÔÆÌåÓý

Date

Re: Bitx40 75KHz Spurious, How to solve it. #bitx40

 

Allard,

The pic attached is in 50Khz horizontal display.

Raj

At 26/06/2018, you wrote:

Hi Akira san,

But the spurious at 75KHz was observed.

I guess you mean 75 MHz (not kHz)?

The spurious might be the multiple of 25KHz.

In that case it could be a harmonic of 25 MHz (not kHz). Perhaps it comes from the 25 MHz crystal in the Raduino?

73 Allard PE1NWL


Re: Understanding Spurious Emissions

 

On Fri, Jun 22, 2018 at 10:38 pm, Ashhar Farhan wrote:
It may be improper level of LO injection. On the transmit side, the mixer has _very_ strong input termination and LO termination. It will be interesting to study this. Mixers can provide endless amount of fascination or frustration depending on which side of the RF probe you are.
?
Yes they are a conundrum in three ports.? However I did explore the path of the TIA amp now working well?
and terminated it with a 6db pad... no improvement at all.? Same for the output to the filter 6db pad and
again no improvement.? In both cases there was a shift in levels of 6db and 12DB (ran both!) and no
difference in spur production.? ? The only thing that seems to impact the amplitude of the spur is the
port to port isolation more so than termination.? I believe it to be a alias image as it has the same
relationships.? It only shows when the relationship is such that its below filter cutoff.??

I replicated it at 45/73mhz and for experiment I did a 9mhz if, 23mhz LO? and without filtering I could
see the desired 14 and also 5mhz spur!? Its relationship is output frequency 14mhz minus IF and its
about 38db down from the desired 14mhz (two different ZLW-2 connectorized mixers).? I never noticed
a mixer spreadsheet I have from somewhere predicts it.? Likely reason I never noticed it was most
applications there is fairly strong filtering for the desired.?

I checked and it doesn't happen to the same extent with analog multiplier mixers (gilbert? cell) like
sa602 as they are not?bidirectional (very high input to output isolation).

Nyquist was right.? Its the sampling behaviour of switching mixers.

Allison

?


?
. . .


Re: Keypad for Raduino...?

Robert McClements
 

Arv,

Another way to drive a 16 way matrix keyboard is the inexpensive PCF8574 and PCF8574T I2C expander boards.
I have a couple of these but not made time to try them out yet.

There is however, a lot to be said for the simplicity of the analogue solution and the Robodyn module mentioned by
Mike ZL1AXG looks very practical particularly their transparent button top cap to protect the printed key legend.

73 Bob GM4CID


Re: Keypad for Raduino...?

 

n2vdy

That 1509 IO system from SparkFun looks interesting.? I have saved the data and will keep
it in mind for possible future use.
Thanks for the info.

Arv
_._

On Mon, Jun 25, 2018 at 1:30 PM n2vdy via Groups.Io <n2vdy=[email protected]> wrote:
I like the idea of the resistor matrix. I might have copied it if I hadn't gone a different way already.

This little board from Sparkfun can do up to an 8x8 matrix, has debounce built in, uses I2C, and has an output that can be connected to an interrupt.



On Mon, Jun 25, 2018 at 09:24 am, Arv Evans wrote:
Jerry

Thanks for the info.? I did a quick scan of the relevant pages. I can see several possible
uses for this device.? Maybe I missed something but it seems that? like almost all I2C
devices it is a true slave and thus does not automatically assert bus control to signal that
an event has occurred.? Possibly I would need to re-read the datasheet in detail to affirm
this if my design effort takes me in that direction.
?
Arv
_._


On Mon, Jun 25, 2018 at 10:05 AM Jerry Gaffke via Groups.Io <jgaffke=[email protected]> wrote:
Here's a datasheet? (sort of, you don't get the pdf):?
Bottom of page 8, section 3-4 describes the 2 wire interface, though not very clearly.

They say SDO is always out, SCLK is always in.
And that SCLK can be anything between 1khz and 512khz when scanning.
A pause of 2ms on SCLK resets the interface for the next scan.
They apparently have a way to just check the state of SDO occasionally to see if any key was pressed,
though I find the datasheet tough to read on exactly how this works.

The chip also implements full i2c mode, also various parallel modes,
though not clear what modes any particular keypad using the chip would support.

Jerry


On Mon, Jun 25, 2018 at 08:38 am, Robert McClements wrote:
Arv,

The?TTP229?capacitive??keyboard has two pins labelled SCL and SDO but unfortunately they are not I2C.

The way that they work is SCL is clocked frequently up to 16 times and during each clock cycle SDO is
checked. If a key is pressed SDO will return a Low, the count stops and the clock count equates to
the key number. Hope that makes sense, not easy to put into words.

So this device will require the use of two digital pins.


Regards,

Bob GM4CID



Re: KD8CEC - Nextion Display - IAN questions

 

Tank you Art
I download and test for my raduino.

Michel


Re: Keypad for Raduino...?

 

I like the idea of the resistor matrix. I might have copied it if I hadn't gone a different way already.

This little board from Sparkfun can do up to an 8x8 matrix, has debounce built in, uses I2C, and has an output that can be connected to an interrupt.

https://www.sparkfun.com/products/13601


On Mon, Jun 25, 2018 at 09:24 am, Arv Evans wrote:
Jerry

Thanks for the info.? I did a quick scan of the relevant pages. I can see several possible
uses for this device.? Maybe I missed something but it seems that? like almost all I2C
devices it is a true slave and thus does not automatically assert bus control to signal that
an event has occurred.? Possibly I would need to re-read the datasheet in detail to affirm
this if my design effort takes me in that direction.
?
Arv
_._


On Mon, Jun 25, 2018 at 10:05 AM Jerry Gaffke via Groups.Io <jgaffke=[email protected]> wrote:
Here's a datasheet? (sort of, you don't get the pdf):?
Bottom of page 8, section 3-4 describes the 2 wire interface, though not very clearly.

They say SDO is always out, SCLK is always in.
And that SCLK can be anything between 1khz and 512khz when scanning.
A pause of 2ms on SCLK resets the interface for the next scan.
They apparently have a way to just check the state of SDO occasionally to see if any key was pressed,
though I find the datasheet tough to read on exactly how this works.

The chip also implements full i2c mode, also various parallel modes,
though not clear what modes any particular keypad using the chip would support.

Jerry


On Mon, Jun 25, 2018 at 08:38 am, Robert McClements wrote:
Arv,

The?TTP229?capacitive??keyboard has two pins labelled SCL and SDO but unfortunately they are not I2C.

The way that they work is SCL is clocked frequently up to 16 times and during each clock cycle SDO is
checked. If a key is pressed SDO will return a Low, the count stops and the clock count equates to
the key number. Hope that makes sense, not easy to put into words.

So this device will require the use of two digital pins.


Regards,

Bob GM4CID



Re: Bitx40 75KHz Spurious, How to solve it. #bitx40

 

Hi Akira san,

But the spurious at 75KHz was observed.
I guess you mean 75 MHz (not kHz)?

The spurious might be the multiple of 25KHz.
In that case it could be a harmonic of 25 MHz (not kHz). Perhaps it comes from the 25 MHz crystal in the Raduino?

73 Allard PE1NWL


Re: Keypad for Raduino...?

Stephanus K6NG
 

Hi,
? I have looked at this but have not yet tried them:

https://hambuilder.com/


Re: RFI from uBitx TX after AGC and other mods installed

 

Rowland, Does it go away when you unplug the power to the PA? -Don


Re: Noob tx problem #ubitx-help

 

Oh yeah,? forgot to mention that I put the orange and purple leads back in the original position on the mic jack as well.


Re: Noob tx problem #ubitx-help

 

I just wanted to update this post so that another noob isn't lead astray.

I've finally got my dummy load put together so that I could more thoroughly test the mic and transceiver and it turns out that all was not well.? On more testing, when I whistled into the mic I would get a relay clicking on and off rapidly.? The problem is that I was wiring the mic and switch together in a simple series circuit.? This is incorrect.? What got me started down the wrong path was that the plug sent with the kit was a mono plug.? Ubitx.net has a diagram showing the mic hookup....I couldn't figure out why this diagram didn't make sense to me until I realized it was for a stereo plug.

I went and bought a stereo plug,? wired it up and all is now well.

See the diagram here:??

I know this is simple stuff for most of you guys,? but I didn't want to leave this thread hanging around with my incorrect conclusion.


Re: RFI from uBitx TX after AGC and other mods installed

 

Based on Rowland's results it appears that we are left with trying ferrite beads on the volume control to AGC wires or muting the speaker. Since my ICOM wired hand Mic PTT switch is SPDT with the common terminal grounded I can wire the Mic to disconnect the speaker ground on transmit.

Alan


Re: Keypad for Raduino...?

 

Jerry

Thanks for the info.? I did a quick scan of the relevant pages. I can see several possible
uses for this device.? Maybe I missed something but it seems that? like almost all I2C
devices it is a true slave and thus does not automatically assert bus control to signal that
an event has occurred.? Possibly I would need to re-read the datasheet in detail to affirm
this if my design effort takes me in that direction.

Arv
_._


On Mon, Jun 25, 2018 at 10:05 AM Jerry Gaffke via Groups.Io <jgaffke=[email protected]> wrote:
Here's a datasheet? (sort of, you don't get the pdf):?
Bottom of page 8, section 3-4 describes the 2 wire interface, though not very clearly.

They say SDO is always out, SCLK is always in.
And that SCLK can be anything between 1khz and 512khz when scanning.
A pause of 2ms on SCLK resets the interface for the next scan.
They apparently have a way to just check the state of SDO occasionally to see if any key was pressed,
though I find the datasheet tough to read on exactly how this works.

The chip also implements full i2c mode, also various parallel modes,
though not clear what modes any particular keypad using the chip would support.

Jerry


On Mon, Jun 25, 2018 at 08:38 am, Robert McClements wrote:
Arv,

The?TTP229?capacitive??keyboard has two pins labelled SCL and SDO but unfortunately they are not I2C.

The way that they work is SCL is clocked frequently up to 16 times and during each clock cycle SDO is
checked. If a key is pressed SDO will return a Low, the count stops and the clock count equates to
the key number. Hope that makes sense, not easy to put into words.

So this device will require the use of two digital pins.


Regards,

Bob GM4CID

Sample code below :-

?// Routine to read if a key is pressed and return its value
byte Read_Keypad(void)
{
? ?byte Count;
? ?byte? Key_State = 0;
? ?for(Count = 1; Count <= 16; Count++) // Pulse the clock pin up to 16 times and read the state of the data pin on each pulse
? ?{
? ? ? digitalWrite(Clock_PIN, LOW);
? ? ? if? (! digitalRead (Data_PIN)) // data pin low store the current key number
? ? ? ? ?Key_State = Count;
? ? ? digitalWrite(Clock_PIN, HIGH);
? ?}
? ?return Key_State;
}?


Re: Schematic . . . What Schematic . . mine?

Jon Titus, KZ1G
 

Suggestion:? It's a good idea for us to keep lab/project notes and info in a spiral-bound notebook.? Then we have everything we need and in chronological order.? Tape in program code, which we should label with a time, date, and version number.? Logic-analyzer and scope traces also help document what we did and the results we saw.? A separate folder for a project also helps keep loose papers in one place.?
--
Jon Titus, KZ1G
Herriman, UT USA


Re: Keypad for Raduino...?

 

Here's a datasheet? (sort of, you don't get the pdf):?
Bottom of page 8, section 3-4 describes the 2 wire interface, though not very clearly.

They say SDO is always out, SCLK is always in.
And that SCLK can be anything between 1khz and 512khz when scanning.
A pause of 2ms on SCLK resets the interface for the next scan.
They apparently have a way to just check the state of SDO occasionally to see if any key was pressed,
though I find the datasheet tough to read on exactly how this works.

The chip also implements full i2c mode, also various parallel modes,
though not clear what modes any particular keypad using the chip would support.

Jerry


On Mon, Jun 25, 2018 at 08:38 am, Robert McClements wrote:
Arv,

The?TTP229?capacitive??keyboard has two pins labelled SCL and SDO but unfortunately they are not I2C.

The way that they work is SCL is clocked frequently up to 16 times and during each clock cycle SDO is
checked. If a key is pressed SDO will return a Low, the count stops and the clock count equates to
the key number. Hope that makes sense, not easy to put into words.

So this device will require the use of two digital pins.


Regards,

Bob GM4CID

Sample code below :-

?// Routine to read if a key is pressed and return its value
byte Read_Keypad(void)
{
? ?byte Count;
? ?byte? Key_State = 0;
? ?for(Count = 1; Count <= 16; Count++) // Pulse the clock pin up to 16 times and read the state of the data pin on each pulse
? ?{
? ? ? digitalWrite(Clock_PIN, LOW);
? ? ? if? (! digitalRead (Data_PIN)) // data pin low store the current key number
? ? ? ? ?Key_State = Count;
? ? ? digitalWrite(Clock_PIN, HIGH);
? ?}
? ?return Key_State;
}?


Re: Ubitx schematic #ubitx

 

¿ªÔÆÌåÓý

Jon
Thanks?
73
Art


On Jun 25, 2018, at 11:41 AM, Jon Titus, KZ1G <tituskz1g@...> wrote:

Hi, Art.
The Raduino board provides a T/R signal that operates a relay (bottom-left on the schematic). This relay switches power to the RX or TX circuits.? I suggest you use a highlighter to mark TX and RX at the relay with different colors and then peruse the circuit and likewise highlight the TX and RX connections throughout.? The transmit and receive sections then become clearer and you can trace them as you wish.? You also will see TXA, TXB, and TXC.? These signals from the Raduino control the three relays that switch in or out the filters shown in the lower-right section of the schematic diagram.? I hope this info helps.
--
Jon Titus, KZ1G
Herriman, UT USA


Re: KD8CEC - Nextion Display - IAN questions

 

¿ªÔÆÌåÓý

Michael

Link below is for xloader for MAC


73
Art N2AJO?


On Jun 25, 2018, at 10:51 AM, Michael Babineau <mbabineau.ve3wmb@...> wrote:

Rough translation ?....?

?"He is wondering why for firmware v1.094 there are .HEX files available but no source files, ?as with his Mac has has no way to transfer .HEX files to the Raduino."

Cheers

Michael VE3WMB?


Re: Bad Relay #ubitx

Jon Titus, KZ1G
 

Relay K1 caused problems here, so I removed it and replaced it with a DPDT switch.? I also added LEDs to the TX and RX signals to indicate the transceiver mode.? I like this arrangement better than a PTT pushbutton or CW-key activation.

Several people have commented on device-unsoldering practices.? I suggest you use solder wick or a solder sucker to remove most of the solder.? A small culinary blowtorch (yes, really) can deliver enough heat to melt the remaining solder so you can extract the relay.? To protect nearby solder connections, get some gauze bandage pads and wet them with distilled water.? Place the damp pads around the relay contacts on the solder side of the board and use the torch to apply just enough heat to melt the solder.? The relay should pull right out.
--
Jon Titus, KZ1G
Herriman, UT USA


Re: Keypad for Raduino...?

 

Bob GM4CID

Okay.? Thanks for the heads-up.? I might have some day proceeded blindly thinking
that this was an I2C or TWI data bus.? Guess that is another reason why I am going
ahead with my existing junkbox keypads and resistor matrix approach.?

My guess is that there probably are I2C keypads, or that some sort of bus adapter
IC would work, but I'm not going there for the immediate future.

Thanks,

Arv? K7HKL
_._


On Mon, Jun 25, 2018 at 9:38 AM Robert McClements <gm4cid@...> wrote:
Arv,

The?TTP229?capacitive??keyboard has two pins labelled SCL and SDO but unfortunately they are not I2C.

The way that they work is SCL is clocked frequently up to 16 times and during each clock cycle SDO is
checked. If a key is pressed SDO will return a Low, the count stops and the clock count equates to
the key number. Hope that makes sense, not easy to put into words.

So this device will require the use of two digital pins.


Regards,

Bob GM4CID

Sample code below :-

?// Routine to read if a key is pressed and return its value
byte Read_Keypad(void)
{
? ?byte Count;
? ?byte? Key_State = 0;
? ?for(Count = 1; Count <= 16; Count++) // Pulse the clock pin up to 16 times and read the state of the data pin on each pulse
? ?{
? ? ? digitalWrite(Clock_PIN, LOW);
? ? ? if? (! digitalRead (Data_PIN)) // data pin low store the current key number
? ? ? ? ?Key_State = Count;
? ? ? digitalWrite(Clock_PIN, HIGH);
? ?}
? ?return Key_State;
}?


Re: Keypad for Raduino...?

 

Jerry

I'm still sticking with my resistor matrix on an ADC port, mostly because I already have the
keypads and this effort is for my own use.? When it is finished (if it gets finished) someone
else may want to duplicate the design as a commercial project, but I'm not going to take on
that level of effort and involvement.?

It seems that the time delay for debouncing a mechanical scanned keypad versus that for
polling an I2C slave may be about equal...?? For the resistor matrix and ADC approach it
now looks like just reading the ADC once (or more if required) in each pass around
"void loop()" will be adequate. At present I'm doing a double read if the value is not zero to
insure that the keypress is valid.? Time to do these reads seems adequate for debounce
requirement.? If the second read is still non-zero it is taken as a valid keystroke and calls
a routine to interpret ADC-to-character and handle the entry.

Arv
_._




On Mon, Jun 25, 2018 at 9:23 AM Jerry Gaffke via Groups.Io <jgaffke=[email protected]> wrote:
Could work.
Though scanning a keypad with i2c will consume a lot more processor time
than just reading some IO pins.

On Mon, Jun 25, 2018 at 08:02 am, Arv Evans wrote:
That capacitive keypad is interesting, especially vecause it apparently has I2C bus
interface capability.? Since the Raduino design already includes I2C for the Si5351a
and in my case for an RTC, the keypad could probably share the same bus.
Price is not excessive which is a big plus as well.