Keyboard Shortcuts
Likes
- BITX20
- Messages
Search
Re: no matching function for call??
¿ªÔÆÌåÓýThanks for the explanation and help, Randy. ?That was it, WOW...do I have a lot to learn. ?I did do a search of previous posts for the answer but was ?unsuccessful (it helps if you use the right search words). ? BTW, great videos
73,
Kent KC9LIF From: [email protected] <[email protected]> on behalf of Randy Hall <listk7age@...>
Sent: Tuesday, February 21, 2017 9:10 PM To: [email protected] Subject: Re: [BITX20] no matching function for call?? ?
? ?Kent,
I posted this a couple weeks ago. There is another version of the code around that has this error fixed,.
Randy, K7AGE
I am using IDE version?1.6.12. BITX40 code from -
Inside the sketch, it says to get the Si5351 library from -
Install the library, search for how to do this, lots of info on the internet...
Select TOOLS - Board - Arduino?Nano When I clicked Verify I saw this as the first error ?????si5351.set_freq((bfo_freq + cal - frequency) * 100LL, ?SI5351_PLL_FIXED, SI5351_CLK2);? ????raduino:313: error: no matching function for call to 'Si5351::set_freq(long long unsigned int, long long unsigned int, si5351_clock)' I have no idea what this gobbledygook means. But, it is probably bad...
So, I searched the message archives for any hints. I found that?Ron ¨C PA3FAT said that??Si5351 library version 1.1.2 should be used. Under SKETCH?- Include Library - Manage Libraries? Filter for etherkit, you should see Etherkit Si5351 by Jason ... Ver 2.0.1 INSTALLED. Ah, not version .1.1.2 Go to Select Vers, pick 1.1.2 and click Install. Clicked Verify again, and it complied successfully. On Tue, Feb 21, 2017 at 8:02 AM, <kbergphd@...> wrote:
|
||||||
Re: Flutter Fix
Comrades! Do you think we should move the software related issues to another list? Just asking, I am not advocating it. The nature of open software code discussions is such that it will give jeepers to the 'rest of us'. Those on the linux kernel list will vouch for this. the discussions are often wild and engaged and some times scarily technical.? - f On Wed, Feb 22, 2017 at 12:49 PM, John Smith via Groups.Io <johnlinux77@...> wrote:
|
||||||
Re: no matching function for call??
?Thankfully, it's pretty easy to update the code for V2. Here's the 'read me' info for the library: ? Here's the info on the change: ?"The?set_freq()?method is now more streamlined and only requires two parameters: the desired output frequency (from 4 kHz to 150 MHz) and clock output. In your old code, you can delete the 2nd parameter in?set_freq(), which was the PLL frequency.?" If you use a code-friendly editor like Notepad++, you can search for the instances of set_freq and delete the middle term (SI5351_PLL_FIXED)?and the code will likely compile with the V2 library. That's all there is to it! Andy |
||||||
Re: Flutter Fix
I will be sure to check out the analyzer when it comes out. By the time you guys get this bit of code organized where I can just copy and paste it in, I should be done putting mine in an enclosure. A basic black spray painted rectangle holiday tin. I used a nibbler for the LCD cutout and it looks a thousand times better than some others jagged Dremel cut outs. I once killed a Uno by plugging in the USB cable while it was still plugged in to 12V. I knew better, but just didn't notice it first. I will be thinking about that when I upload the new sketch. And I do have a spare Nano. Side note: Make it easy on yourself and change the pots for the knobs you have. On mine I thought I would be slick and use a 100K ?for nicer tuning. But nope, the higher resistance pot had a high resistance response on the incoming signal. No radio signals, just random birdies. Swapping it out to a smaller size diameter 10K pot put it back like it was with the original part. |
||||||
Re: CW or not to CW?
On Tue, Feb 21, 2017 at 10:47 pm, John Smith wrote:
So would a digital mode signal be any easier? Something connected to the mic input lines for rtty or psk31 perhaps Well, conventionally PSK31 uses upper-sideband. If you've got an SI5351-based BitX, it's a fairly simple matter to change sidebands. I've forgotten what sideband is typically used for RTTY. This question of using CW or any other mode than phone on the BitX can be addressed philosophically. At this price, one doesn't need a one-for-all-purposes rig. If one wants to also do CW, there's a number of excellent CW-only kits to carry on in the homebrew spirit. If one wants to get into scratch building, there's a bizillion tried-and-true designs with long histories and broad-based support available in the Ham community. 73, Todd K7TFC? |
||||||
Re: CW or not to CW?
Well, that's what I was afraid of. It is like trying to make milk from chalk and water, you're going to need a lot more than what you got. In other words, it's impractical.? I would need proper instructions with a picture and a schematic to pull it off. So would a digital mode signal be any easier? Something connected to the mic input lines for rtty or psk31 perhaps. And as for a test tone for tuning an antenna tuner, could a simple sine wave generator circuit inject a signal into the mic input? Does anyone know what kind of power ratings there are for the mic circuit? Some CPO circuits can be loud until you put a resistor on the speaker line. |
||||||
Re: CW or not to CW?
If you inject a 700Hz carrier into the mixer, you will produce two mixes + and - of the carrier.
toggle quoted message
Show quoted text
The xtal filter removes one and what is left is a pure carrier. not MCW as I know it. If the carrier fed to the mixer where the audio goes, is not pure sine wave then it classifies as an audio spectrum and result is MCW. If you key an audio oscillator kept in front of a mic then I would call that MCW! Raj At 22/02/2017, you wrote:
Aside from attempts to use the BitX for what I would call "true CW," i.e., "A1A" mode in which the carrier is directly keyed (with or without shaping) and having a "necessary" bandwidth of only a few hundred Hertz, I'm interested in clarifying the use of what is sometimes (erroneously?) called "modulated" CW (MCW): using SSB modulation to simulate the audible CW tone (in true CW produced by tuning away from zero beat) by injecting a fixed tone into the audio input of an SSB exciter. Though the resulting transmission would sound like CW in an SSB receiver, it wouldn't be intelligible in a CW-only receiver, nor would it occupy a narrow bandwidth like true CW. Moreover, since it would be SSB modulated rather than A1A CW, its use would not be permissible in the CW-only portions of the amateur bands. Those portions are reserved only for the narrow bandwidth of true CW, and an SSB-generated CW-like signal would take up as much bandwidth as several closely-spaced true CW ones. |
||||||
Re: BitX40 R3 schematic
Jerry, That was me on R104.
toggle quoted message
Show quoted text
No idea on 100 ohms emitter of Q13. I propose to parallel on Q13. I tried to blow the transistor Q13 with my main rig on 40M but BITX on a wire.. did not blow. The double diode should be a good protection. Raj At 21/02/2017, you wrote: Yes, I do recall someone reporting R104 being 10k instead of 2.2k.? |
||||||
Re: Flutter Fix
Jack Purdum
John: I have an article coming out in QST on an Arduino antenna analyzer. The bad news is that I don't know when it will be printed; only that it will be "by Feb next year". That said, it's built on an "Arduino Sandwich" that has the TFT display on the bottom which plugs into a custom PCB in the middle, and the AD9850 and Mega 2560 Pro Mini on the top. (See photo.) The display is 3.5" and has pretty good resolution. (Second pix.) QRP Guys will be selling the board. My club did a build of this AA and I wrote an assembly manual to go with it. The code will be published in QST. I'm hoping that I may be able to squeeze the basic AA into the BITX40, along with the other things I want to add to the rig. I'll post the code when everything is finished. Jack, W8TEE From: John Smith via Groups.Io <johnlinux77@...> To: [email protected] Sent: Tuesday, February 21, 2017 12:57 PM Subject: Re: [BITX20] Flutter Fix After you two guys decide on your collaboration of coding, I am willing to try it and give you feedback. ?I am at the earliest stages of playing with arduino beyond the Blink and Servo Motor sketches. I am still planning to make Jacks DDS VFO from his Arduino for amateur radio book, and implement it with the Frog Sounds CW Kit. As well as a Arduino antenna analyzer.? How is this implemented "Shut it down with?noTone();" Is this a keyboard command, or button activated? Well, at least you know I am good at describing a problem with all the details. And I got a backup of my code with the tune pin change.
|
||||||
Re: Enclosure for BITX40
I would suggest Roy and others to try out shielding tape . This is from aliexpress and appears very cheap and just sticks. regardsOn Wed, Feb 22, 2017 at 8:11 AM, bigdswitzer <bigdswitzer@...> wrote:
--
Regards
Sarma ? |
||||||
Re: no matching function for call??
? ?Kent, I posted this a couple weeks ago. There is another version of the code around that has this error fixed,. Randy, K7AGE I am using IDE version?1.6.12. BITX40 code from - Inside the sketch, it says to get the Si5351 library from - Install the library, search for how to do this, lots of info on the internet... Select TOOLS - Board - Arduino?Nano When I clicked Verify I saw this as the first error ?????si5351.set_freq((bfo_freq + cal - frequency) * 100LL, ?SI5351_PLL_FIXED, SI5351_CLK2);? ????raduino:313: error: no matching function for call to 'Si5351::set_freq(long long unsigned int, long long unsigned int, si5351_clock)' I have no idea what this gobbledygook means. But, it is probably bad... So, I searched the message archives for any hints. I found that?Ron ¨C PA3FAT said that??Si5351 library version 1.1.2 should be used. Under SKETCH?- Include Library - Manage Libraries? Filter for etherkit, you should see Etherkit Si5351 by Jason ... Ver 2.0.1 INSTALLED. Ah, not version .1.1.2 Go to Select Vers, pick 1.1.2 and click Install. Clicked Verify again, and it complied successfully. On Tue, Feb 21, 2017 at 8:02 AM, <kbergphd@...> wrote:
|
||||||
Re: no matching function for call??
¿ªÔÆÌåÓýWhat changes are required to the sketch to use the current version? I was unable to locate version 1.0.2 ? v/r Fred W4JLE ? From: [email protected] [mailto:[email protected]] On Behalf Of Art Olson
Sent: Tuesday, February 21, 2017 11:34 To: [email protected] Subject: Re: [BITX20] no matching function for call?? ? Think you need to change the ether kit version in IDE to 1.0.2.?
|
||||||
Re: Flutter Fix
Jack Purdum
To reinforce what Jerry is saying, pin names 0 and 1 on the Nano are used to communicate with the PC via the Serial object, so it's best to leave them as is if you expect to do any debugging. Pin 2 and 3 are the only external interrupt pins on the Nano, so leaving those free if you can is a good idea in many cases. (My code, for example, uses interrupts rather than polling for the rotary encoder.) The A4 and A5 pins Jerry mentioned are used in multiple libraries as they are part of the I2C and other interfaces. A common mistake when using the ADC pins is to use 1024 in some form of equation because that is 2 to the 10th power. However, keep in mind that zero is a valid value, so the range is 0-1023. (That is, the max value is not 1024.) In Jerry's setup() code, the 'p' got dropped. It should be: ? ? pinMode(4, OUTPUT); Finally, if you are using interrupts in your code, using delay() or the Serial object will mess things up because they call their own interrupt routines. Jack, W8TEE From: Jerry Gaffke via Groups.Io <jgaffke@...> To: [email protected] Sent: Tuesday, February 21, 2017 5:55 PM Subject: Re: [BITX20] Flutter Fix John Smith, Regarding noTone() Pin 6 is used in the Raduino sketch for "CW_TONE", Ashhar has it set up to send out a sidetone. ?Probably best to let pin 6 be, pin 4 is free though, it gets defined as "TX_LPF_SEL" but that define is never used. ?I tried my code snippet, the compile complained until noTone() was given a pin number to shut down, even though the library can only generate one tone at a time. ?So working code could be had by adding this anywhere inside the setup() routine in the Raduino sketch, including right at the top as shown here ######################## void setup() { ? ? inMode(4, OUTPUT); ? ? tone(4, 1000); ? ? delay(5000); ? ? noTone(4); ######################## Note that "4" is labeled as "D4" in the Raduino schematics, and is more a name than a number. ?It is actually pin 22 of the Nano. ? The Nano has pin names 0 through 12, though 8,9,10,11,12 are used by the LiquidCrystal library for the 2x16 LCD. ? These are all strictly digital pins, can be input or output, but have states of only high or low. ?The Nano also has pin names A0 through A7, though A4,A5 are used inside the Si5351 library. ?These can be analog inputs to the ADC (such as for reading the the voltage of that tuning pot), or can be used as digital pins.? If you plan to mess around with Arduino programming, probably a good idea to get another Nano or two. ?They are quite cheap, and it is possible to program them in such a way that they will no longer talk to you. ?Probably don't want to brick the Nano that came with the Raduino. Jerry On Tue, Feb 21, 2017 at 10:48 am, Jerry Gaffke wrote:
?
|
||||||
Re: Flutter Fix
Whoops, had a copy-and-paste error. ?That first line should be: ? ?pinMode(4, OUTPUT); Also, while that first line is typically in the ?setup() ?routine, the other three lines could be most anywhere, and need not be together. On Tue, Feb 21, 2017 at 02:55 pm, Jerry Gaffke wrote: inMode(4, OUTPUT); ? |
||||||
Re: Enclosure for BITX40
Looks great Roy, what speaker/size are you using? David KG7WFM On Tue, Feb 21, 2017 at 1:30 PM, Roy Appleton <twelveoclockhigh@...> wrote:
|
||||||
Re: KB1GMX on the BITX
Allison's comments are probably worth chasing a little further. ?Here's a summary of her points, and my comments: 1) ?Diode ring injection level should be higher for the 1n4148's Likely true. ?An easy fix is to move from 1n4148's to a couple BAT54S's in that DBM. ?Perhaps even try a commercial DBM here if you really know what you want. ?And/or adjust the injection level. ?All easily done. 2) ?DBM wants ports at 50 ohms for better overload and IMD performance Probably true. ?But 200 ohms works well for feeding the crystal filter, and does reduce power consumed. ?Somebody with the W7ZOI 50 ohm amps might patch them in and feed the filter appropriately, see if the improvement is worthwhile. ?Could be that much of this preference for 50 ohms is because it's a nice standard impedance to look at and test with, and not so much driven by performance. ? 3) ?Recommends diplexer between DBM and crystal filter One of those things that adds parts and complexity, may well reduce spurious received signals. ?But we seem to have identified all the images and birdies thus far, perhaps this doesn't add much to performance. ?Would be worth trying, do an A/B comparison. 4) ?Too much RF gain Don Cantrell has a nice hack for this, just shut down power to Q1. ?Though some gain at Q1 might prove useful in some cases. ?Alternately, put a pot on the rx signal between the relays. ? ?If we reduce RF gain we need to increase AF gain, and that will result in greater sensitivity to power supply noise. ? 5) ?Move VFO to high side of IF to reduce images. Yup. ? My Si5351 VFO will be up around 19mhz, just a matter of Raduino code and moving the BFO a couple khz. A few other things I'm keeping in mind: 6) ?Q13 can blow, either from a nearby transmitter or from too much power dissipation for a Sot23. ?Use a TO92 there? ?Add Raj's back-to-back diodes? 7) ?Q14 emitter resistor can burn out, find a bigger part? 8) ?Might want Raj's fractional ohm source resistor to protect the IRF510. ?My guess is it's not often seen in an RF power amp because on standard RF transistors the source is attached to the tab which gets grounded to the heat sink. ?Not true with the IRF510. ?Maybe a PolySwitch to limit current. 9) ?Add minor hardware bits needed to support CW, maybe standalone PSK31 10) ?Add features for easy testing. Jerry, KE7ER |
||||||
Re: Flutter Fix
John Smith, Regarding noTone() Pin 6 is used in the Raduino sketch for "CW_TONE", Ashhar has it set up to send out a sidetone. ?Probably best to let pin 6 be, pin 4 is free though, it gets defined as "TX_LPF_SEL" but that define is never used. ?I tried my code snippet, the compile complained until noTone() was given a pin number to shut down, even though the library can only generate one tone at a time. ?So working code could be had by adding this anywhere inside the setup() routine in the Raduino sketch, including right at the top as shown here ######################## void setup() { ? ? inMode(4, OUTPUT); ? ? tone(4, 1000); ? ? delay(5000); ? ? noTone(4); ######################## Note that "4" is labeled as "D4" in the Raduino schematics, and is more a name than a number. ?It is actually pin 22 of the Nano. ? The Nano has pin names 0 through 12, though 8,9,10,11,12 are used by the LiquidCrystal library for the 2x16 LCD. ? These are all strictly digital pins, can be input or output, but have states of only high or low. ?The Nano also has pin names A0 through A7, though A4,A5 are used inside the Si5351 library. ?These can be analog inputs to the ADC (such as for reading the the voltage of that tuning pot), or can be used as digital pins.? If you plan to mess around with Arduino programming, probably a good idea to get another Nano or two. ?They are quite cheap, and it is possible to program them in such a way that they will no longer talk to you. ?Probably don't want to brick the Nano that came with the Raduino. Jerry On Tue, Feb 21, 2017 at 10:48 am, Jerry Gaffke wrote:
? |
||||||
Re: CW or not to CW?
William Kimber
¿ªÔÆÌåÓýModulated CW (MCW) originally was a AM tone. So you had carrier
plus both side-bands.? Receivable on ordinary am receiver. On 02/22/2017 10:21 AM, Todd K7TFC
wrote:
|