tag:blogger.com,1999:blog-7702184209705146469.post800394887271210789..comments2024-02-05T13:29:20.361-05:00Comments on DuWayne's Place: A SI5351 VFO-BFO UPDATE 9/15 9/16 9/21 11/15/17DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.comBlogger45125tag:blogger.com,1999:blog-7702184209705146469.post-4950030366050168972019-02-19T17:05:35.768-05:002019-02-19T17:05:35.768-05:00Can someone please point me to the latest sketch o...Can someone please point me to the latest sketch of the Simpleceiver with the OLED display. I have the one with the TFT display and want to try both versions. Thanks, JackJACKhttps://www.blogger.com/profile/14478707164053209580noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-50529890616194968862018-05-27T21:49:56.091-04:002018-05-27T21:49:56.091-04:00DuWayne - Thank you for offering the Simpleceiver+...DuWayne - Thank you for offering the Simpleceiver+ project.<br /><br />sTef DM5TU - for outstanding support and sending me the library files. Without your help I would have not figure this out. 1000 Thanks for your support!<br /><br />Note: The board I got from FDIM (Four Days In May) Dayton Hemvention last week - the silkscreen of the Arduino Nano is backwards. Don't follow the silkscreen. Best way is to check the schematics and verify power before powering it all up. <br /><br />73<br /><br />- Michael KB4JHU QRP OperatorAnonymoushttps://www.blogger.com/profile/14966267524477173903noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-64340977024567071252018-05-27T05:43:49.961-04:002018-05-27T05:43:49.961-04:00You have mail...You have mail...DM5TUhttps://www.blogger.com/profile/09094631147486564061noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-255475428749685822018-05-27T00:20:42.589-04:002018-05-27T00:20:42.589-04:00Version 2 update. Will require changes to the .i...Version 2 update. Will require changes to the .ino for the Si5351.<br /><br />Changes from v1 to v2<br />The public interface to the v2 library is similar to the v1 library, but a few of the most-used methods have had their signatures changed, so your old programs won't compile right out-of-the-box after a library upgrade. Most importantly, the init() and set_freq() methods are different, so you'll at least need to change these calls in your old sketches.<br /><br />The init() method now has three parameters: the crystal load capacitance, the reference frequency, and the frequency correction value (with this last parameter being a new addition). You'll need to add that third parameter to your old init() calls, but then you can delete any set_correction() calls after that (unless you explicitly are changing the frequency correction after the initialization).<br /><br />The set_freq() method is now more streamlined and only requires two parameters: the desired output frequency (from 4 kHz to 225 MHz) and clock output. In your old code, you can delete the 2nd parameter in set_freq(), which was the PLL frequency. In case you want to do things manually, there is now a new method called set_freq_manual() (see below for details).<br /><br />Those two changes should cover nearly all upgrade scenarios, unless you were doing some lower-level use of the Si5351.<br />Anonymoushttps://www.blogger.com/profile/14966267524477173903noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-48119499241074372142018-05-26T15:08:00.091-04:002018-05-26T15:08:00.091-04:00If you use the sketch of DuWayne, maybe it is bett...If you use the sketch of DuWayne, maybe it is better that you use Pets`s N6QW SI5351 and ROTRAY files. You find them here: http://www.n6qw.com/Simpleceiver_Plus.html They work well with DuWaynes main sketch.DM5TUhttps://www.blogger.com/profile/09094631147486564061noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-32620691840792011152018-05-26T15:07:27.927-04:002018-05-26T15:07:27.927-04:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/14966267524477173903noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-63272673110279394662018-05-26T14:41:46.144-04:002018-05-26T14:41:46.144-04:00I did run the Adafruit example and it did program ...I did run the Adafruit example and it did program the Si5351. So the arduino and the Si5351 is working. Now just getting the code to work that DuWayne wrote.Anonymoushttps://www.blogger.com/profile/14966267524477173903noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-29051795315840935702018-05-26T14:39:42.472-04:002018-05-26T14:39:42.472-04:00Hum... strange error now..
Simpleceiver_Plus_DCR_O...Hum... strange error now..<br />Simpleceiver_Plus_DCR_OLED:75: error: 'Si5351' does not name a type<br /><br /> Si5351 si5351;<br /><br /> ^<br /><br />C:\Users\MIchael\Documents\Arduino\Simpleceiver_Plus_DCR_OLED\Simpleceiver_Plus_DCR_OLED.ino: In function 'void setup()':<br /><br />Simpleceiver_Plus_DCR_OLED:171: error: 'si5351' was not declared in this scope<br /><br /> si5351.init(SI5351_CRYSTAL_LOAD_8PF);<br /><br /> ^<br /><br />C:\Users\MIchael\Documents\Arduino\Simpleceiver_Plus_DCR_OLED\Simpleceiver_Plus_DCR_OLED.ino: In function 'void loop()':<br /><br />Simpleceiver_Plus_DCR_OLED:287: error: 'si5351' was not declared in this scope<br /><br /> si5351.set_freq(rx , SI5351_PLL_FIXED, VFO_CLK);<br /><br /> ^<br /><br />exit status 1<br />'Si5351' does not name a typeAnonymoushttps://www.blogger.com/profile/14966267524477173903noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-36164851018639919222018-05-26T14:37:53.836-04:002018-05-26T14:37:53.836-04:00Tef, I noted that Adafruit_SI5351 had teh Si5351 ...Tef, I noted that Adafruit_SI5351 had teh Si5351 files called: Adafruit_SI5351.cpp and Adafruit_SI5351.h<br /><br />Should I rename them to si5351.cpp and si5351.h ?? Anonymoushttps://www.blogger.com/profile/14966267524477173903noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-4256489240629236742018-05-26T14:29:14.484-04:002018-05-26T14:29:14.484-04:00Every sketch gets its own folder by default when y...Every sketch gets its own folder by default when you start that sketch for the first time on your system. <br />Put the rotray.h / .cpp and si5351.h / .cpp files in this specific sketch folder.... Enjoy and let me know when its running.... 72 DM5TUhttps://www.blogger.com/profile/09094631147486564061noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-86731916552712237202018-05-26T14:23:28.518-04:002018-05-26T14:23:28.518-04:00I put them in the library. Let me move them to ma...I put them in the library. Let me move them to mail sketch area. tnx. Anonymoushttps://www.blogger.com/profile/14966267524477173903noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-80620286971064164242018-05-26T12:49:10.748-04:002018-05-26T12:49:10.748-04:00Michael, did you put the SI5351.cpp / SI5351.h /RO...Michael, did you put the SI5351.cpp / SI5351.h /ROTARY.CPP and the ROTARY.h files in the same folder as the main sketch?DM5TUhttps://www.blogger.com/profile/09094631147486564061noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-28954434019247714432018-05-26T12:35:12.090-04:002018-05-26T12:35:12.090-04:00Michael, could you post the whole sketch or mail i...Michael, could you post the whole sketch or mail it to me? Maybe DuWayne teached me enough to help you out on that issue.<br /><br />72 de sTef DM5TUDM5TUhttps://www.blogger.com/profile/09094631147486564061noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-53784402381133847222018-05-26T10:33:37.362-04:002018-05-26T10:33:37.362-04:00I am am getting a compiler function call error. Ha...I am am getting a compiler function call error. Has the group seen this before and know how to fix? I am running Arduino IDE 1.8.5.<br /><br />-Michael KB4JHU<br /><br /><br />C:\Users\MIchael\Documents\Arduino\Simpleceiver_Plus_DCR_OLED\Simpleceiver_Plus_DCR_OLED.ino: In function 'void setup()':<br />Simpleceiver_Plus_DCR_OLED:171: error: no matching function for call to 'Si5351::init(int)'<br /> si5351.init(SI5351_CRYSTAL_LOAD_8PF);<br /> ^<br /><br />C:\Users\MIchael\Documents\Arduino\Simpleceiver_Plus_DCR_OLED\Simpleceiver_Plus_DCR_OLED.ino:171:38: note: candidate is:<br /><br />In file included from C:\Users\MIchael\Documents\Arduino\Simpleceiver_Plus_DCR_OLED\Simpleceiver_Plus_DCR_OLED.ino:73:0:<br /><br />C:\Users\MIchael\Documents\Arduino\libraries\Si5351Arduino/si5351.h:283:7: note: void Si5351::init(uint8_t, uint32_t, int32_t)<br /><br /> void init(uint8_t, uint32_t, int32_t);<br /><br /> ^<br /><br />C:\Users\MIchael\Documents\Arduino\libraries\Si5351Arduino/si5351.h:283:7: note: candidate expects 3 arguments, 1 provided<br /><br />Simpleceiver_Plus_DCR_OLED:174: error: no matching function for call to 'Si5351::set_freq(int_fast32_t&, long long unsigned int, si5351_clock)'<br /><br /> si5351.set_freq(rx , SI5351_PLL_FIXED, SI5351_CLK0);<br /><br /> ^Anonymoushttps://www.blogger.com/profile/14966267524477173903noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-81122090889013228632017-12-06T13:26:26.570-05:002017-12-06T13:26:26.570-05:00Guten Abend DuWayne,
I emailed the sketch. Yes it...Guten Abend DuWayne,<br /><br />I emailed the sketch. Yes it is an original N6QW one.<br />72s sTef DM5TUDM5TUhttps://www.blogger.com/profile/09094631147486564061noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-981702645711307522017-12-06T12:58:51.635-05:002017-12-06T12:58:51.635-05:00Can you tell me which sketch you are using. I loo...Can you tell me which sketch you are using. I looked at all the ones I put in the dropbox folder and could not find where A3 was used. That was in Pete's original sketch and all references to A3 have been commented out or changed to reference the defined ENCODER_BTN.<br /> DuWaynehttps://www.blogger.com/profile/11286645084920270476noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-52574181768438245702017-12-06T05:35:27.532-05:002017-12-06T05:35:27.532-05:00It was more than that.
I needed to dig in deeper i...It was more than that.<br />I needed to dig in deeper into the sketch.<br /><br />Your advise is normally not an issue for me.<br /><br />And with this change I had no succsess. When I do the software change the encoder switch does not respond when connecting the cable to PIN 3 (advised the ENCODER_BTN to D4 (with 4)).<br /><br />Even with the build on encoder that leads to no more functinal switch..<br /><br />Seems like it stays advised to PIN A3.<br /><br /><br />So a deeper look into the sketch I found that part.<br /><br />---------<br />}<br />buttonstate = digitalRead(A3);<br />if(buttonstate == LOW) {<br /><br />---------------<br /><br />Yes, when I here change (A3) to (4) than it works... Whitout this no chance. <br /><br />Thanks for keep me going back into it to have a more deeper look at the software.<br /><br />Any thoughts on that, DuWayne? If not OK. 72 de sTef DM5TUDM5TUhttps://www.blogger.com/profile/09094631147486564061noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-3061486560235195552017-12-06T05:30:32.789-05:002017-12-06T05:30:32.789-05:00This comment has been removed by the author.DM5TUhttps://www.blogger.com/profile/09094631147486564061noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-90703091305721648202017-12-05T20:27:15.521-05:002017-12-05T20:27:15.521-05:00In the sketch find the definitions for the encoder...In the sketch find the definitions for the encoder pins<br />// used by rotary encoder<br />#define ENCODER_B 2 // Encoder pin A<br />#define ENCODER_A 3 // Encoder pin B<br />#define ENCODER_BTN 4 // Emcoder push buttom<br /><br />And then change the #define ENCODER_BTN 4 to<br />#define ENCODER_BTN A3 or whatever pin you are using.<br /> DuWaynehttps://www.blogger.com/profile/11286645084920270476noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-32236019168452185122017-12-05T06:13:45.764-05:002017-12-05T06:13:45.764-05:00Hi Wayne, its me again.
I have a question about ...Hi Wayne, its me again. <br /><br />I have a question about some changes I need to make to your sketch and I do not get it done. <br />For my NorCal40a build I am planning to put in the DDS VFO. <br />As I am using a front panel encoder I have to use the encoder interface you put on your board. So far so good. I have all working but not thr use of PIN 4 (D3) encoder interface. My encoder SW uses A3 for the push switch. <br />This I do not get changed in your sketch.<br /><br />Please tell me, what do I have to do to make the change because I would like to use the encoder interface 100%.<br /><br />Thanks for your time, thoughts and help. 72 de sTef from your old "Base" arcoss the pond.DM5TUhttps://www.blogger.com/profile/09094631147486564061noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-15726792355895417492017-11-08T12:56:41.367-05:002017-11-08T12:56:41.367-05:00Thanks DuWayne... Big time. We had to make some mi...Thanks DuWayne... Big time. We had to make some minor changes in the sketch concerning the PIN numbers. Over all a great project. More boards are ordered from China. Lets see. 72/3 de sTef DM5TU/VY1QRPDM5TUhttps://www.blogger.com/profile/09094631147486564061noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-19062639898143523812017-11-08T10:50:52.333-05:002017-11-08T10:50:52.333-05:00Power is applied at JP1. Anything from about 7 to...Power is applied at JP1. Anything from about 7 to 12 volts will be OK. I don't like to put more than 12 volts on the Arduino, its regulator gets quite warm above that. The board was designed so it could be used with batteries, or used in a line operated system. If it is powered by batteries, you can use the optional voltage divider to measure the battery level. If it is line operated, you do not need to add them to the circuit.DuWaynehttps://www.blogger.com/profile/00436543609656334663noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-90502259924154529052017-11-08T06:34:17.778-05:002017-11-08T06:34:17.778-05:00Good Morning DuWayne,
I am on the move of complet...Good Morning DuWayne,<br /><br />I am on the move of completing the first PCB. I am just putting the SMD parts on the board. One question is rising about where to power up the board. I see the the marking 9-12 V (JP1) on the board but you are pointing out that the Rs 4k7 and 1k are optional for the battery read out. My thought was that I could power the board via JP1 from 9-12V. Please give me your advise how to power the board without burning it up in smoke. THANKS es 72/3`s de sTef DM5TU /VY1QRPDM5TUhttps://www.blogger.com/profile/09094631147486564061noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-40944202640386395872017-10-20T02:04:05.441-04:002017-10-20T02:04:05.441-04:00Thank you, DuWayne. Parts are ordered in size 1206...Thank you, DuWayne. Parts are ordered in size 1206. I need to practice SMD soldering. Did some soldering yesterday. To all newcomers to SMD/SMT soldering here is my hint. Read here: http://www.applied-mathematics.net/robotics/SMT-GuideV1-3.pdf Have fun and melt some solder.... 72/3`de sTef DM5TU / VY1QRP DM5TUhttps://www.blogger.com/profile/09094631147486564061noreply@blogger.comtag:blogger.com,1999:blog-7702184209705146469.post-45801871293301387122017-10-19T11:58:41.410-04:002017-10-19T11:58:41.410-04:00The board layout is for 1206, but 805 will fit as ...The board layout is for 1206, but 805 will fit as well. You could even use through hole capacitors with .1" lead spacing. For the resistors 1/4 watt bent in a hairpin shape will also fit.DuWaynehttps://www.blogger.com/profile/00436543609656334663noreply@blogger.com