Monday, March 5, 2018

Sweeprino Jr revisited Update 3/16/18

Well after three weeks of feeling terrible and not having the ambition to do anything, I finally got over what ever version of the 'flu' I had.  This has put me quite a bit behind in working on the next article in the series of Arduino building blocks for QQ.  Over a year ago I had started on a version of Farhan's Sweeperino project. at  http://hfsignals.blogspot.com/p/sweeperino.html  I knew this would make a great basis for the next article

Since this was  to be a stand alone instrument or connect to a PC to use Farhan's  'Specan.exe' software, I made some changes to my Arduino/display building block.  I changed from a pro-mini to a Arduino Nano.  This gave me the USB interface to a PC, brought out the I2C lines that do not have dedicated pins on the pro-mini.  The Nano also has a heavier duty voltage regulator on the 5 volt line.  This will allow me to run a Adafruit SI5351 board with out having to add additional voltage regulation. I also added a rotary encoder with push button to use as the interface to the software.

Doing the board layout for these changes was very easy.  Mainly because except for the form factor, it is very near to what I did to make the stand alone VFO/BFO board for Pete's Simpleceiver project.  Instead of making my own boards this time, I took advantage of a promotional offer by one of the Chinese board houses.  For a limited time they had offered 10 boards for a little over $5 and free shipping. 
 I couldn't even buy the raw pcb material for that price.  After they arrived and I built one up, I found a small error I had made in the board layout.  One end of a resistor was grounded that should not have been.  After discovering the error, about 30 seconds with a hobby knife took care of the problem.  Also modified the 3D printed case I had designed for earlier projects in the series to fit the new board


I pulled a copy of Farhans sketch, and made changes to use a tft display instead of the 2 line LCD he had in his original unit.  The first cut of the software worked with the PC interface, and a simulated two line  LCD display on the TFT display.  


After making sure everything was working I decided to use the graphic capabilities of the TFT display.  In previous projects, I had used simple bar graphs to give a analog representation of values, to make tuning easier than just a digital value.  I was real happy with the simulated analog meter I came up with for the uBITX, so I incorporated it in the new display screen for the manual operation mode.   I made a few changes to the basic code  so I could also display the actual value as a number along with the analog meter.    Still trying to decide if I want to add a sticky needle in a slightly different color to indicate the peak reading for the last few seconds.  Will only take a couple lines of code, but not sure if it will be necessary.  For the frequency setting display, I decided to show the digit that is changed by the rotary encoder in a different color than the rest of the value.  So a short push on the encoder button moves the active digit around in a circular manor.

Need to do a little more checking of the software so far. Then the only other thing I want to add is a graphic sweep waveform very similar to what I have on my SNA Jr.  Just going to be very basic, so everyone can add any additional functions they want.

Will keep you informed, but I also have to hurry up and write the article for QQ to have it ready for the next issue.  Maybe this time they can get the author correct.

Update 3/16/2018


Finally finished the QQ article on the Sweeperino Jr so far.  I decided to make this two articles instead of just one.  The first one will have the Sweeperino Jr with the same basic functionality as the original.  In the next article, I will add a graphical sweep function similar to the SNA Jr.  I have the latest Eagle file Gerber files , and Arduino sketch in a dropbox folder for any one interested in building one of these.  

https://www.dropbox.com/sh/ek4gfb5ub5l5fqq/AADYkVzSJDmj5pFWmLJ7_vVpa?dl=0

It works quite well, if you understand that there are going to be some issues with harmonics because of the square-wave output.  I am working on a method to get rid of that problem, and mostly finished with the preliminary design for the SNA Jr. version III.  Hope to get around to finishing that in the near future.








13 comments:

  1. DuWayne if you need to sell off the extra boards let me know. I'd take one. I'll follow your work on this project closely. I've been thinking of building one of these for a long time...

    ReplyDelete
  2. Hi DuWayne,

    beste Grusse aus good old Germany. Good to see you back on blog.
    I have one of your projects reaDIY. I will send you some pictures from my DDS VFO. I am now planning tofollow you on your SNA Jr. I am having a hard time to follow up the different revision you made. Up front is there a gerber file which reflects your latest revision on the SNA Jr.?

    Best regards from the EAST SIDE.. 72 de sTef DM5TU / VY1QRP

    ReplyDelete
  3. I generated a set of gerber files from th eagle board layout and have them at
    -https://www.dropbox.com/sh/96evca1vh30gjso/AADhR_3iLxNdaEeJf1O-Acr0a?dl=0

    ReplyDelete
    Replies
    1. I think you omitted the drill files.
      I don't mean to sound ungrateful...
      best regards
      Gerry

      Delete
    2. generated a different cam job they are in the ver 2 board zip file

      Delete
    3. Hi DuWayne...
      This seems to be the board files for the AD9850 SNA Jr rather than the new SI5351 one you have here.
      / Gerry

      Delete
  4. Thanks very much... I will have a look at the files and let you know about the sketch. I will have a closer look at your postings and your dropbox first. If I have any problems finding the SNA Jr, Skectch I will contact you, DuWayne. Merci und DANKE 72 de sTef DM5TU

    ReplyDelete
  5. I don't want to sound ungrateful, but I can't find a schematic to build a bill of materials from. I'm interested in building one, but I can't seem to match up the schematic for your previous version with this si5351 version, or identify the SMD and Through-hole components. If it's not too much trouble, could you point me in the right direction?

    ReplyDelete
  6. DuWayne: It's nice to see that the April 2018 issue of QQ corrected the attribution error for your previous article. But now I see they have misspelled your surname at least three times. You deserve better! --Jerry AA6KI, Tucson

    ReplyDelete
  7. I know I'm late to the party. Finished Ashar's original sweeperino seems to work OK. Decided to upgrade to a TFT display. Got thru most of the error messages when trying to compile but stuck on draw_manual_screen(); not declared in this scope. Take it easy on me I'm just getting my feet wet in Arduino stuff

    ReplyDelete
  8. never mind...found the problem.

    Nice project thanks

    don

    ReplyDelete
  9. Hi DuWayne, I have a quick (I hope :) ) question about the 3D printed case: I can find two STL files in the ZIP archive, the know and the top of the case. There is no STL file for the bottom, but a file named "NANO SWR PWR BOTTOM.AD_PRT". This definitely is not an STL file, so what is it? And, how can I print it? Thanks de K5KHK

    ReplyDelete