Keyboard Shortcuts
Likes
Search
W8TEE TFT/ VFO DISPLAY BOARD BOARD
Jack, Cant find anywhere to select the frequency time stepping. |
||
Jack Purdum
Some of your encoder questions are answered in the manual. The resistor isn't needed as I use the pull-ups in the MEGA. The 0.1uF caps are for debouncing. They probably are not needed either. If you look at the schematic, you'll see that OUT2 puts out a stronger signal that OUT because of U2. Right now, the frequency increment is set in the code at 250 Hz. I'm trying to figure out an easy way to add another State so that it can be set at runtime. I may toggle the License-Mode field on the display. I'm open to ?suggestions. If you connect the display voltage pin to your voltage source, it will flash one or two times at power up, but will only update itself if there is a measurable change in the supply voltage. My guess is that you don't have yours tied to either ground or a voltage divider. As a result, the pin is floating which is read as a new voltage which triggers a screen update.I had mine running several hours last night and it never varied enough to update the field.? The swishing sound when tuning is very bothersome and it must have something to do with the encoder code. One of the things I'll work on this week is writing different encoder code to see if I can get rid of it. Perhaps ditching the library altogether and handling it myself will work. Right now, I'm not sure what's causing that problem. There are still a lot of things to implement in the code (AGC, S meter, speech compression, CW mode) and some of those I can't do anything about until Dennis finishes his work. Unfortunately, he lives in the high desert in CA and it's been over 110 every day for the past 3 weeks and almost as hot in his shack. We'll just have to be patient about that. I would think that some of the changes that Allard has done in the CW realm could be added to my code until I get things done. I have not gone through Allard's code to make sure my pin assignments don't conflict with his. I'll look at that this week, too. All of this is sort of the bad news. The good news is it's worth every penny you paid for it!! ?:>) Jack, W8TEE From: Joe <joeman2116@...> To: [email protected] Sent: Sunday, July 9, 2017 2:42 PM Subject: [BITX20] W8TEE TFT/ VFO DISPLAY BOARD BOARD Jack,
Got the board together , all aligned and tested - voltages good. ? Loaded the sketch - Display looks fine. Tuned the VFO and display frequency moves. Some observations / issues are: Every time the display voltage updates, it flashes the screen and makes a" tsssh" sound on the speaker. I have a 12v regulated and highly filtered power supply which i use on all my bitx40 and it sounds good - so not ?the power supply. Cant find anywhere to select the frequency time stepping.
Which connection is used for the vfo input to bitx40? ? out2? ?SQR? I tried them all and get the most noise from out2? In the picture of the rotary encoder, (i used the same one) I notice some capacitors and 1 resistor? looks like a 10k The encoder seems to work well without them but was wondering why you had the extra components, and where are they connected and what the values are? All is off to a good start, just working thru it paces.. Thanks Joe VE1BWV |
||
Jack, Thanks for the info. We certainly appreciate your skills and determination you and your partner are putting towards this project. From the user end ,its all about tackling one at a time and seeing if it works.? Hopefully we provide feedback which identifies an issue, as well as when features are working well. Thanks On Sun, Jul 9, 2017, 4:25 PM Jack Purdum via Groups.Io <econjack=[email protected]> wrote:
|
||
Jack Purdum
Joe: I definitely need the feedback, as I tend to look at things from my perspective and it may be totally out of sync with what needs to be done. I will likely implement Fast Tune for my system, but might still have several discrete increments. In other words, when spinning the encoder quickly, code senses the speed up and automatically sets the increment to 100khz. As your approach your target frequency, it drops back to the default increment. A push button switch, perhaps on the top of the case, might work best for changing the default increment changes...cheap and easy to do. The push button would change the default increment when used with Fast Tune, too. That one reason I love having that forest of pins to play with...it so easy to add stuff! I also posted the latest schematic, too. One the next iteration, I think we will add a polarity protection diode. Other than that, I don't see the board changing much. Jack, W8TEE From: Joe <joeman2116@...> To: [email protected] Sent: Sunday, July 9, 2017 4:20 PM Subject: Re: [BITX20] W8TEE TFT/ VFO DISPLAY BOARD BOARD Jack,
Thanks for the info. We certainly appreciate your skills and determination you and your partner are putting towards this project.
From the user end ,its all about tackling one at a time and seeing if it works.? Hopefully we provide feedback which identifies an issue, as well as when features are working well.
The voltage display- ok makes sense. I do not have the resistors hooked . Vfo freq step - Maybe use the voltage display area? to show 100hz 1khz 10khz 100khz etc As this feature will be used a lot, it should be quickly acessable. Maybe a long press on the rotary switch for vfo time step mode and 3 quick clicks to return to normal display. Or just a seperate button for vfo freq time step. Thanks
Joe VE1BWV On Sun, Jul 9, 2017, 4:25 PM Jack Purdum via Groups.Io <econjack=[email protected]> wrote:
|
||
Hi Jack
I have my board built and running with the latest code, however turning the rotary encoder does not move the frequency from 7.200 (I have tried 3 different encoders with same result). ?Pressing the encoder switch moves it to SW1, but further presses do nothing. I have not connected the VFO to the BITX yet, i dont recall seeing a connection diagram anywhere, i must have missed it. Does the VFO need to be connected to the BITX for the frequency to change and the switch to behave properly? 73, Charlie GI4FUE |
||
Jack Purdum
No, it should be changing without being connected to the main board. It sounds to me like the connections from the encoder to the PCB are on the wrong pins. CHeck those and make sure they are correct. You can download the latest schematic for the board from the Files section of the group. Jack, W8TEE From: Charlie Morrison <charlie@...> To: [email protected] Sent: Sunday, July 9, 2017 4:42 PM Subject: Re: [BITX20] W8TEE TFT/ VFO DISPLAY BOARD BOARD Hi Jack I have my board built and running with the latest code, however turning the rotary encoder does not move the frequency from 7.200 (I have tried 3 different encoders with same result). ?Pressing the encoder switch moves it to SW1, but further presses do nothing. I have not connected the VFO to the BITX yet, i dont recall seeing a connection diagram anywhere, i must have missed it. Does the VFO need to be connected to the BITX for the frequency to change and the switch to behave properly? 73, Charlie GI4FUE |
||
¿ªÔÆÌåÓýDr. Jack, W8TEE,? I have searched just about everywhere I can think, here, there and over there¡ Are any of your boards available? Enough for a group buy?? Are the details still what they were a month or more ago, because thats the last info I can find, and I can't make sense if you ran out or have more? We are also looking at the upcoming AA, more than serious, we are using Arduino Projects for Ham Radio, probably going to go next to that ¡®C¡¯ book. Our group has a dozen BitX¡¯s either in hand or on order, and probably more real soon.? I would love to be working with this, have to figure out how to get your board. Craig KM4YEC ?( @ ) g m a i l?
|
||
Jack Purdum
I'm selling the board for $7.50 pp. I have a bunch left as I think my club will do a build of it. I have uploaded a new assembly manual, schematic, and source code in the group's Files section. Since I just did it, sort the list by date and I should be close to the top. QRPGuys.com is selling the AA PCB board. It's not a kit...just the board. Note that both projects use the Mega 2560 Pro Mini. The one from Banggod will NOT work, as it's pins are off by 0.10". I use eBay #162264493523. If you want a board, use PayPal and my account is econjack@.... Make sure you leave a shipping address. I can give you a better price if you order 10 or more. Jack, W8TEE From: Craig Thibodeaux <km4yec@...> To: [email protected] Sent: Sunday, July 9, 2017 10:26 PM Subject: Re: [BITX20] W8TEE TFT/ VFO DISPLAY BOARD BOARD Dr. Jack, W8TEE,? I have searched just about everywhere I can think, here, there and over there¡ Are any of your boards available? Enough for a group buy?? Are the details still what they were a month or more ago, because thats the last info I can find, and I can't make sense if you ran out or have more? We are also looking at the upcoming AA, more than serious, we are using Arduino Projects for Ham Radio, probably going to go next to that ¡®C¡¯ book. Our group has a dozen BitX¡¯s either in hand or on order, and probably more real soon.? I would love to be working with this, have to figure out how to get your board. Craig KM4YEC ?( @ ) g m a i l?
|
||
¿ªÔÆÌåÓýDr. Jack, W8TEE,? Thanks for the reply and clarifications. ? I have been reading and scouring thru each and every email as they pop up on this group and the soft group, its not like drinking from a firehose, more like a spillway gates are open, so many great directions and great minds to draw from. ? I had understood the other details you mention, already had both versions saved and ready to put to work, I just wasn¡¯t sure you still had boards. I understand none of this is a kit, I built a couple of Heathkits back in the mid 80¡¯s. ?I explain all of this as being a platform to experiment with. ?It will be a group buy, we meet twice this week, so I will get a good number for the buy. ? Keep on coding, I used to code on AS/400¡¯s real near you¡.all over Cincinnati area¡I thought that neuro domain was gone, Arduinos have opened up that world again, of me, in bite sized chunks that I can handle, no more 20k mainlines possible for me. ?Having a lot of fun. Starting from scratch all over again. Books work real good for me, that¡¯s why I have yours. ?Since I don¡¯t have short term memory worth anything, these online mazes are really tough. I will be making an order by the end of the week. Craig KM4YEC
|
||
On Sun, Jul 9, 2017 at 01:42 pm, Charlie Morrison wrote:
I have my board built and running with the latest code, however turning the rotary encoder does not move the frequency from 7.200 ..... Hi Charlie; did you change the Bandend to 7200 for Europe? If you did so, you have also change line 1417. 73, Matt DH2LAB |
||
Jack Purdum
Usually, failure is because the clock and data lines are not connected to the proper I/O lines on the controller. What type of encoder are you using? Jack, W8TEE From: DH2LAB <dh2lab@...> To: [email protected] Sent: Friday, July 14, 2017 6:38 AM Subject: Re: [BITX20] W8TEE TFT/ VFO DISPLAY BOARD BOARD On Sun, Jul 9, 2017 at 01:42 pm, Charlie Morrison wrote: I have my board built and running with the latest code, however turning the rotary encoder does not move the frequency from 7.200 ..... Hi Charlie;
did you change the Bandend to 7200 for Europe? If you did so, you have also change line 1417.
73, Matt DH2LAB
|
||
¿ªÔÆÌåÓýHi Matt ? No, I just compiled the latest version of the code and the default seems to be 7.200. I think I have a problem with the DDS which I got from China, There is no output L ? 73, Charlie GI4FUE ? From: [email protected] [mailto:[email protected]] On Behalf Of DH2LAB ? On Sun, Jul 9, 2017 at 01:42 pm, Charlie Morrison wrote:
Hi Charlie; did you change the Bandend to 7200 for Europe? If you did so, you have also change line 1417. 73, Matt DH2LAB ?
? |
||
¿ªÔÆÌåÓýHi Jack ? I am using a KY040 connected to the correct pins¡I get the feeling I have an issue with the DDS because if I remove it, the code behaves in the same way without it. Unfortunately I do not have another to prove or disprove. ? 73 de Charlie GI4FUE ? From: [email protected] [mailto:[email protected]] On Behalf Of Jack Purdum via Groups.Io
Sent: 14 July 2017 14:11 To: [email protected] Subject: Re: [BITX20] W8TEE TFT/ VFO DISPLAY BOARD BOARD ? Usually, failure is because the clock and data lines are not connected to the proper I/O lines on the controller. What type of encoder are you using? ? Jack, W8TEE ? From: DH2LAB <dh2lab@...> ? On Sun, Jul 9, 2017 at 01:42 pm, Charlie Morrison wrote:
Hi Charlie; did you change the Bandend to 7200 for Europe? If you did so, you have also change line 1417. 73, Matt DH2LAB ? ?
|
||
hmm... I had a blocking Display at 7200 too when I change the bandend to 7200 because I have forgotten to change Line 1417. :-D ? Good luck and success! (and maybe a quick delivery of a new DDS...) 73 de Matt, DH2LAB ? |
||
Jack Purdum
If you have a scope, connect it to OUT2 on the board. You should see a sine wave. Jack, W8TEE From: Charlie Morrison <charlie@...> To: [email protected] Sent: Friday, July 14, 2017 3:12 PM Subject: Re: [BITX20] W8TEE TFT/ VFO DISPLAY BOARD BOARD Hi Jack ? I am using a KY040 connected to the correct pins¡I get the feeling I have an issue with the DDS because if I remove it, the code behaves in the same way without it. Unfortunately I do not have another to prove or disprove. ? 73 de Charlie GI4FUE ? From: [email protected] [mailto:[email protected]] On Behalf Of Jack Purdum via Groups.Io Sent: 14 July 2017 14:11 To: [email protected] Subject: Re: [BITX20] W8TEE TFT/ VFO DISPLAY BOARD BOARD ? Usually, failure is because the clock and data lines are not connected to the proper I/O lines on the controller. What type of encoder are you using? ? Jack, W8TEE ? From: DH2LAB <dh2lab@...> To: [email protected] Sent: Friday, July 14, 2017 6:38 AM Subject: Re: [BITX20] W8TEE TFT/ VFO DISPLAY BOARD BOARD ? On Sun, Jul 9, 2017 at 01:42 pm, Charlie Morrison wrote:
Hi Charlie; did you change the Bandend to 7200 for Europe? If you did so, you have also change line 1417. 73, Matt DH2LAB ? ?
|
||
Jack Purdum
My bad...and stupid. If you changed the symbolic constants up near line 121 and 122, then use the following at lines 1415-1418 ? ? ? ? ? if (flag == -1) { ? ? ? ? ? ? ? ? ? // Too low ? ? ? ? ? ? currentFrequency = VFOLOWERFREQUENCYLIMIT; ? ? ?// Set to min ? ? ? ? ? } else { ? ? ? ? ? ? currentFrequency = VFOUPPERFREQUENCYLIMIT ?; ? ? ?// Set to max ? ? ? ? ? } That's the first stupid thing I've done since lunch... Jack, W8TEE From: DH2LAB <dh2lab@...> To: [email protected] Sent: Friday, July 14, 2017 3:35 PM Subject: Re: [BITX20] W8TEE TFT/ VFO DISPLAY BOARD BOARD hmm... I had a blocking Display at 7200 too when I change the bandend to 7200 because I have forgotten to change Line 1417. :-D
The default is 7030 if no?EEPROM recorded before. You maybe check the librarys as described in the?TFTVFOManual. For checking the display, you can compile and run "graphictest_kbv" in the MCUFRIEND_kbv Directory. ?
Good luck and success! (and maybe a quick delivery of a new DDS...)
73 de Matt, DH2LAB
?
|
||
¿ªÔÆÌåÓýAssuming your DDS is the type that has three rows of seven pins be sure that the jumper at J3 is in place.? Also, not that there is an easy fix, but you might check to be sure it¡¯s an AD9850 and not an AD9851. Mike K5ESS ? ? From: [email protected] [mailto:[email protected]] On Behalf Of Charlie Morrison
Sent: Friday, July 14, 2017 2:07 PM To: [email protected] Subject: Re: [BITX20] W8TEE TFT/ VFO DISPLAY BOARD BOARD ? Hi Matt ? No, I just compiled the latest version of the code and the default seems to be 7.200. I think I have a problem with the DDS which I got from China, There is no output L ? 73, Charlie GI4FUE ? From: [email protected] [mailto:[email protected]] On Behalf Of DH2LAB ? On Sun, Jul 9, 2017 at 01:42 pm, Charlie Morrison wrote:
Hi Charlie; did you change the Bandend to 7200 for Europe? If you did so, you have also change line 1417. 73, Matt DH2LAB ?
? |
||
¿ªÔÆÌåÓýHi Mike ? Thanks for the tips My DDS has jumpers on J1 J2 and J3, and it¡¯s definitely an AD9850 with 3 rows of 7 pins. I have e-mailed the seller in China to see what can be done. I have limited test equipment, but I¡¯m taking it over the weekend to a fellow amateur who has a spectrum analyser to see what it is doing ? 73 de Charlie GI4FUE ? From: [email protected] [mailto:[email protected]] On Behalf Of K5ESS
Sent: 14 July 2017 23:26 To: [email protected] Subject: Re: [BITX20] W8TEE TFT/ VFO DISPLAY BOARD BOARD ? Assuming your DDS is the type that has three rows of seven pins be sure that the jumper at J3 is in place.? Also, not that there is an easy fix, but you might check to be sure it¡¯s an AD9850 and not an AD9851. Mike K5ESS ? ? From: [email protected] [mailto:[email protected]] On Behalf Of Charlie Morrison ? Hi Matt ? No, I just compiled the latest version of the code and the default seems to be 7.200. I think I have a problem with the DDS which I got from China, There is no output L ? 73, Charlie GI4FUE ? From: [email protected] [mailto:[email protected]] On Behalf Of DH2LAB ? On Sun, Jul 9, 2017 at 01:42 pm, Charlie Morrison wrote:
Hi Charlie; did you change the Bandend to 7200 for Europe? If you did so, you have also change line 1417. 73, Matt DH2LAB ?
? |
||
I have found one of the bad things about these AD9850/51 units is that they are
often shipped with a bad crystal. Sometimes. also. they have a 3.3v unit installed and the device is running at 5v. It will run ok for a while, then rather suddenly fail. Note the crystal. Some, but not all are marked for 5v or 3.3v operation. If you have a frequency counter, you can connect it temporarily through a 100 pf. capacitor or so to the output pin of the oscillator, and measure for any output. It should be about 125 MHz for the AD9850 and about 30 MHz for the AD9851. The exact number does not matter; what you are trying to do is verify that the oscillator is working. Quite often, they do not. If it is bad, it is easily replaced by anything from 30 to 34 MHz for the AD9851 and 125 MHz for the AD9850. Try to determine both the working voltage of the device AND the designed voltage for the crystal oscillator. Match them. Then calibrate the combined working unit. I have recovered several bad units in this manner. YRMV. IF a device is not working, it is likely to be a bad solder joint or a bad crystal oscillator. The AD98xx devices themselves are rather rugged. Either can take a 5V supply (but NOT a12v one!). Now, how well they work is another story. I have heard several explanations for this, most commonly a mismatched filter string. john AD5YE |
||
All of the Chinese AD9850 and 9851 boards I've purchased have oscillators made by Taitien whose part numbers start with the letters CET. These are all 3.3v parts. To date I've not found any with bad crystals and I operate them at 5v without any failures so far. I have however heard of failures.
toggle quoted message
Show quoted text
Mike K5ESS -----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of John Backo via Groups.Io Sent: Friday, July 14, 2017 8:33 PM To: [email protected] Subject: Re: [BITX20] W8TEE TFT/ VFO DISPLAY BOARD BOARD I have found one of the bad things about these AD9850/51 units is that they are often shipped with a bad crystal. Sometimes. also. they have a 3.3v unit installed and the device is running at 5v. It will run ok for a while, then rather suddenly fail. Note the crystal. Some, but not all are marked for 5v or 3.3v operation. If you have a frequency counter, you can connect it temporarily through a 100 pf. capacitor or so to the output pin of the oscillator, and measure for any output. It should be about 125 MHz for the AD9850 and about 30 MHz for the AD9851. The exact number does not matter; what you are trying to do is verify that the oscillator is working. Quite often, they do not. If it is bad, it is easily replaced by anything from 30 to 34 MHz for the AD9851 and 125 MHz for the AD9850. Try to determine both the working voltage of the device AND the designed voltage for the crystal oscillator. Match them. Then calibrate the combined working unit. I have recovered several bad units in this manner. YRMV. IF a device is not working, it is likely to be a bad solder joint or a bad crystal oscillator. The AD98xx devices themselves are rather rugged. Either can take a 5V supply (but NOT a12v one!). Now, how well they work is another story. I have heard several explanations for this, most commonly a mismatched filter string. john AD5YE |