Date   

Re: I need a V3 or V4 uBitx board.

 

Jerry,

Sorry for the poor picture, that is the correct part number though. These relays have the exact same specifications and pin out as the original one's Farhan used. There is nothing really special about them, you can buy them under a lot of different part numbers and I haven't found one to be any better than another. The yellow color is probably the worst thing about them, but they have been very reliable otherwise. I have also seen these same relays used in commercial equipment I have repaired.

Joel
N6ALT


Re: Ubitx schematic #ubitx

Jon Titus, KZ1G <tituskz1g@...>
 

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: Keypad for Raduino...?

GM4CID
 

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 Gaffke
 

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.


Re: I need a V3 or V4 uBitx board.

Jerry Gaffke
 

The Bitx40 and uBitx use relays with a 12v coil, 
there are some very similar relays out there with 5v coils that would not be suitable.

The relay that hfsignals has been using is harder to find, looks like Amazon did sell them in the past:
    https://www.amazon.in/Sealed-Changeover-Contact-Virtual-Electronics/dp/B076617RK5

Here's an old thread on relays:
    https://groups.io/g/BITX20/topic/bitx40_kit/5069237?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,5069237
I doubt the $0.50 relays being used have any special tricks, so no diodes, no permanent magnets embedded,
these are not latching relays.  Solid state relays are not suitable, they are usually designed for use with 60Hz AC.

Here's the pinout used by HFSignals:  https://groups.io/g/BITX20/message/47000
Though some manufacturers number their pins differently, flipping the relay 180 degrees.

Jerry


On Mon, Jun 25, 2018 at 07:52 am, Jerry Gaffke wrote:
Joel, thanks for the steer on a relay.

I think I managed to decode the print properly from that photo, here's some sources.
Looks like walmart, kmart, newegg, dealextreme are/were also selling them.
I haven't bought any from anybody.

    https://www.banggood.com/10Pcs-HK19F-DC-12V-SHG-Coil-DPDT-8-Pin-Mini-Power-Relays-PCB-Type-p-943270.html

    https://www.amazon.com/uxcell%C2%AE-Coil-Power-Relay-HK19F/dp/B008MPKBZY/ref=pd_sim_263_5?_encoding=UTF8&pd_rd_i=B008MPKBZY&pd_rd_r=0J3E8RBV4QFG1GCHQ9W6&pd_rd_w=Q3vv3&pd_rd_wg=IggiP&psc=1&refRID=0J3E8RBV4QFG1GCHQ9W6
    
Jerry, KE7ER


. . .

 

On Mon, Jun 25, 2018 at 07:09 am, Joel Caulkins wrote:
Here is a shot of the relay. They are just cheap Chinese EBay relays, I've been using them for years, they seem to be quite reliable.


Re: KD8CEC - Nextion Display - IAN questions

Michel Dupuy
 

Thank you Michael for the translation, I could have done with a translator on the internet.


Re: Keypad for Raduino...?

Arv Evans
 

Bob GM4CID

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.

Thanks for the info.

Arv K7HKL
_._


On Mon, Jun 25, 2018 at 3:11 AM Robert McClements <gm4cid@...> wrote:
The 16 key TTP229 capacitive touch keypad might be worth considering as an easy low cost external keyboard solution for the uBitx,
it worked well for me on another Arduino project

See http://hobbycomponents.com/sensors/585-ttp229-16-key-capacitive-keypad

Another interesting possibility is using an Android phone or tablet as a touch screen controller
communicating bluetooth to a module at the uBitx.

73 Bob GM4CID


Re: I need a V3 or V4 uBitx board.

Jerry Gaffke
 

Joel, thanks for the steer on a relay.

I think I managed to decode the print properly from that photo, here's some sources.
Looks like walmart, kmart, newegg, dealextreme are/were also selling them.
I haven't bought any from anybody.

    https://www.banggood.com/10Pcs-HK19F-DC-12V-SHG-Coil-DPDT-8-Pin-Mini-Power-Relays-PCB-Type-p-943270.html

    https://www.amazon.com/uxcell%C2%AE-Coil-Power-Relay-HK19F/dp/B008MPKBZY/ref=pd_sim_263_5?_encoding=UTF8&pd_rd_i=B008MPKBZY&pd_rd_r=0J3E8RBV4QFG1GCHQ9W6&pd_rd_w=Q3vv3&pd_rd_wg=IggiP&psc=1&refRID=0J3E8RBV4QFG1GCHQ9W6
    
Jerry, KE7ER


On Mon, Jun 25, 2018 at 07:09 am, Joel Caulkins wrote:
Here is a shot of the relay. They are just cheap Chinese EBay relays, I've been using them for years, they seem to be quite reliable.


Re: KD8CEC - Nextion Display - IAN questions

 

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: I need a V3 or V4 uBitx board.

 

Hello Guy,

Here is a shot of the relay. They are just cheap Chinese EBay relays, I've been using them for years, they seem to be quite reliable.

Joel
N6ALT


Re: ubitx code version 4.3 for review, testing

Jack, W8TEE
 

Hi Martin:

Not a problem. One other thing: If your project includes a header file (which it should for multiple files), it should be included as:

   #include "myHeaderFile.h"

and not

  #include <myHeaderFile.h>

If you use angle brackets (<>), the compiler only looks in the IDE's libraries subdirectory and default include path for the IDE. By using double quotes, the compiler first looks in the sketch directory for the header file and then on the default include path. You will need to have data declarations in the header file for any globals that are used in multiple source files. To get the most help from the compiler in terms of debugging, there should only be one *.ino file in a project--the file that contains setup() and loop(). All the rest should be *.cpp and a header file (*.h). The globals are defined in the *.ino file, but declared in the *.h file. (Define and declare are NOT the same thing, even though programmers are incredibly sloppy when using these terms.) If you use all *.ino files, you lose type checking across source files...bugs love to hide there!

Jack, W8TEE



On Monday, June 25, 2018, 5:58:00 AM EDT, Martin FKK <g4fkk@...> wrote:


Thanks for answering Craig Jack - I've been wondering about that for a few days :)  You learn something new every day.

Martin - G4FKK


Re: Programming Issues and Questions

Jack, W8TEE
 

Howard:

Alas, I don't know anything about compiling on the Mac, but you can ignore the invalid conversion warnings as the compiler can usually resolve those types of warnings. Did you reboot the machine after installing the drivers? I don't know about the Mac, but sometimes driver installation on some versions of Windows doesn't "take" for all applications until the DLL gets registered by the op system. Can't hurt to try.

Jack, W8TEE

On Monday, June 25, 2018, 8:48:28 AM EDT, Howard Fidel <sonic1@...> wrote:


Okay, now it compiles, but it doesn't recognize the Arduino. I installed the CH340 driver, but it didn't help. Anything else I am missing?

Howard


On 6/25/2018 8:12 AM, Howard Fidel wrote:
Peter:
That did it, thanks. I should have remembered that myself, not the first time I experienced it.

Howard

On 6/25/2018 1:59 AM, Peter Aiea wrote:
For what its worth, I had a similar error (function does not return a value) on the macbook. The same code compiled on the win10 system. Updating the arduino ide for the mac to the latest version resolved the compile error.

On Sun, Jun 24, 2018, 20:02 Howard Fidel <sonic1@...> wrote:
Jack:
That helps, but now I get other errors. There are also lots of warnings.

invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

Howard



On 6/24/2018 10:14 PM, Jack Purdum via Groups.Io wrote:
I don't think Farhan meant to return anything from the function. As a test, change the function's signature from:

   int menuBand(int btn){

to

   void menuBand(int btn){

and see what happens. I didn't see any statements in any of the files where a return value from menuBand() is used in an assignment statement, so it should be OK using void.

Jack, W8TEE

On Sunday, June 24, 2018, 5:45:04 PM EDT, Howard Fidel <sonic1@...> wrote:


I am integrating my uBitx into an old HA 350 receiver  chassis. It has a band switch on it, so I want to program A7 to read the switch. I downloaded several different versions of code to find a good starting point. When I use any of Farhan's versions, I get a compile error: 
return-statement with no value, in function returning 'int' [-fpermissive]
 
It is a return in ubitx_menu in the if(!btn) statement that causes this.

I tried Ron, W2CTX's ubitx_V2_00R and i see what looks like coding errors, although it compiles. The error is that A7 is not declared, and digital dash is declared as A3. A3 is PTT
KD8CEC's uBitx_20 compiles. 

Any input on which code is best would be appreciated. I would also like to know how to fix the compiling error so I can reinstall the factory code if I need to.

Thanks,

Howard





Re: uBTIX Nextion Display and microSD card woes #ubitx

Bill Cromwell
 

Or <ctl>h

73,

Bill

On 06/25/2018 12:07 AM, Keven Pittsinger wrote:
Linux doesn't show hidden files by default. But you can see them by typing:

ls -al
--
bark less - wag more


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

RowlandA
 

Hi Don - I tried a small RG174 cable and unfortunately it didn't solve the RFI problem.  Still getting a very strong garbled RFI when I transmit SSB and the audio cable is connected.  Grounded at both the pot end and the AGC board, with the center of the coax going to the hot side of the pot (not the wiper).  

Same problem with TX into a dummy load or antenna.  

Not sure what to try next unless I move the AGC board towards the front of the enclosure and redo the cabling.  I guess it's hard to know where the RF is coming from so I know the best way to route the cables to avoid it?

Any other thoughts?  Is anyone successfully using the AGC kit mounted at the tap point of the RF trace and Sunil's enclosure?  Maybe a photo showing cabling for a successful install would help.

73,
Rowland K4XD


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

Don, ND6T
 

Yes, you are both quite correct. Ground both ends of this connection. -Don


Re: Programming Issues and Questions

Howard Fidel
 

Got it working! Seems like a bad connection on the mini USB connector.

On 6/25/2018 8:48 AM, Howard Fidel wrote:
Okay, now it compiles, but it doesn't recognize the Arduino. I installed the CH340 driver, but it didn't help. Anything else I am missing?

Howard


On 6/25/2018 8:12 AM, Howard Fidel wrote:
Peter:
That did it, thanks. I should have remembered that myself, not the first time I experienced it.

Howard

On 6/25/2018 1:59 AM, Peter Aiea wrote:
For what its worth, I had a similar error (function does not return a value) on the macbook. The same code compiled on the win10 system. Updating the arduino ide for the mac to the latest version resolved the compile error.

On Sun, Jun 24, 2018, 20:02 Howard Fidel <sonic1@...> wrote:
Jack:
That helps, but now I get other errors. There are also lots of warnings.

invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

Howard



On 6/24/2018 10:14 PM, Jack Purdum via Groups.Io wrote:
I don't think Farhan meant to return anything from the function. As a test, change the function's signature from:

   int menuBand(int btn){

to

   void menuBand(int btn){

and see what happens. I didn't see any statements in any of the files where a return value from menuBand() is used in an assignment statement, so it should be OK using void.

Jack, W8TEE

On Sunday, June 24, 2018, 5:45:04 PM EDT, Howard Fidel <sonic1@...> wrote:


I am integrating my uBitx into an old HA 350 receiver  chassis. It has a band switch on it, so I want to program A7 to read the switch. I downloaded several different versions of code to find a good starting point. When I use any of Farhan's versions, I get a compile error: 
return-statement with no value, in function returning 'int' [-fpermissive]
 
It is a return in ubitx_menu in the if(!btn) statement that causes this.

I tried Ron, W2CTX's ubitx_V2_00R and i see what looks like coding errors, although it compiles. The error is that A7 is not declared, and digital dash is declared as A3. A3 is PTT
KD8CEC's uBitx_20 compiles. 

Any input on which code is best would be appreciated. I would also like to know how to fix the compiling error so I can reinstall the factory code if I need to.

Thanks,

Howard






Re: Programming Issues and Questions

Howard Fidel
 

Okay, now it compiles, but it doesn't recognize the Arduino. I installed the CH340 driver, but it didn't help. Anything else I am missing?

Howard


On 6/25/2018 8:12 AM, Howard Fidel wrote:
Peter:
That did it, thanks. I should have remembered that myself, not the first time I experienced it.

Howard

On 6/25/2018 1:59 AM, Peter Aiea wrote:
For what its worth, I had a similar error (function does not return a value) on the macbook. The same code compiled on the win10 system. Updating the arduino ide for the mac to the latest version resolved the compile error.

On Sun, Jun 24, 2018, 20:02 Howard Fidel <sonic1@...> wrote:
Jack:
That helps, but now I get other errors. There are also lots of warnings.

invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

Howard



On 6/24/2018 10:14 PM, Jack Purdum via Groups.Io wrote:
I don't think Farhan meant to return anything from the function. As a test, change the function's signature from:

   int menuBand(int btn){

to

   void menuBand(int btn){

and see what happens. I didn't see any statements in any of the files where a return value from menuBand() is used in an assignment statement, so it should be OK using void.

Jack, W8TEE

On Sunday, June 24, 2018, 5:45:04 PM EDT, Howard Fidel <sonic1@...> wrote:


I am integrating my uBitx into an old HA 350 receiver  chassis. It has a band switch on it, so I want to program A7 to read the switch. I downloaded several different versions of code to find a good starting point. When I use any of Farhan's versions, I get a compile error: 
return-statement with no value, in function returning 'int' [-fpermissive]
 
It is a return in ubitx_menu in the if(!btn) statement that causes this.

I tried Ron, W2CTX's ubitx_V2_00R and i see what looks like coding errors, although it compiles. The error is that A7 is not declared, and digital dash is declared as A3. A3 is PTT
KD8CEC's uBitx_20 compiles. 

Any input on which code is best would be appreciated. I would also like to know how to fix the compiling error so I can reinstall the factory code if I need to.

Thanks,

Howard





Re: Programming Issues and Questions

Howard Fidel
 

Peter:
That did it, thanks. I should have remembered that myself, not the first time I experienced it.

Howard

On 6/25/2018 1:59 AM, Peter Aiea wrote:
For what its worth, I had a similar error (function does not return a value) on the macbook. The same code compiled on the win10 system. Updating the arduino ide for the mac to the latest version resolved the compile error.

On Sun, Jun 24, 2018, 20:02 Howard Fidel <sonic1@...> wrote:
Jack:
That helps, but now I get other errors. There are also lots of warnings.

invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

Howard



On 6/24/2018 10:14 PM, Jack Purdum via Groups.Io wrote:
I don't think Farhan meant to return anything from the function. As a test, change the function's signature from:

   int menuBand(int btn){

to

   void menuBand(int btn){

and see what happens. I didn't see any statements in any of the files where a return value from menuBand() is used in an assignment statement, so it should be OK using void.

Jack, W8TEE

On Sunday, June 24, 2018, 5:45:04 PM EDT, Howard Fidel <sonic1@...> wrote:


I am integrating my uBitx into an old HA 350 receiver  chassis. It has a band switch on it, so I want to program A7 to read the switch. I downloaded several different versions of code to find a good starting point. When I use any of Farhan's versions, I get a compile error: 
return-statement with no value, in function returning 'int' [-fpermissive]
 
It is a return in ubitx_menu in the if(!btn) statement that causes this.

I tried Ron, W2CTX's ubitx_V2_00R and i see what looks like coding errors, although it compiles. The error is that A7 is not declared, and digital dash is declared as A3. A3 is PTT
KD8CEC's uBitx_20 compiles. 

Any input on which code is best would be appreciated. I would also like to know how to fix the compiling error so I can reinstall the factory code if I need to.

Thanks,

Howard




Re: ubitx code version 4.3 for review, testing

Craig Wadsworth <cwadsworth@...>
 

Jack:
Many thanks! I have a few days off work this week and plan to spend some time on your Beginning C for Arduino 2nd ed.
Regards,
Craig
w9ctw


Re: IRF510

Howard Fidel
 

Skip:
Thanks for the offer. I just ordered them from Mouser, but I probably won't change them. Just send me another SASE I will send you more parts.

Howard


On 6/25/2018 1:58 AM, Skip Davis via Groups.Io wrote:
Howard do you need some 510’s , I’ll trade a few for some more of those caps and inductors for the driver mod. I got another board that needs them. 

Skip Davis, NC9O

On Jun 24, 2018, at 22:53, Howard Fidel <sonic1@...> wrote:

They are obsolete. Just had them lying around like you do.

Howard



On 6/24/2018 10:12 PM, ajparent1/KB1GMX wrote:
Early Dmos parts.  They are good, I still have some in the collection along with
VN66ak and a few VMP4s.  Whos selling them now?

Allison