Keyboard Shortcuts
Likes
- BITX20
- Messages
Search
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
|
Re: #ubitx-help Strong Audio Tones in and outside audio receive passband
#ubitx-help
Very cool, good job!
toggle quoted message
Show quoted text
Thanks for the update, this may come up again. Could be that the old arduino had a faulty 16mhz crystal. But that thing is tiny, swapping in a different crystal would be tough. Could also be that the ATMega382P processor had a faulty oscillator. Jerry On Thu, Feb 1, 2018 at 10:03 pm, John wrote:
I bought a cheap Arduino on eBay and after some struggle I changed the Nano, re-programmed it and all came good. The tones within the passband are gone and the ones outside the passband can be eliminated with a careful choice of BFO frequency. |
Re: Accident, Did I damage my Raduino
In v2, pin A2 is not used anymore. You could remap the function button to
toggle quoted message
Show quoted text
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 |
Re: Accident, Did I damage my Raduino
Richard Sanders
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 |
Re: uBITX AM BCI Filter
#ubitx
Hi John,?
I've completed the mod in the Rx path, and it is fine business. No problemo, I even think I have more tx per, but that's most likely due to lowering the noise gate on the ssm2167... Pics to come... I got all my little bits from minikits.com.au. 73 |
Re: Case designed for uBITX -
#3d_printing
Please submit your request to the email address in the PDF brochure.? I need to use my email Client to maintain a log.? Plus I will be able to respond to you as to an estimated completion date for when you can send payment through PayPal.
|
Re: Diy oscilloscope
#parts
I apologize that I was not aware of all of this before I posted. My intent was good.? That being said as parts, or if its possible to bring rf in to its range, or even just to help with the digital components I hope it helps. Chris |
Re: Diy oscilloscope
#parts
Jerry,
toggle quoted message
Show quoted text
?? 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?? 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. ? As far as o-scopes is concerned I bought? Hantek 6022 I think it is.? It's like around $70 and has 20Mhz bandwidth.? I've used it on several projects and does a great job. Mind you it uses 2 usb ports.? I use my laptop for that.? 73, Michael KM4OLT On Thu, Feb 1, 2018 at 07:30 pm, Jerry Gaffke wrote: Yes, it's useless for RF as is, and likely kind of ideosyncratic and of sub 200khz bandwidth. |
Re: First Arduino sketch loaded
¿ªÔÆÌåÓýI too know a very good book, i just get it to my 70. years birthday from my daugters.It is called Beginning C for Arduino, second edition. ISBN 978-1-4842-0941-7. I sit with my PC, the Arduino and the book. I have coded an Arduino for controling the heat in my House a year Ago, that work just fine, but now i learn a lot exstra about using the programing languish never understand. Its a book for both new ¡°programmers¡± and those that had programmed for some time. Good Luck with programming, it is realy fun, The more you learn, the more fun. 73, Oz8pz, stig in Denmark Sendt fra min iPad
|
Re: uBITX schema relay K1
#ubitx
I use the schematic on the hfsignals website. As far as
I know, there is no pcb layout picture available. That's true; there is no RX path in TX mode now, because pin 16 is grounded. However, the mod would take away that ground and allow the trace to float. I am not so sure that is a good idea...but as I said, try it and see what happens. Hi. Another thing to consider is what effect the Raduino signals would have with that pin ungrounded.... john AD5YE |