¿ªÔÆÌåÓý

Date

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.

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

 

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

 

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

 

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:

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

 

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:
? ? ??

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
? ??
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.
? ??
?
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

 

¿ªÔÆÌåÓý

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

 

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
>






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!?
--
John - WA2FZW



Re: #ubitx-help Strong Audio Tones in and outside audio receive passband #ubitx-help

 

Very cool, good job!
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
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


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,
?? 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.
But for $23, it's very interesting.? Gets good reviews on Amazon:
? ? ??

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
? ??
says the sample time of the ADC when operating at 1msps is 0.107us


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

Den 2. feb. 2018 kl. 03.20 skrev Jack Purdum via Groups.Io <jjpurdum@...>:

I know of a great book that can help you... :>)

Jack, W8TEE



From: Charles D. Smith <laborlawyer@...>
To: [email protected]
Sent: Thursday, February 1, 2018 8:42 PM
Subject: [BITX20] First Arduino sketch loaded

nobody laugh ... (ok, go ahead) ?... I just loaded and modified my first sketch ... so changing out ¡°world¡± and putting in my town isn¡¯t much of a change, it¡¯s something. Plus, I varied the count too ... woohoo!
before I plug the computer into the raduino, I¡¯m going to get a much better handle on this stuff! ?But it¡¯s very exciting to a pencil and paper guy!
72/73 de Chas ai4ot.?



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