Wednesday, August 17, 2016

RFT SEG-100 TRANSCEIVER ARDUINO RIG CONTROL VIA USB/SERIAL PORTS



Main arduino code (sketch) of this project is developed by Richard Visokey AD7C - www.ad7c.com.  Second revision is developed by VK8BN , to adding AD9851 support.

My revisions are:

Revision 3.0 - April, 2016 - AD9851 + ARDUINO PRO NANO + integrate cw decoder (uncontinued version).
Revision 4.0 - May 31, 2016  - deintegrate cw decoder and adding button for band change.
Revision 5.0 - July 20, 2016  - change LCD with OLED display and adding IF frequency support - now ready to control transceiver RFT SEG-100
Revision 6.0 - August 16, 2016  - software terminal support to control rig from computer with USB/serial interface. (Control buttons: 1 - up freq, 2 - down freq, 3 - step increment change, 4 - print state,  also add no_display support in DDS generator, for any computer terminal software.)



The scheme realized with OLED display and needs source code from file: ad9851oled.ino program sketch.
  
SOFTWARE REQUIREMENTS:

You need to install next libraries:

AdafruitGFXLibrary
AdafruitSSD1306
Rotary


HARDWARE REQUIREMENTS:

You should also to use a program to find the hardware address (hardware break) of the display. Usually it is on 0x3C and the program was written for this address, but they are will be other if You have/use other devices with arduino board. If the display don't show anything - this will be one reason. In zip file are special software - i2c_scanner.ino, who can detects the hardware addresses of I2C devices - use it.


 With OLED Display support: 


4 pins are used:

+5V - directly from Arduino 

GND - again from Arduino
A4 - Analog I/O from Arduino to SDA pin on oled display
A5 - Analog I/O from Arduino to SCL pin on oled display.

IF frequency is experimental measured from LSB signal of transceiver on 7 MHz. In  CW working actual frequency is shifted by about 1 kHz.(On CW, what's on the screen is less 1KHts with the actual frequency - if You are in 7005 on the screen, You are actually on 7006 kHz). In this version IF is set hardly, but can be done to change according to the type and scope of work (least according to the scope LSB / USB), which to me now not need. In above of 12 MHz My RFT trx is not tunning, whether for, or because from hardware limitations in LPF or BPF - it's not clear merged, but I'm not think/time to brighten now.


TRANSCEIVER SIDE:

You need to open RFT SEG-100 and unscrewed the top cover is evidence SMC connector (the pictures shown where) and fed directly the signal from DDS to the cable connector.





ARDUINO + AD9851 + DISPLAY 

This schema (with LCD) is developed by AD7C and VK8BN:



CONNECTION OF DDS WITH TRANSCEIVER:

Output from DDS to input of transceiver is realized with this schema:




ALL DATA FILES, PICTURES, LIBRARIES AND SOURCES YOU CAN DOWNLOAD HERE:

https://github.com/LZ1DPN/DDS-RFT-0-30MHz-v1/


ALL PARTS YOU CAN BUY HERE FOR ONLY ~ $21 TO ~$30 

http://www.ebay.com/itm/401090347198?_trksid=p2055119.m1438.l2649&ssPageName=STRK%3AMEBIDX%3AIT
http://www.ebay.com/itm/AD9851-DDS-Signal-Generator-Module-0-70MHz-2-Sine-Wave-and-2-Square-Wave-/311589687675?hash=item488c31517b:g:SGQAAOSwJQdXDIgs
http://www.ebay.com/itm/222113825031?_trksid=p2055119.m1438.l2649&ssPageName=STRK%3AMEBIDX%3AIT

73 ES MNI DX'es!LZ7DP