Jump to content

NLCbanner2024.jpg.2478be509670e60c2d6efd04834b8b47.jpg

Tonyjl

New Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Tonyjl

  1. On 23/04/2019 at 14:01, stash_old said:

    UDP does not normally use  the same UDP port to send and receive data.

    Synscan App Pro sends on 11880  but listens on what ever port it creates ,as a client, and this is the port that the remote UDP server/client must respond on. Plus the UDP message must contain the whole message - no fragmenting allowed.

    Quotes from dev manual(s)

    "6. Wi-Fi Connection
    The same protocol runs on the SynScan Wi-Fi dongle or mount with built-in Wi-Fi module.
     The Wi-Fi dongle/module runs a UDP server and listen to UDP port 11880 to accept commands
    from host.
     The command must be sent in a single UDP package; the response is also included in a single
    package.
     When the Wi-Fi dongle/module works in access point mount, its IP address is 192.168.4.1. If it
    runs in station mode, the router that it links to allocates its IP address.
    6. Useful Resources
     Sample Code: https://code.google.com/archive/p/skywatcher/
     Documents: http://www.skywatcher.com/download/manual/application-development/"

    The SW AZ GoTo mount seem's to be a problem ( I have 2) depending on the board version (think mine are v2.9 and v3.5)  - my original prototype worked on one by not the other but I am told that putting the resistor in ,as you have done , corrects the "problem" - I just never tried it as I had moved on.

    As for your aims below why not just use Indi (or Gphoto2 to be more precise) and use a RPI - a RPI Zero(w) will run Gphoto2 and mount control via normal serial adapter . It does assume a Gphoto2 supported camera !

    Ok, with this hint I finally cracked it!

    The magic line in Arduino was to define the remote port as follows:

    unsigned int remoteport = udp.remotePort();

    Though, the connection is not that stable? Aligning goes without problems, but long slews tend to cause hiccups. Any cures for this?

    I tried Indi and gphoto. Indi is complicated and gphoto does not really work with Sony cameras. 

     

  2. On 03/09/2018 at 00:51, _Zoltan said:

    Hi stash_old,

    Nice achievement! But I can't replicate it :(

    You said that you connect directly to the mount - what mount you use? I have a SW Synscan AZ goto without hand controller and it won't work. I've traced the TX/RX lines from the two PIC16f886 inside, and it looks only the RX is wired to the connector. The TX pin is trough a diode wired back to RX pin, and both RX-es are connected in parallel.

    The Synscan app is sending :e1 string on connection. I've tried connecting the RX/TX from the USB-serial (TTL) parallel via 1k resistor, it only "hears" what was sent from the computer - no response from the mount.

    Later I'll try to check with logic analyzer but I doubt anything will come out of it.

    Z

    I got the app to send the :e1 to the mount and the mount replies =020401CR but after that, it's all silence. The SynScan Pro app just does not recongnize the reply? And I can't work out why.. And if I use serial instead of UDP over Wifi, the link works flawlessly. One possibility is that the Synscan Pro app listens a different UDP port than it's sending over. (Not 11880)

    I've used the roboremo esp32 code and tried modifying it with no luck.

    The plan is to use esp32 Wifi for the UDP-Serial link and bluetooth serial to control the camera shutter over manual release cable and optoisolators.. 

     

  3. I also tested HC-12, a 433Mhz serial modem, cost about 5USD and the USB version a few dollars more. Works great and is 5V. If someone needs a longer range, this works up to a mile.

    Has someone gotten the Synscan Android or Windows app to work with the shutter release feature? It does not seem to work with HEQ5. What about the multi-purpose port on the Synscan handheld?

    My goal is remote shutter for a Sony A7..

  4. On 02/03/2019 at 06:34, R26 oldtimer said:

    No, as I said I never bothered with the esp, maybe because my programming skills go as far as setting the alarm clock...?

    I meant the DT-06.. Did it work out of the box after configuration? The ebay page says it's even 5V compatible.

  5. On 27/02/2019 at 19:44, R26 oldtimer said:

    Before coming across the dt-06 board, I had found this, by advice of @john78.

    https://github.com/AlphaLima/ESP32-Serial-Bridge/wiki

    In fact, I had even orderer an esp32 board, but the dt-06 was much simpler, no programming and even cheaper, so I went with the later.

    Did you already get it working? I managed to find a code which supports UDP for ESP32 but the Android app just will not connect?

    https://github.com/roboremo/ESP8266-WiFi-UART-Bridge/blob/master/v1.1/sketch_esp_WiFi_UART_Bridge.ino

  6. On 26/01/2019 at 17:36, stash_old said:

    Is the software for this open source? Can someone find it? I didn't. Or is there another ESP32 compatible Wifi to serial bridge software which supports UDP?

    It could be flashed onto an ESP32 and be simply used with a level shifter.

  7. Hello everybody!

     

    You can also easily make a bluetooth adapter and connect it directly to the Skywatcher Virtuoso mount without the Synscan handheld. Any bluetooth with TTL signals and  9600/ 8-N-1 will work. This works just fine. The difference between TTL and RS-232 is described here.

     

    If the bluetooth serial voltage is 3.3V, then the two resistors (voltage divider) will be needed. 47 ohm and 100 ohm is OK. 100 ohm goes between the bluetooth RX & GND. 47 ohm goes between Virtuoso TX and bluetooth RX. Otherwise the Virtuoso signal level is too high for the bluetooth 3.3V. 

    Use the great Virtuoso app for Android, which works as a SkyFi emulator and link between your network and the star map software, such as SkySafari. Match the IP in Virtuoso app to Sky Safari SkyFi settings and leave the port as 4030.

    The LM2596 regulates the voltage from the Virtuoso battery to the bluetooth. You can also use a good old 5V regulator but I suspect it will waste power while lowering the voltage and transfering it to heat.

    Cut your grand-ma's phone cord and get her a cellphone, steal the RJ11 cable, solder the bluetooth and resistors and you're ready to go. Works as a charm.

     

    Tony

     

    Virtuoso bluetooth.jpg

    • Like 2
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.