¿ªÔÆÌåÓý

Date

Re: Schematic and other Raduino resources?

 

?FOR THE ARDUINO NANO AND CABLE TRY..... wuha00711@... (sensesmart 6218)
FOR THE DISPLAY TRY....15423949@...
OR JUST DO A "SEARCH" ON E-BAY, THERE ARE SEVERAL DEALERS SELLING THESE BOARDS/DISPLAYS
?
?
On 02/26/17, College Professor Simon Thompson<nwccenglishprofessor@...> wrote:
?
Can you send a link for this?

On Feb 26, 2017, at 11:16 AM, r.rking41@... wrote:

YOU CAN GET THE FOLLOWING ON E-BAY
1.? RADUINO AND CABLE FOR $3.47 USD WITH FREE SHIPPING
2.? LCD DISPLAY 16X2 CHARACTER LCM BLUE DISPLAY FOR $1.59 USD WITH FREE SHIPPING
IT TOOK ABOUT 10 DAYS FROM CHINA TO ALABAMA USA
???? 73? RALPH?? K1KOB
?
?
On 02/26/17, ckotan@... wrote:
?

I ordered a Raduino from HfSigs, and wonder if there are other resources? I'd like to see other uses, schematics, and sketches. I searched this group and didn't see anything, so if I missed something, sorry.

73, TIA: Charlie K?TAN



Re: Basic Arduino Programming Knowledge

Jack Purdum
 

There are a lot of C books out there and many that are aimed specifically at the Arduino population. Since you are working from a non-beginner programming background, you may want to skip an intro text. That said, neither Pascal, SQL, or even Basic and Java, directly make pointers available in the language. That's one of the reasons my intro book has two chapters on pointers, as they are a really fundamental element in C and a common stumbling block for many students.?

Now, frame that within the context of the Arduino. There are "tricks" that you can use to make the code smaller (very important on an Arduino), faster, or both. For example:

? ?for (int i = 0; i < 100; i++) { ? ? ? ? ? ? ? ? ? ? ? ?// This is ok...it works
? ? ? myArray[i] = 0;
? ?}

is commonly used to zero out all elements of a 100 element array. A better way to write it is:


? ?for (int i = 0; i < sizeof(myArray) / sizeof(myArray[0]); i++) { ? ? ? ?// This is better...more scaleable and robust
? ? ? myArray[i] = 0;
? ?}

This is better because, if you change the size of the array, you do not need to touch the (yellow) code in the loop whereas you would in the first example. The code causes the compiler to generate the proper code regardless of the new array size. The other advantage is that the expression doesn't care what data type myArray[] is. Because of that, experienced C programmers write this:

#define ARRAYELEMENTS(x) (sizeof(x) / sizeof(x[0])

// ...more code...

? ?for (int i = 0; i <?ARRAYELEMENTS(myArray); i++) { ? ? ? ?// Better yet...more easily read
? ? ? myArray[i] = 0;
? ?}

This is better because it's a little easier to understand. Still, I would replace the for loop with:

? ?memset(0, myArray,?ARRAYELEMENTS(myArray)); ? ? ? ?// Bingo! One line of code...

and be done with it. The for loop is no longer needed.?memset() is a System V standard library routine that is an inherent part of the Arduino's underlying Gnu C++ compiler. It's usually written in hand-tweaked assembler and is going to be as fast and small as it can be. A lot of new programmers don't even know about it.?

There are many places in the book where I go through this kind of iterative refinement process. You start with code that works, but doesn't take advantage of the language. I call this RDC...Really Dumb Code. Then I show a refinement...SDC...Sorta Dumb Code. Then the final version, which I don't have a name for 'cuz that's what you should be writing in the first place. I also warn about Flat Forehead mistakes...mistakes where you slam the heel of your hand into your forehead once you find the bug and ask yourself "How could I be so dumb?" There is a pool of common FFM's that you should expect to make, but it helps to have them pointed out so you can find them more easily. Most good C programmers have foreheads that look like a pool table.

Finally, because almost all of the libraries are written in C++, the 2nd edition of my Beginning C book has a chapter titled A Gentle Introduction to Object Oriented Programming and C++. The purpose is not to teach OOP or C++, but rather give you enough to understand what you're reading if you look inside a C++ library file.

Now, are these iterations "tricks" or just refinements that an experienced C programmer would make? I don't know the answer. On the one hand, I fear telling you to buy Beginning C for Arduino might disappoint because it is aimed at the beginner. On the other hand, my writing is based on 40 years of using C and teaching it for almost as long. Unless you've stood in front of 150 sets of eyeballs, with 130 of them looking like a deer in the headlights, you probably haven't had to grapple with developing teaching methods and examples that work. Truthfully, there are a bazillion programmers who can code circles around me, but with little modesty I feel that I can say you'd be hard-pressed to find a handful who would be a better teacher, mainly because of my classroom experience. Also, I had a software company for 17 years that sold programming tools, including a C compiler we developed, so not all of that experience is just in teaching.

Go to Amazon, look through the Table of Contents (i.e., click on the Look Inside banner on the cover) to get a feel for what's in the book. Then read the reviews. (The 2nd edition has fewer reviews, but is a better book.) Then do the same for the other books mentioned here and then make a decision.?

I just wasted a ton of bandwidth to say: Look around, read some reviews, and then select a book you think fits your background.

Jack, W8TEE



From: Helmut OE4HDS <hs@...>
To: [email protected]
Sent: Sunday, February 26, 2017 1:51 PM
Subject: Re: [BITX20] Basic Arduino Programming Knowledge

Jack, what would you recommend as a resource for learning programming an Arduino for someone who knows programming principal, but does not know the specific things for Arduino?
I have 3 decades of programming experience but 95% is Pascal and SQL (I do this for a living). Very basic C knowledge though.
When I look at the Raduino sketch, I understand what's going on and I am able to make some changes, but I miss some knowledge of the basic concept to make a sketch from scratch that goes beyond "hello world".



Re: CW IS PREINSTALLED ???

 

I've been asking about this my self. In the code is function button for different modes and functions. One is CW mode which requires the external use of a transistor to hold PTT for a bit while cw code in sent. Then after a bit it times out, unkeying the PTT.?

That's what I understood from reading the comments in the code. It seems to me if you can put the sound of your CW tone on a certain frequency by an offset so it can be heard by another on that frequency and you can hear them, then you are doing CW.

But the others don't think it's that simple. And I haven't tried it yet. I lost a month of experimentation, and traded it for a month of troubleshooting and repair, just to play with it now.


Re: Schematic and other Raduino resources?

College Professor Simon Thompson
 

¿ªÔÆÌåÓý

Can you send a link for this?

On Feb 26, 2017, at 11:16 AM, r.rking41@... wrote:

YOU CAN GET THE FOLLOWING ON E-BAY
1.? RADUINO AND CABLE FOR $3.47 USD WITH FREE SHIPPING
2.? LCD DISPLAY 16X2 CHARACTER LCM BLUE DISPLAY FOR $1.59 USD WITH FREE SHIPPING
IT TOOK ABOUT 10 DAYS FROM CHINA TO ALABAMA USA
???? 73? RALPH?? K1KOB
?
?
On 02/26/17, ckotan@... wrote:
?

I ordered a Raduino from HfSigs, and wonder if there are other resources? I'd like to see other uses, schematics, and sketches. I searched this group and didn't see anything, so if I missed something, sorry.

73, TIA: Charlie K?TAN



Re: It's alive! & hot melt glue

 

Once again I was beaten to the punch. Rubbing alcohol surface tension sucks it around and under the hot glue which is just stuck on the surface of the object. It could also be used to get the glue out of carpet or fabric as long as you didn't smear it in and around the fibers. For smoother objects like we are talking about here, apply some rubbing alcohol without making a mess and just wiggle it. It will suck in under the glue breaking the surface bond. And you could probably get it off the wound toroid too. And wood.

It has also been recommended to glue the center toroid of the analog BITX for drift stability. Among other fixes for that too.


Re: Schematic and other Raduino resources?

 

YOU CAN GET THE FOLLOWING ON E-BAY
1.? RADUINO AND CABLE FOR $3.47 USD WITH FREE SHIPPING
2.? LCD DISPLAY 16X2 CHARACTER LCM BLUE DISPLAY FOR $1.59 USD WITH FREE SHIPPING
IT TOOK ABOUT 10 DAYS FROM CHINA TO ALABAMA USA
???? 73? RALPH?? K1KOB
?
?
On 02/26/17, ckotan@... wrote:
?

I ordered a Raduino from HfSigs, and wonder if there are other resources? I'd like to see other uses, schematics, and sketches. I searched this group and didn't see anything, so if I missed something, sorry.

73, TIA: Charlie K?TAN


Re: Shielding plastic cases

 

Another product that may work is Zinc-Rich Cold Galvanizing Compound spray used by welders. The spray-can I have says it is 97% pure zinc, see: . After making all cutouts and holes, the inside of the plastic enclosure could be sprayed with this product (the plastic would probably need to be well cleaned before spraying).


CW IS PREINSTALLED ???

 

?To: "[email protected]" <[email protected]>
From: r.rking41@...

I HAVE THE BITX40 #460 AND HAVE JUST INSTALLED THE RADUINO VFO.? AFTER INSTALLING THE RADUINO AND CHECKING THINGS? OUT I FOUND THE FOLLOWING:

1. THE UNIT WORKS GREAT ON 40M LSB. I' VE MADE SEVERAL CONTACTS WITH A WINDOM ANTENNA FROM ALABAMA.
2. IF YOU DISCONNECT THE MIKE AND LEAVE THE PTT CONNECTED, KEY UP THE RIG IN THE CW PORTION OF THE BAND.? I CAN HEAR A GOOD SOLID TONE ON MY TEN TEC PEGASUS TRANSCEIVER.? I FOLLOWED THIS TONE ALL THE WAY UP THE BAND.? NO MODS MADE TO THE BITX-20
3. WHEN I RECONNECT THE MIKE AND GO TO THE PHONE PORTION OF 40M, I CAN/HAVE MADE SEVERAL QSOS WITH GOOD REPORTS.
4. WHAT IS GOING ON HERE ?? THE TONE IS BEING MADE IN THE PEGASUS, NOT THE BITX40.
5. WOULD SOMEONE WITH TEST EQUIPMENT AND SCOPE CHECK THIS OUT ?
6. DO WE HAVE CW BY DEFAULT ?

????????????????????????????????????????? 73 RALPH? K1KOB


Re: Schematic and other Raduino resources?

Jack Purdum
 

Perhaps:



Jack, W8TEE



From: "ckotan@..." <ckotan@...>
To: [email protected]
Sent: Sunday, February 26, 2017 1:53 PM
Subject: [BITX20] Schematic and other Raduino resources?

I ordered a Raduino from HfSigs, and wonder if there are other resources? I'd like to see other uses, schematics, and sketches. I searched this group and didn't see anything, so if I missed something, sorry.
73, TIA: Charlie K?TAN



Schematic and other Raduino resources?

 

I ordered a Raduino from HfSigs, and wonder if there are other resources? I'd like to see other uses, schematics, and sketches. I searched this group and didn't see anything, so if I missed something, sorry.

73, TIA: Charlie K?TAN


Re: Basic Arduino Programming Knowledge

 

Jack, what would you recommend as a resource for learning programming an Arduino for someone who knows programming principal, but does not know the specific things for Arduino?

I have 3 decades of programming experience but 95% is Pascal and SQL (I do this for a living). Very basic C knowledge though.

When I look at the Raduino sketch, I understand what's going on and I am able to make some changes, but I miss some knowledge of the basic concept to make a sketch from scratch that goes beyond "hello world".


Re: It's alive! & hot melt glue

 

99 percent isopropanol (I've not tried lower concentrations but they may work too) can be used to remove the hot melt glue easily.

Chris
KD4PBJ


Re: Installing the Arduino IDE directions.

Jack Purdum
 

You may have seen some of it in the antenna analyzer assembly manual, as I lifted a good part of it from there. I appreciate the comments on the Projects book...thanks!

Jack, W8TEE



From: Randy Hall <listk7age@...>
To: [email protected]
Sent: Sunday, February 26, 2017 1:30 PM
Subject: Re: [BITX20] Installing the Arduino IDE directions.

Jack

Great, seems like I have seen this somewhere!

Reading through your Arduino Ham Radio book. Lots of good projects. Really in depth explanations.

Randy, K7AGE
BITX #02-139



On Sun, Feb 26, 2017 at 9:04 AM, Jack Purdum via Groups.Io <econjack@...> wrote:
Attached is a file that contains directions that should help you install the Arduino IDE. I don't want to upload it myself as some people need to pass judgement on it first.

Jack, W8TEE





Re: Installing the Arduino IDE directions.

 

Jack

Great, seems like I have seen this somewhere!

Reading through your Arduino Ham Radio book. Lots of good projects. Really in depth explanations.

Randy, K7AGE
BITX #02-139



On Sun, Feb 26, 2017 at 9:04 AM, Jack Purdum via Groups.Io <econjack@...> wrote:
Attached is a file that contains directions that should help you install the Arduino IDE. I don't want to upload it myself as some people need to pass judgement on it first.

Jack, W8TEE



Re: Installing the Arduino IDE directions.

 

Good indeed. ?I'll be reading it myself, as am new to this world of Arduino.

Jerry, KE7ER


On Sun, Feb 26, 2017 at 09:35 am, College Professor Simon Thompson wrote:

Awesome document!

?


Re: Basic Arduino Programming Knowledge

Jack Purdum
 

You gotta be careful as programming can be addictive! ?:>)

Jack, W8TEE



From: Craig Wadsworth <cwadsworth@...>
To: [email protected]
Sent: Sunday, February 26, 2017 12:27 PM
Subject: Re: [BITX20] Basic Arduino Programming Knowledge

These two authors and Dr. Jack lured me in with radio-related projects and taught me a little about programming along the way - sneaky devils, they were. (smile)

KW5GP's Arduino for Ham Radio



and

WA5ZNU (editor)'s Ham Radio for Arduino and Picaxe











Re: weak mic audio output,

 

Has anyone built and used the Analog Devices SSM2165-1 voice compressor circuit from AD5X that can be used for dynamic or electret mics. Links for the pdf's are: ? and? .? Looks like it would be simple to add to the BITX40 for more TX audio punch. The author states that the gain is set for unity, so it may need a way of adjusting for a small amount of gain if needed.


Re: BITX20 groups.io wiki

 

I would like to add my request for a wiki. I am new to the BitX world. After I finish setting up the board as delivered, I'd like to start doing mods and upgrades. Unfortunately I am completely overwhelmed by the unorganized pile of stuff here. I know there are gems in it somewhere but I have no idea how to find them. Sorting through hundreds of directories looking for interesting projects or "must have" mods just isn't a viable option, even if I did have a clue as to what I might do first.?

Rather than add to the growing pile of plaintive "what do I do now" posts on this board, I'd like to be able to find stuff myself. Then I can ask intelligent questions. Right now? Not really possible. ?Thx and 73 de Bill K7WXW


Re: Installing the Arduino IDE directions.

College Professor Simon Thompson
 

¿ªÔÆÌåÓý

Awesome document! Very helpful.

On Feb 26, 2017, at 9:04 AM, Jack Purdum via Groups.Io <econjack@...> wrote:

Attached is a file that contains directions that should help you install the Arduino IDE. I don't want to upload it myself as some people need to pass judgement on it first.

Jack, W8TEE

<ArduinoIDEInstallationDirections.doc>


Re: Basic Arduino Programming Knowledge

College Professor Simon Thompson
 

Thank you for all of the suggestions. I will pick up these books and start studying them.

On Feb 26, 2017, at 9:27 AM, Craig Wadsworth <cwadsworth@...> wrote:

These two authors and Dr. Jack lured me in with radio-related projects and taught me a little about programming along the way - sneaky devils, they were. (smile)

KW5GP's Arduino for Ham Radio



and

WA5ZNU (editor)'s Ham Radio for Arduino and Picaxe