Keyboard Shortcuts
Likes
- BITX20
- Messages
Search
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.
toggle quoted message
Show quoted text
Vince. On 02/02/2018 01:33 PM, Rod Self wrote:
Hi All, --
Michigan VHF Corp. |
Re: First Arduino sketch loaded
I guess it depends on how you learn.
toggle quoted message
Show quoted text
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. |
Re: Diy oscilloscope
#parts
I'll have to look that STM32 forum over, see what they are up to.
toggle quoted message
Show quoted text
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: ? ?? ? ?? 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, |
Re: First Arduino sketch loaded
Rod Self
Hi All,
toggle quoted message
Show quoted text
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
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
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. |
Re: First Arduino sketch loaded
Jack Purdum
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: [email protected] 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 Purdum
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: [email protected] 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. > > <> > > > > Then came Bjarne Stroustrup and C++ > > > > 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.? ? ? ? ? ? ? ? ? ? ? ? ? ? ? |
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.
toggle quoted message
Show quoted text
Vince. On 02/02/2018 11:34 AM, Arv Evans wrote:
T --
Michigan VHF Corp. |
Re: First Arduino sketch loaded
Most Arduino code pretty much ignores the "++" thing, using vanilla C.
toggle quoted message
Show quoted text
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
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. |
Re: Second batch of uBITX shipping?
#ubitx
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
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:
|
Re: Diy oscilloscope
#parts
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. |
Re: Accident, Did I damage my Raduino
¿ªÔÆÌåÓý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!! -- Mike Hagen, WA6ISP 10917 Bryant Street Yucaipa, Ca. 92399 (909) 918-0058 PayPal ID "MotDog@..." Mike@... |
Re: Accident, Did I damage my Raduino
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 |
Re: First Arduino sketch loaded
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. Then came Bjarne Stroustrup and C++ 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@...> wrote: That's where every "C" programmer in the world started! Congrats!? K&R_Cover.pdf
K&R_Cover.pdf
The_C_Programmers_Handbook_Cover.pdf
The_C_Programmers_Handbook_Cover.pdf
|