Difference between revisions from 2020/08/31 15:23 and 2020/08/31 15:23.
[New[Wiki for new revision 4 -->|https://remoteqth.com/w/doku.php?id=usb_rotator_interface_4]4|https://remoteqth.com/w/doku.php?id=usb_rotator_interface_4]
[<-- Web page|https://remoteqth.com/single-rotator-interface.php]
[Components of Multi rotator controller server|https://remoteqth.com/remote-multi-rotator-control.php]
[Order|https://remoteqth.com/order.php#rotator-interface]
!! Previous version
[3.2|Rotator module version 3.2] | [3.1|Rotator module version 3.1] | [3.0|Rotator module version 3.0] | [2.1|Rotator module version 2.1] | [2.0|Rotator module version 2.0]
!!Circuit diagram
*[.SVG|https://remoteqth.com/hw/rotator_interface_33.svg]
*[.PDF|https://remoteqth.com/hw/rotator_interface_33.pdf]
!!Planting plan
* PCB 3D View [https://remoteqth.com/img/3d-glasses.png|noborder] [8MB|https://remoteqth.com/x3d-preview.php?x3d=rotator-interface-33]
[https://remoteqth.com/img/wiki-rotator-interface-plan_33.png]
[https://remoteqth.com/img/wiki-rotator-interface-plan2_33.png]
!!Part list
| Main and LCD PCB | two PCB |
| C1,C2,C3,C4,C5, C6 | capacitor 4n7 |
| D1,D2,D3,D4 | diode 1n4148 |
| L1 | inductor 150uH |
| L2 | inductor 220uH |
| R1,R2,R3,R5 | resistor 1k |
| R9 | resistor 4k7 |
| R4,R6,R7,R8 | resistor 510R |
| RV1 | potenciometer 1k |
| Q1,Q2,Q3 | transistor BC547 |
| S1,S2,S3 | LED switch |
| RL1,RL2,RL3 | Relay |
| U1 | LCD 16X2 |
| U3 | preset encoder with knob |
| J1 | DB15-F + DB15-M |
| CON1 | pin array 5x2 |
| P2+P1, P3+P4 | strip 9+13 pins 90° |
| P5 | pin array_3x2 |
| P6, JP1 | pins + jumper|
| U2 | Arduino nano 3.0 + socket |
!!Assembly gallery
[https://remoteqth.com/img/wiki-rot33-1.jpg]
✔ All components
[https://remoteqth.com/img/wiki-rot33-2.jpg]
❏ Solder R4 R6 R7 R8 (marked in blue)
[https://remoteqth.com/img/wiki-rot33-3.jpg]
❏ 13 and 9 pins 90° strip
[https://remoteqth.com/img/wiki-rot21-3.jpg]
❏ 16 pins strip to LCD
[https://remoteqth.com/img/wiki-rot30-4.jpg]
❏ Insulating spacer washers between LCD and PCB
[https://remoteqth.com/img/wiki-rot33-4.jpg]
❏ LCD module to PCB
[https://remoteqth.com/img/wiki-rot33-5.jpg]
❏ CW, CCW and START switch (marked in blue) and preset encoder, Now front panel is final
[https://remoteqth.com/img/wiki-rot33-6.jpg]
❏ Next R1 R2 R3 R5 (marked in black) and R9 solder on main board
[https://remoteqth.com/img/wiki-rot33-7.jpg]
❏ D1 D2 D3 D4 (marked in red)
[https://remoteqth.com/img/wiki-rot33-8.jpg]
❏ L1 (marked in green) R9 (marked in red)
[https://remoteqth.com/img/wiki-rot33-9.jpg]
❏ Q1 Q2 Q3 and Arduino socket
[https://remoteqth.com/img/wiki-rot33-10.jpg]
❏ C1 C2 C3 C4 C5 and C6
[https://remoteqth.com/img/wiki-rot33-11.jpg]
❏ JP1 P6 CON1
[https://remoteqth.com/img/wiki-rot33-12.jpg]
❏ L2 RV1
[https://remoteqth.com/img/wiki-rot33-13.jpg]
❏ RL1 RL2 RL3 J1
[https://remoteqth.com/img/wiki-rot33-14.jpg]
❏ solder front panel via pin strip
[https://remoteqth.com/img/wiki-rot33-15.jpg]
[https://remoteqth.com/img/wiki-rot33-16.jpg]
❏ Last solder Arduino Nano pins
[https://remoteqth.com/img/wiki-rot-case-8b.jpg]
❏ Plug Arduino Nano to socket U2
❏ after power up, {.redka#id color: #f00;}'''preset LCD contrast'''{/} with potentiometer RV1
!!Single unit enclosure
[https://remoteqth.com/img/wiki-rot-case-1.jpg|link=Single rotator unit enclosure]
[Assembly instructions|Single rotator unit enclosure]
!!Firmware
For beginners [Getting Started with Arduino|https://arduino.cc/en/Guide/HomePage]
# Download and install [Arduino IDE|https://www.arduino.cc/en/Main/Software]
# Install [library|https://www.arduino.cc/en/guide/libraries]
# Download firmware from master tree [Web|https://blog.radioartisan.com/yaesu-rotator-computer-serial-interface/] | [GitHub|https://github.com/k3ng/k3ng_rotator_controller].
## requires disable in rotator_features.h (TNX GI1MIC){{#define DEBUG_DUMP}}
# Or '''download preconfigured version'''
## [2019-01-03.zip|https://remoteqth.com/download-count.php?Down=sw/k3ng-arduino-rotator-interface-2019-01-03.zip] (TNX GI1MIC)
## [2015-02-24-4RQ.zip|https://remoteqth.com/download-count.php?Down=sw/k3ng-arduino-rotator-interface-2015-02-24-hack4rq.zip] - modified version for used with RemoteQTH server web interface.
## [2015-02-24.zip|https://remoteqth.com/download-count.php?Down=sw/k3ng-arduino-rotator-interface-2015-02-24.zip]
## ''[2014-07-08.zip|https://remoteqth.com/download-count.php?Down=sw/k3ng-arduino-rotator-interface-2014-07-08.zip]''
## ''[2013-10-26.zip|https://remoteqth.com/download-count.php?Down=sw/k3ng-arduino-rotator-interface-2013-10-26.zip]''
# Configure by author '''[documentation|https://github.com/k3ng/k3ng_rotator_controller/wiki]''' - contains the settings of your rotator, such as azimuth range, etc.
## Version 2019-01-03 - If do not show degree character (°), change in file rotator_settings.h settings to{{#define DISPLAY_DEGREES_STRING "\xB2"}}
## Version 2015-02-24 - If the LCD displays instead of the character degree (°) lower case "alpha" (α), find in source code all string 'char(223)' and replace to 'char(178)'.''
# Connect '''USB cable''' cable between interface and PC
# Select menu Tools/Board:'''Arduino Nano'''
# Select menu Tools/Processor: '''ATmega328P (Old Bootloader)'''
# Select menu Tools/Port/YOUR-CONNECTED-PORT
# Upload firmware
!!!Third party software
* [Button test from KO2F|https://remoteqth.com/sw/ButtonTest.ino]
!Power
Power inputs are available on both connector CON1 and DB15-J1.
| Power inputs | CON1 | '''DB15-J1''' |
| AC | pin 9+10 | '''pin 9+10''' |
| DC | pin 7+8 | '''pin 7+8''' |
| +5V | pin 3+4 | '''pin 15''' |
| GND | pin 1+2 | '''pin 5+6''' |
* '''5V''' - the entire module can be powered from USB only, but there is a voltage drop, it is better to use an external +5V source, or a DC/DC converter and cut the power to the attached USB cable.
** [DC/DC switch add-on|https://www.ebay.at/itm/371807390618] for stable 5V power from USB
* '''CON1''' is for power distribution if use with Rapsberry PI gpio board in server.
** In sigle interface it is used only phase jumper (Pin 5+6) and short 3+4. All other pins available also in DB15-J1 connector - see on schematics.
** Pin 3 in CON1 (+5 volts input to supply measure the azimuth)- input stabilized voltage from [power board|https://remoteqth.com/wiki/index.php?page=Raspberry+PI+GPIO+interface+board] This pin may be short connected (as picture below) with pin4 CON1 (+5 volts to interface), then the voltage measurement uses a common 5V voltage from the power supply module.
!Connect DC Rotator (DB15 female) and power inputs
[https://remoteqth.com/img/wiki-rotator-interface-dc_32.png|noborder]
*'''Need three jumper'''
** short DC position P6 jumper switch
** short JP1 jumper
** short PHASE-SW pin 5+6 (center) position CON1
** short +5V pin 3+4 CON1
!Connect AC Rotator (DB15 female) and power inputs
!!Diagram for the common AC and +5V ground
[https://remoteqth.com/img/wiki-rotator-interface-ac_32.png|noborder]
*'''Need one jumper'''
** short AC position P6 jumper switch
** short +5V pin 3+4 CON1
!!Diagram for the different AC and +5V ground
[https://remoteqth.com/img/wiki-rotator-interface-ac2_32.png|noborder]
*'''Need one jumper'''
** short AC position P6 jumper switch
** short +5V pin 3+4 CON1
! Connection examples
* [Bypass original controller G450]
!!Use with original control box
* [OH3BHX firmware for G400RC|https://github.com/mikaelnousiainen/k3ng_rotator_controller/commit/037f54114cae951ed711b09a7eff2f339c1fe19e] and [connection|https://remoteqth.com/img/rot3_G-400_by_OH3BHX.jpg]
* [Yaesu G-5400B]
* [Yaesu G-2800DXA]
* [DF2LH solution with Kenpro G800-1000SDX|https://remoteqth.com/img/wiki-df2lh-kenpro-g800-1000sdx-v1.3.gif]
* [Yaesu G800|https://remoteqth.com/img/wiki-yaesu-g800.png]{{pin DB15 G800 unit
-------------------------
1+2 -> 5
3+4 -> 4
15 -> 1
14 -> 2
GND -> 3}}
!!CDE/HyGain HAM IV (grounded center potentiometer)
* [Resolving without compromise|Solutions for HAM IV rotator - remove ground center and connect new wire] - mechanically remove grounded center and connect by [three wire|https://remoteqth.com/img/wiki-ac2-rotator.svg]
* [Solutions by VA2NA|Solutions for HAM IV rotator by VA2NA] - external add-on
* [Solutions by DM2RM|Solutions for HAM IV rotator by DM2RM] - external add-on
* [Add resistor|https://remoteqth.com/img/wiki-ac-rotator.svg] with grounded two wire potentiometer - this solutions produce '''nonlinearity voltage.''' You can use [calibration table|https://github.com/k3ng/k3ng_rotator_controller/wiki/500-Heading-Calibration] - is not recommended.
!!Ten turn azimuth potentiometer (one turn used)
* Need negative and positive voltage source
* Set potentiometer bridge from 0 to +5V output
**'''Left''' trimmer set a '''0V''' after full '''CCW''' rotate
**by '''right''' trimmer, set the '''+5V''' after full '''CW''' rotate
**Repeat until the voltage agree
* [Circuit|https://remoteqth.com/img/wiki-rotator-bridge.svg]
!Control software
* [PstRotator|https://www.qsl.net/yo3dmu/index_Page346.htm] for Windows
* [RemoteQTH server|https://remoteqth.com/wiki/index.php?page=Rotators] image for Raspberry PI - web interface
* [gRotor|https://github.com/dfannin/grotor]
* Even software supporting Yaesu GS-232 protocol...