Date   
Re: uBITX schema relay K1 #ubitx

Brian
 

I agree Fred, it adds a feedback path around the TX amplifier which has quite a high gain. There is a potential for parasitic oscillation at some frequency and that will be affected by the load. It might be a good thing that the IRF510 does not give a high gain at high frequencies. It needs to be carefully checked out with measurements. Add-on linear amplifiers avoid the problem by only having 10 to 20dB gain.
73 Brian VK4BAP

Re: First Arduino sketch loaded

Vince Vielhaber
 

"C Made Easy" and the revised version "Ansi C Made Easy" is an excellent book for learning C. Takes you step by step, but when you're learning a copy of K&R nearby is almost a must.

Vince.

On 02/02/2018 01:33 PM, Rod Self wrote:
Hi All,

I suggest staying away from the Kernighan&Ritchie C book. I used it in
the late 70s to learn C.

I have long mused that K&R C is the worst example of technical
documentation that I have seen.

There are much better ways to learn C. I have not seen Jack Purdum's
book, but I suspect it is
a wonderful book.

YMMV,

Rod KM6SN


On 02/02/2018 10:12 AM, Arv Evans wrote:
I totally agree. What "class" stuff that is in the Arduino libraries

Re: First Arduino sketch loaded

Jerry Gaffke
 

I guess it depends on how you learn.

K&R C  is compact and concise, delving deeply into intracacies that some would prefer to ignore.
I found it easy to follow, and engaging enough that it was hard to put down.
Reviewers on Amazon like it at least as much as any other C book.
Perhaps a bit dated now in that it was written for somebody hovering over an ASR33,
though I don't see that as a minus. 
You definitely want the 2'd edition, covering the ANSI C extensions of the late 1980's.

Best bet might be to find a brick and mortar bookstore that carries it, see if it grabs you.
Or perhaps some other book works for you.
And give them some business if it does.
 
Jerry


On Fri, Feb 2, 2018 at 10:33 am, Rod Self wrote:
I have long mused that K&R C is the worst example of technical documentation that I have seen.

There are much better ways to learn C. I have not seen Jack Purdum's book, but I suspect it is
a wonderful book.

YMMV,

Re: Diy oscilloscope #parts

Jerry Gaffke
 

I'll have to look that STM32 forum over, see what they are up to.
But with the DSO138 code up on github, should be trivial to get a basic display going.
That new improved code up on github that I pointed to previously probably comes from your STM32 forum.
No need for all the op amps and switches and stuff of the DSO138 board if you know the kind of signal you want to look at,
and you might actually get 200khz of bandwidth by going around it.

For looking at RF, an SA612 mixer is probably the best bet.
Houtman's 1ghz bandwidth sampling head calls to me, and Houtman really knew what he was doing.
But that and all those other sampling techniques I suggested would be tough for most bitx owners.
To use a sampling head you need to set up a repeating signal with a good accurate trigger of some sort.

There were lots of different 602/612 type parts made in the early 1990's. 
Signetics started out with the NE602, and the subsequent NE612 was either better or cheaper depending on who you believe.
There was also an A tacked on to some of the part numbers, signifying some further improvement.
Some differences in temperature ratings.
Signetics (was NE612) got bought by Philips (renamed the SA612), and Philips got bought by NXP, further confusing things.
NXP has two datasheets up, not a nickle's worth of difference between them on page 8, and both are -40C to +85C:
    https://www.nxp.com/docs/en/data-sheet/SA602A.pdf
    https://www.nxp.com/docs/en/data-sheet/SA612A.pdf
I don't think anybody else is selling them, it's now a choice of just the above two parts.
I've heard that they are actually the same die, but that NXP still has 602 customers that insist on 602 labeling
so they don't have to qualify the new part.  Mouser sells both, the SA612A being significantly cheaper.
Cheaper is good enough for me, I'll go with the SA612A unless somebody knows more about this silliness. 

Jerry, KE7ER


On Fri, Feb 2, 2018 at 06:32 am, Michael Monteith wrote:
Jerry,
   I love the idea of using a SA612 type device to bring the frequency down.   The STM32 micro could process the signal.  Over in the  STM32 Duino Forum several people have made their own o-scope out of the device.  They even squeezed better performance as well.   I used to follow the group very closely.   But I'm using mostly ESP32 devices myself right now so haven't followed it much at all lately.

Re: AE7EU Top mod update

 

Looks great!
--
David

 N8DAH
Kit-Projects.com

Re: Accident, Did I damage my Raduino

Richard Sanders
 

I was thinking the same thing, Allard!!

Thanks for including the code for those who might need it! :-D

73
RIc
KN4FTT

Re: First Arduino sketch loaded

Rod Davis
 

Hi All,

I suggest staying away from the Kernighan&Ritchie C book. I used it in the late 70s to learn C.

I have long mused that K&R C is the worst example of technical documentation that I have seen.

There are much better ways to learn C. I have not seen Jack Purdum's book, but I suspect it is
a wonderful book.

YMMV,

Rod KM6SN

On 02/02/2018 10:12 AM, Arv Evans wrote:
I totally agree.  What "class" stuff that is in the Arduino libraries

Re: uBITX schema relay K1 #ubitx

pe0fko
 

The only thing I see is that in TX mode the output signal can be coupled, over the two open relay contacts, to the input of the amplifier (it is less then 1pf I think) and there is some gain, resonance?
It will be nice to pull the wire between K1 and K3 to ground, maybe the second contact of K3 can do that? I don't know what the M1 and M2 connections are, in top right the M1 and M2 are grounded.

73, Fred,
pe0fko

Re: First Arduino sketch loaded

Arv Evans
 

Jerry

I totally agree.  What "class" stuff that is in the Arduino libraries
can pretty much be used without having to delve into it.  The rest
can all be classic C-language. 

Arv
_._


On Fri, Feb 2, 2018 at 10:24 AM, Jerry Gaffke via Groups.Io <jgaffke@...> wrote:
Most Arduino code pretty much ignores the "++" thing, using vanilla C.
Being an older coder guy and having learned from a first edition K&R in the early 1980's,
the extra stuff that C++ has to offer has never seemed worth the bother.
Especially on a microcontroller, where you really want to know exactly
what your code will compile down to. 

My advice is to first concentrate on learning C, hold off on C++

Jerry


On Fri, Feb 2, 2018 at 08:35 am, Arv Evans wrote:
C++ is what we use on Arduino systems like the Raduino.


Re: BITX QSO Afternoon/Night, Sunday, February 4, 3PM/7PM Local Time, 7277 kHz in North America, 7177 kHz elsewhere

Tom VE3THR
 

the only thing in my SUPERBOWL is Cheerios. Bitx40 Net is a sport now - hunt and pounce! I'll be on too.
73 and be on the lookout for a ground hog - I shot ours. 

Re: First Arduino sketch loaded

Jack, W8TEE
 

Agreed. If someone is just getting started with C programming, learn C first. However, if you want to dink around with the libraries, many (most?) are written in C++. That's why the last chapter of my book has A Gentle Introduction to Object Oriented Programming and C++. Obviously, no one is going to teach OOP in one chapter, but it should help someone read what's in the libraries. Indeed, some aspects of C++ are pretty powerful (e.g., multiple inheritance), but rarely needed in our environment.  At the outset, just stick with C.

Jack, W8TEE



From: Jerry Gaffke via Groups.Io <jgaffke@...>
To: BITX20@groups.io
Sent: Friday, February 2, 2018 12:25 PM
Subject: Re: [BITX20] First Arduino sketch loaded

Most Arduino code pretty much ignores the "++" thing, using vanilla C.
Being an older coder guy and having learned from a first edition K&R in the early 1980's,
the extra stuff that C++ has to offer has never seemed worth the bother.
Especially on a microcontroller, where you really want to know exactly
what your code will compile down to. 

My advice is to first concentrate on learning C, hold off on C++

Jerry


On Fri, Feb 2, 2018 at 08:35 am, Arv Evans wrote:
C++ is what we use on Arduino systems like the Raduino.


Re: First Arduino sketch loaded

Jack, W8TEE
 

I was at the Software Development Conference (probably mid-1980's) where Bjarne was the keynote speaker. There were about 750 of us there to hear about this new thing his paper was about titled: "C with Classes". (OOP was not widely known, if at all, by any of the programmers.) About an hour and a half later, 749 people walked out mumbling "What the f_@% was that all about?"

Jack, W8TEE



From: Vince Vielhaber <vev@...>
To: BITX20@groups.io
Sent: Friday, February 2, 2018 12:28 PM
Subject: Re: [BITX20] First Arduino sketch loaded

I had both the K&R and Bjarn books.  I donated them to work when I
retired last month.  Both books were well worn.

Vince.


On 02/02/2018 11:34 AM, Arv Evans wrote:
> T
> ​he C Programming Language (The K&R Manual) by Brian Kernigan and Dennis
> Ritchie
> was where most of us really old coders started, but Jack was not far
> behind.​  I have a well
> worn copy of his book as well as a 1st edition K&R.
>
> http://cs.indstate.edu/~cbasavaraj/cs559/the_c_programming_language_2.pdf <http://cs.indstate.edu/%7Ecbasavaraj/cs559/the_c_programming_language_2.pdf>
>
> https://en.wikipedia.org/wiki/Dennis_Ritchie
>
> Then came Bjarne Stroustrup and C++
>
> https://en.wikipedia.org/wiki/Bjarne_Stroustrup
>
> C++ is what we use on Arduino systems like the Raduino.
>
> Arv  K7HKL
> _._
>
>
> On Thu, Feb 1, 2018 at 7:54 PM, John P <j.m.price@...
> <mailto:j.m.price@...>> wrote:
>
>    That's where every "C" programmer in the world started! Congrats!
>    --
>    John - WA2FZW
>
>
>

--
  Michigan VHF Corp.  http://www.nobucks.net/   http://www.CDupe.com/
                          http://www.metalworkingfun.com





Re: First Arduino sketch loaded

Vince Vielhaber
 

I had both the K&R and Bjarn books. I donated them to work when I retired last month. Both books were well worn.

Vince.

On 02/02/2018 11:34 AM, Arv Evans wrote:
T
​he C Programming Language (The K&R Manual) by Brian Kernigan and Dennis
Ritchie
was where most of us really old coders started, but Jack was not far
behind.​ I have a well
worn copy of his book as well as a 1st edition K&R.

http://cs.indstate.edu/~cbasavaraj/cs559/the_c_programming_language_2.pdf <http://cs.indstate.edu/%7Ecbasavaraj/cs559/the_c_programming_language_2.pdf>

https://en.wikipedia.org/wiki/Dennis_Ritchie

Then came Bjarne Stroustrup and C++

https://en.wikipedia.org/wiki/Bjarne_Stroustrup

C++ is what we use on Arduino systems like the Raduino.

Arv K7HKL
_._


On Thu, Feb 1, 2018 at 7:54 PM, John P <j.m.price@...
<mailto:j.m.price@...>> wrote:

That's where every "C" programmer in the world started! Congrats!
--
John - WA2FZW


Re: First Arduino sketch loaded

Jerry Gaffke
 

Most Arduino code pretty much ignores the "++" thing, using vanilla C.
Being an older coder guy and having learned from a first edition K&R in the early 1980's,
the extra stuff that C++ has to offer has never seemed worth the bother.
Especially on a microcontroller, where you really want to know exactly
what your code will compile down to. 

My advice is to first concentrate on learning C, hold off on C++

Jerry


On Fri, Feb 2, 2018 at 08:35 am, Arv Evans wrote:
C++ is what we use on Arduino systems like the Raduino.

Re: uBITX schema relay K1 #ubitx

Alf Baranda
 

Hello again.

I attach two images with the signal paths in the RX and TX modes.

On paper I do not see any problem, but you have to prove it.

How to do it is something for everyone.

We accept all kinds of ideas.

RX Mode



TX Mode



Re: Second batch of uBITX shipping? #ubitx

KK6VLV
 

Just received this from hfsignals this morning:
"Orders received on Dec 17th are being shipped. Tracking details will be updated soon."

--
KK6VLV

Re: Accident, Did I damage my Raduino

David Nelson
 

The 8 pin and the 5 pin both have an orange wire. Easy to get confused.  Dave


On Fri, Feb 2, 2018 at 11:40 AM, Michael Hagen <motdog@...> wrote:

I would recommend in building these radios that you change All ground wires to Black and All Power (5 or 12V) to Red.

Reserve these colors for just 2 purposes.

You can use the wires you remove for additions.  Leave the molex pin on them.  I had a lot of spare Brown ones.

I can't stand an Orange wire being B+ (the term for us old Valve guys)!  26 Ga. stranded works great.   I got a bunch of colors at All Electronics.  Molex pins are at Tayda and Mouser.

You don't have to be in such a hurry and blow things up.  Check your wiring several times.  You could even make a connector chart with J numbers and pin numbers with wire color.   Match it up to what is on hfsignals.   It may mean you catch a mistake and save a lot of trouble shooting?

73'3

Mike,  WA6ISP


On 2/2/2018 8:03 AM, Richard Sanders wrote:
You are not alone! I had my bitx40 in pieces on my benchtop and wired the raduino using the orange I/O wire instead of the orange +12v wire...powered on....got nothing on my LCD...turned off...checked wiring...turned on a second time...still nothing...turned off...THEN I saw what I did wrong....it wasn't until I had reflashed the v2 software the I finally figured out why my unit keeps going to the Settings menu....it thinks that I am holding the function button down upon power up! With the button uninstalled I check the power of the orange A3 wire and am getting 0v!! :-( So I'm going to try and remap a different pin for the Function button...if that does not work or if I find that I actually damaged more than the I/O pin...then I'll go the "New Arduino Nano" route! Best of luck to all who are experimenting with the bitx's out there!!

73
Ric
KN4FTT

-- 
Mike Hagen, WA6ISP
10917 Bryant Street
Yucaipa, Ca. 92399
(909) 918-0058
PayPal ID  "MotDog@..."
Mike@...


Re: Diy oscilloscope #parts

Arv Evans
 

The "Transfer-oscillator" approach like Jerry suggested using an SA602 has been used
for many years to look at things that slow oscilloscopes would otherwise not see. 

Arv  K7HKL
_._


On Thu, Feb 1, 2018 at 8:30 PM, Jerry Gaffke via Groups.Io <jgaffke@...> wrote:
Yes, it's useless for RF as is, and likely kind of ideosyncratic and of sub 200khz bandwidth.
But for $23, it's very interesting.  Gets good reviews on Amazon:
      https://www.amazon.com/JYE-DSO-13801K-Open-Source/dp/B00WAQGGZ

Could add an SA612 mixer, bring your transmitted signal down to 100khz
and then monitor it using the DSO138.

Page 75 of the datasheet for the STM32F103C8 used on that scope
    https://www.mouser.com/ds/2/389/stm32f103c8-956229.pdf
says the sample time of the ADC when operating at 1msps is 0.107us
Could see Dexter's modulation envelope on sub 1mhz RF as a cloud of dots,
accumulating that cloud over many trigger events. 

If you had a fast sample and hold, and some way to measure time from trigger to sample, 
you could create a sampling scope.  That would be useful for RF, and could be very cheap.
One possible way to cheaply measure time from trigger to first ADC sample strobe would be counters in a 250mhz PAL,
read a count from the STM32 through an SPI interface into the PAL.  So a $3 PAL plus an STM32 and the sample and hold
gives a sampling head that effectively samples at 100mhz.   Samples after the first can be well timed, so could grab
many samples for each trigger.

Here's another possible way:  About $25 worth of parts as shown here but paired with a $2 STM32 dev board
instead of Houtman's 10mhz analog scope, gives us a 1 GHz bandwidth sampling scope.
    http://www.redrok.com/sampscope.htm
 
Thinking about cheap way to do test gear is almost as much fun as
thinking about cheap ways to do ham gear.

Jerry, KE7ER

On Thu, Feb 1, 2018 at 03:29 pm, Master Ice wrote:
Be warned these scopes are of absolutely NO use for RF work.
The bandwidth is 200KHz AT BEST!
No use whatsoever for RF work.
 


Re: Accident, Did I damage my Raduino

Michael Hagen
 

I would recommend in building these radios that you change All ground wires to Black and All Power (5 or 12V) to Red.

Reserve these colors for just 2 purposes.

You can use the wires you remove for additions.  Leave the molex pin on them.  I had a lot of spare Brown ones.

I can't stand an Orange wire being B+ (the term for us old Valve guys)!  26 Ga. stranded works great.   I got a bunch of colors at All Electronics.  Molex pins are at Tayda and Mouser.

You don't have to be in such a hurry and blow things up.  Check your wiring several times.  You could even make a connector chart with J numbers and pin numbers with wire color.   Match it up to what is on hfsignals.   It may mean you catch a mistake and save a lot of trouble shooting?

73'3

Mike,  WA6ISP


On 2/2/2018 8:03 AM, Richard Sanders wrote:
You are not alone! I had my bitx40 in pieces on my benchtop and wired the raduino using the orange I/O wire instead of the orange +12v wire...powered on....got nothing on my LCD...turned off...checked wiring...turned on a second time...still nothing...turned off...THEN I saw what I did wrong....it wasn't until I had reflashed the v2 software the I finally figured out why my unit keeps going to the Settings menu....it thinks that I am holding the function button down upon power up! With the button uninstalled I check the power of the orange A3 wire and am getting 0v!! :-( So I'm going to try and remap a different pin for the Function button...if that does not work or if I find that I actually damaged more than the I/O pin...then I'll go the "New Arduino Nano" route! Best of luck to all who are experimenting with the bitx's out there!!

73
Ric
KN4FTT

-- 
Mike Hagen, WA6ISP
10917 Bryant Street
Yucaipa, Ca. 92399
(909) 918-0058
PayPal ID  "MotDog@..."
Mike@...

Re: Accident, Did I damage my Raduino

David Nelson
 

I also hooked the orange wires up wrong and it completly blew my nano so I had to replace my nano.
Not a fun job. Lots of luck.   Dave  kc2ipx

On Fri, Feb 2, 2018 at 11:17 AM, Allard PE1NWL <pe1nwl@...> wrote:
In v2, pin A2 is not used anymore. You could remap the function button to
A2 instead of A3.

at line 233:
#define FBUTTON (A3)
change to:
#define FBUTTON (A2)

73 Allard PE1NWL

On Fri, February 2, 2018 17:03, Richard Sanders wrote:
> You are not alone! I had my bitx40 in pieces on my benchtop and wired the
> raduino using the orange I/O wire instead of the orange +12v
> wire...powered on....got nothing on my LCD...turned off...checked
> wiring...turned on a second time...still nothing...turned off...THEN I saw
> what I did wrong....it wasn't until I had reflashed the v2 software the I
> finally figured out why my unit keeps going to the Settings menu....it
> thinks that I am holding the function button down upon power up! With the
> button uninstalled I check the power of the orange A3 wire and am getting
> 0v!! :-( So I'm going to try and remap a different pin for the Function
> button...if that does not work or if I find that I actually damaged more
> than the I/O pin...then I'll go the "New Arduino Nano" route! Best of luck
> to all who are experimenting with the bitx's out there!!
>
> 73
> Ric
> KN4FTT
>