Git Product home page Git Product logo

eqmod-etx's Introduction

EQMOD-ETX-ESP32

Introduction

This project describes a possible arduino interface between the ASCOM-EQMOD software and the 'HBX' interface to the Az and Alt motors controller. The device investigated was the ETX60AT. It provides a protocol translater to enable the features of EQMOD to be applied to some ETX scopes using the low-level HBX motor control commands. It is for personal experimental use only. It requires an appropriate knowledge of software and hardware to attempt.

The project is experimental and does not claim to be a specification of the protocol or its' interface, nor does it claim continuous error-free operation. As always, it is the responsibilty of the user to assess whether this information, program and hardware is useful and appropriate to them and to assess any likely impact on their systems and equipment, including the possibilty of any damage.

Interface Design

The design is now published on EasyEDA:

https://easyeda.com/jmarchbold/eqg2hbxv12

You can prototype this using standard Arduino modules, or simply order boards from JLPCB. I have some spare units, but the postage is usually higher than ordering them direct! If you use arduino 3.3v<->5v level translators, the level translator will need to be modified for the different resistances required. Standard level translators use 10k resistors. The ETX60 needs these changed to 47k or 56k. I am not sure about other telescopes, but the early ETX60 has all data lines joined (which effectively connects these resistors in parallel). As a result, the pullup is too strong and the communications fail.

Notices

Information in this document was collected from multiple sources on the Weasner site. It is a summary of those documents and retains the original warnings/copyrights where they existed.

The main information comes from -:

  1. http://www.weasner.com/etx/menu.html
  2. http://www.lycee-ferry-versailles.fr/si-new/4_5_programmation/3_tp/DIAGRAMME_ETATS/1_ASTROLAB/Telescope_Dossier_technique.pdf
  3. Some information assumed from observations of the interactions between the Autostar 494 controller and the DH series motors. The information in this document was not derived via disassembly of the Autostar or motor processor firmware

See information about relevant intellectual property in the original documents

This work would not be possible without the prior and ongoing contributions of Dick Seymour, Gene Chimahusky, Andrew Johansen and others and is summarised, to the best of my ability, in the Documents section. Please refer to other contributors in the documents.

eqmod-etx's People

Contributors

ozarchie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

eqmod-etx's Issues

Linux ESP32 library configuration

Hi John,
I know this is an older project but I hope you are able to clarify some details if you get the chance. I am attempting to replicate your project using the Arduino IDE and Linux as a baseline. I am taking notes to maybe share with others. I am no hacker-dev but this isn't my first microcontroller project either. I have a couple of ESP32 boards and an ETX-60AT. I currently have the Arduino IDE running with your project loaded. I fixed all of the compilation errors that came up due to missing libraries, and I can compile the project in the IDE.

1. You listed the Espressif IDF and Platform IO install in your documentation but I did not see the version of the Arduino-cli/Espressif IDF you used. I don't think this is really important at this point, but in the future it might help others if they knew what version was used or the last known to work, which I may be able to share soon.
2. The only library issue I came across was from the included SPIFFS.h and SPIFFSEditor.h files. My research indicates these files are from https://github.com/me-no-dev/ESPAsyncWebServer and https://github.com/me-no-dev/AsyncTCP . As far as I can tell these are not packaged for the Arduino IDE with the same syntax you used in the project. I had to clone them, compress the files in their respective src folders into zip files and add them to the Arduino IDE manually using the Library Manager. After this step everything compiles without errors. Are these the libraries you used?
3. I would like to try to use a TTGO T8 V1.7 ESP32 board for the project if I can get it to work. It has a lithium battery charge controller on board (but no discharge protection and maybe a poor regulator design). I am not asking for your help on my hardware tangent. As far as general project documentation: what is the ESP32 configuration you used and are any of the specific hardware configuration options of the ESP32 important here? If you open the Arduino IDE with Espressif IDF added to the board manager list in Preferences, and set the board to the generic "ESP32 Dev Module" you will see the options I am looking to clarify in context. I can trial and error my way through this if needed. The options are: Cores configuration for events and code execution(Core0:code/Core1:Events?), the CPU/Flash frequencies (80 or 40MHz), the flash mode(QIO/DIO/QOUT/DOUT), and the memory partition scheme(SPIFFS/OTA/etc. | Default= 4mb w/spiffs (1.2mb app/1.5mb spiffs)). I apologize if these should be obvious. I have not used the ESP32 much in the past.
4. Lastly, at the highest level of your project here, are the possible hardware configurations:

  • ETX-AUX -> 1x ESP32 with WiFi server -> software connected device
  • ETX-AUX -> 1x ESP32 with Bluetooth server -> software connected device
  • ETX-AUX -> Arduino Mega -> 1x ESP32 with WiFi server -> software connected device
  • ETX-AUX -> 1x ESP32 with ESPNOW -> 1x ESP32 with ESPNOW -> TTL Serial -> Computer
  • ETX-AUX -> 1x ESP32 with ESPNOW -> 1x ESP8266 with ESPNOW -> TTL Serial -> Computer

Thanks for sharing the project and taking the time to read this.
-Jake

Controlling ETX/HBX from an RPi GPIO

Is it possible to port the ESP32 or Arduino versions of the code to run on a RPi using GPIO? I'd like to have more processing and communications/interfacing capability available than is possible with the Arduino.

Setting up on Arduino

Hi John,
Thanks for your work. I have ordered the ESP board from JLC, but I am a little confused
You make several reference to a an arduino controller - but all the code seems to be for an ESP
Did you move from Arduino to ESP to get wifi functionality ?
Is there a pure arduino version ? It looks like the level shifting would be easier with arduino - plus I have a mega sat on my desk, and I have to wait for the ESP PCB to come from China

Sorry to raise this as an issue, but it seems the only way to have comms on this platform

Lee

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.