Keyboard Shortcuts
Likes
- SoftwareControlledHamRadio
- Messages
Search
Re: Questions/errors in Arduino sketch
I think another apology is in order after you look at the code/sketch that is posted here. The one that expanded the frequency range.
It clearly says 7 no matter how you read the schematic! 73, W4GHV Bo Harrisburg, NC Ham since 54, MSEE, Extra Class, retired engineering professor. |
||
Re: Questions/errors in Arduino sketch
Hello whoever you are (a name or call would be nice).
I assume you are referring to the code I posted with RX offset added. I assure you the code does work correctly as does the the original sketch Jack published. The rotary switch is connected to D4 in the schematic and the code has ROTARYSWITCHPIN defined as 4 which is D4 on the Arduino. You seem to have a problem reading the schematic. I suggest you print it out and use a pencil to trace the line. You will find that the rotary switch is connected to Arduino pin 7 which is referred to as 4 (i.e. D4) in the code. Lou? W2ROW |
||
Re: Questions/errors in Arduino sketch
The BCI filter is pictured in the 5th and 6th photos. I'll take a look at the other issues this weekend. Jack, W8TEE From: "bobarr@... [SoftwareControlledHamRadio]" To: SoftwareControlledHamRadio@... Sent: Thursday, June 2, 2016 5:29 PM Subject: Re: [SoftwareControlledHamRadio] Questions/errors in Arduino sketch
?
Jack I know we discussed it earlier, but when I saw a new/updated program here I figured things were different.
The program here, in the downloads, will not work since it still has the original error where the ROTARYSWITCHPIN is connected to D7 and not to D4.? Changing it to D4 and adding the PULLUP command made it work fine. The RITPIN assignment to D8 is in error since it is used as the VFO CLK. Since RIT is unimplemented, I guess it does no harm. I never did see the BCI schematic and info you mentioned. Having fun with the great project. |
||
Re: Questions/errors in Arduino sketch
Jack I know we discussed it earlier, but when I saw a new/updated program here I figured things were different.
The program here, in the downloads, will not work since it still has the original error where the ROTARYSWITCHPIN is connected to D7 and not to D4.? Changing it to D4 and adding the PULLUP command made it work fine. The RITPIN assignment to D8 is in error since it is used as the VFO CLK. Since RIT is unimplemented, I guess it does no harm. I never did see the BCI schematic and info you mentioned. Having fun with the great project. |
||
Re: Questions/errors in Arduino sketch
See below Jack, W8TEE From: "bobarr@... [SoftwareControlledHamRadio]" To: SoftwareControlledHamRadio@... Sent: Thursday, June 2, 2016 3:21 PM Subject: [SoftwareControlledHamRadio] Questions/errors in Arduino sketch
?
I thought I would add the freq coverage mod, and the original problems/questions popped back up. The ??? ROTARYSWITCHPIN? is connected to D4?? not D7? it is connected to pin 21 on J1 (nothing) This has been discussed before. A quick look at the schematic in the assembly manual shows this. I think some confusion resulted from the fact that pin 7 is D4. The RIT? pin is connected to D8, but I cannot find the RIT pin! This has also been discussed here. I did not implement the RIT feature. However, another member has posted a mod for this. D8 is connected to the AD9850 CLK Again, shown in the schematic. I changed to D4 and added a ....,INPUT_PULLUP line for it? and it seems to work normal Changed what to D4? Now to work on broadcast overload, sensitivity, & audio. :) I presented a BCI filter here a long time ago. 73, W4GHV? Bo |
||
Questions/errors in Arduino sketch
I thought I would add the freq coverage mod, and the original problems/questions popped back up.
The ??? ROTARYSWITCHPIN? is connected to D4?? not D7? it is connected to pin 21 on J1 (nothing) The RIT? pin is connected to D8, but I cannot find the RIT pin! D8 is connected to the AD9850 CLK I changed to D4 and added a ....,INPUT_PULLUP line for it? and it seems to work normal Now to work on broadcast overload, sensitivity, & audio. :) 73, W4GHV? Bo |
||
First Smoke
Finally got the VFO going. First off a big thank you Jack and Farrukh for posting the warning in multiple places about adjusting the buck boost regulator prior to installing the Arduino and AD9850. Mine was set to 11.8v which would have meant the smoke would have leaked out instantly. Had a minor issue with compiling the VFO source code. Not a big deal and it is documented in the Upgrading Displays to I2C thread. Once the unit booted I played with the rotary encoder and it was acting all weird. In another thread here it discusses where to plug in the wires and of course I screwed that all up. Will fix it when I get back to the bench. While I'm at it install debounce capacitors to the encoder. Could do it in software but just as easy to solder in a couple of caps. Hooked up the oscilloscope. Adjusted the amplified wave to 4vpp. Went to measure the frequency and got 7.062mhz with an indicated 7.000. Granted measuring with an oscilloscope isn't the most accurate instrument for this purpose. Also I had just finished soldering the thing together not 30 minutes prior so several of the components were heat soaked. Will let the thing cool and come back to it. Let it run about 30 minutes and it was still clicking along. Rechecked the amplified wave and it had drifted to 4.2vpp. Tweaked that down. Will check it again once it cools. My next bench session besides tweaking and adjusting things here and there I want to let it run for an hour and let everything get to operating temperature. Definitely want to check the buck boost regulator to see if it drifts once it warms up. Anyhow, happy day in the shack. Till later Hank K5HDE |
||
Re: Upgrading Displays to I2C
Just did first smoke on my VFO. Worked mostly and have a couple issues to work out. But that is not what this post is about. Back to the LCD libraries. Went to compile the VFO source code and it failed at the LiquidCrystal_I2C declaration line. Still had the library from the wikispaces link above installed. Deleted that and installed the library that came with vfo-source-rev6. Then it compiled fine. When I get time I'm going to tinker with the two libraries and see what the issue is. So in the meantime use my method in the first post of this thread to function check your display and your Arduino. Then when you are ready to install the Arduino on the VFO board go back to Jack's code. Till later Hank K5HDE |
||
Re: Different values for R2 in different Forty-9er kits
Indirectly we have mentioned it as it relates to the input voltage. Typically, many power supplies output 13.8V DC to power the rig. The Forty-9er was originally designed for 12V, which places less of a burden on the PA transistor. Still, a heat sink would not hurt anything and you can make one from a soda can. I talked about this somewhere, but I've slept since then so I don't remember where. Anyway, cut a small piece from a can and make a tab that can be wrapped around the transistor, like: ? ? ? ? ? ? +-------------------------+ ? ? ? ? ? ? ?| ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? ? ? ? ? ? ?| ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? ? ? ? ? ? ?| ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? ? ? ? ? ? ?| ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? ? ? ? ? ? +---------+ ? ? ?+------+ ? ? ? ? ? ? ? ? ? ? ? ? ? | ? ? ? | ? <---- Tab? ? ? ? ? ? ? ? ? ? ? ? ? +-----+ (You'll need to nick the inside corners of the tab to get it to fit tightly.) Once you have the aluminum tab bent around the transistor, slip some heat shrink tubing over the tab and transistor, feeding the piece of tubing up from the transistor legs. (Obviously, you do this before mounting the transistor to the PCB.) Shrink the tubing to hold the piece of aluminum in place. If you have thermal grease, apply it to the tab before bending it around the transistor. This would cost next to nothing, or you could buy one of the clip-on heat sinks. It's also true that the transistors are really cheap so replacing them is not expensive, which gives rise to Jack's Second Law of?Howebrewed Electronics:? ? ? 2. Custer took a chance. I bought 600 transistors for $12, including the case. If a circuit violates Jack's First Law of Howebrewed Electronics: ? ? 1. All electronic circuits runs on white smoke. Once that smoke escapes from the circuit, you're screwed. But, at about a nickle a piece, the Second Law prevails. Jack, W8TEE From: "Gary Auchard w0mna74@... [SoftwareControlledHamRadio]" To: SoftwareControlledHamRadio@... Sent: Tuesday, May 31, 2016 12:31 PM Subject: Re: [SoftwareControlledHamRadio] Different values for R2 in different Forty-9er kits
?
Jack, Yes indeed, I did put a heat sink on the output transistor only because it felt fairly warm during testing and I didn't want to chance blowing it.On Tue, May 31, 2016 at 10:56 AM, Jack Purdum jjpurdum@... [SoftwareControlledHamRadio] <SoftwareControlledHamRadio@...> wrote:
|
||
Re: Different values for R2 in different Forty-9er kits
Jack, Yes indeed, I did put a heat sink on the output transistor only because it felt fairly warm during testing and I didn't want to chance blowing it.On Tue, May 31, 2016 at 10:56 AM, Jack Purdum jjpurdum@... [SoftwareControlledHamRadio] <SoftwareControlledHamRadio@...> wrote:
|
||
Re: Different values for R2 in different Forty-9er kits
Gary: As I recall, didn't you put a heat sink on the output transistor? The 220K resistor should be okay in either case, but I'd feel better if the PA transistor had a heat sink on it if you want to run it at 3W or so. Jack, W8TEE From: "Gary Auchard w0mna74@... [SoftwareControlledHamRadio]" To: SoftwareControlledHamRadio@... Sent: Tuesday, May 31, 2016 11:42 AM Subject: Re: [SoftwareControlledHamRadio] Different values for R2 in different Forty-9er kits
?
Yes, my kit had the 220K resistor and that's what I installed.? The receiver works very well and the transmitter put out almost 3.5 watts.? No complaints with using the 220K resistor at this point from me. Gary A. - W0MNAOn Tue, May 31, 2016 at 10:22 AM, g4ipz@... [SoftwareControlledHamRadio] <SoftwareControlledHamRadio@...> wrote:
|
||
Re: Different values for R2 in different Forty-9er kits
Yes, my kit had the 220K resistor and that's what I installed.? The receiver works very well and the transmitter put out almost 3.5 watts.? No complaints with using the 220K resistor at this point from me. Gary A. - W0MNAOn Tue, May 31, 2016 at 10:22 AM, g4ipz@... [SoftwareControlledHamRadio] <SoftwareControlledHamRadio@...> wrote:
|
||
Re: Upgrading Displays to I2C
Line 24 in the VFO source code tells you where to find the correct library and what needs to be done to use it properly. Jack, W8TEE From: "donmay2@... [SoftwareControlledHamRadio]" To: SoftwareControlledHamRadio@... Sent: Tuesday, May 31, 2016 11:09 AM Subject: [SoftwareControlledHamRadio] Re: Upgrading Displays to I2C
?
Hank,
Thanks for the input. I will try your suggestion and let you know. So far I've tried two LiquidCrystal_I2C libraries that don't work.? The original sketch lcd code line with 'POSITIVE' didn't compile. And the second sketch with code line with lcd(0x27, 16, 2); compiles but doesn't run LCD.? I will REMOVE all LCD libraries in Arduino library files,? unzip NewliquidCrystal_1.3.4.zip (large file) and add it as sole LCD library and then let the VFOsource sketch decide... Don |
||
Re: Chinese rotary encoder PCB
Slim: I wish you well during and after your surgery. The advances in medicine are exponential, so I'm sure all will be fine. I have two titanium knees and screws in my shoulder and all is well. I sure the same will apply to you, too. Stiff upper lip as you guys say! Jack, W8tee From: "'G4IPZ.COM' g4ipz@... [SoftwareControlledHamRadio]" To: SoftwareControlledHamRadio@... Sent: Tuesday, May 31, 2016 11:15 AM Subject: Re: [SoftwareControlledHamRadio] Chinese rotary encoder PCB
?
?
Hi Jack.
?
You make me feel like a young man HI.
?
It's fingers crossed for me actually as I am going into
hospital next Monday for fairly intrusive, reconstructive surgery on my
arthritically destroyed right?hand and wrist?(my soldering hand too
dammit).
?
So far, only one of the male side of my family have made it
both in to and then out of hospital again once they were over 60 !
?
So if you don't hear from me again perhaps?him up there
or him down there needed a technician in their respective domains.
?
Slim G4IPZ
?
?
?
?
|
||
Different values for R2 in different Forty-9er kits
Hi all. I have just found that my two most recently acquired Chinese Forty-9er kits seem to have a changed value resistor supplied. Both kits are missing the 1M resistor that goes to the gate of Q1 but have a 220K supplied apparently instead. I was wondering if anyone else has come across this in recently supplied Chinese kits? 73 Slim G4IPZ |
||
Re: Upgrading Displays to I2C
?
toggle quoted message
Show quoted text
Don.
?
Did you see my earlier post about the differnt I2C control
boards out there?
They use different pin declarations for the LCD
control.
It might be worth checking that out
?
Slim G4IPZ
?
|
||
Re: Chinese rotary encoder PCB
?
Hi Jack.
?
You make me feel like a young man HI.
?
It's fingers crossed for me actually as I am going into
hospital next Monday for fairly intrusive, reconstructive surgery on my
arthritically destroyed right?hand and wrist?(my soldering hand too
dammit).
?
So far, only one of the male side of my family have made it
both in to and then out of hospital again once they were over 60 !
?
So if you don't hear from me again perhaps?him up there
or him down there needed a technician in their respective domains.
?
Slim G4IPZ
?
?
?
?
|