Giter Club home page Giter Club logo

zmq2eti's Introduction

zmq2eti

Can be connected to the ODR-DabMux ZMQ endpoint in order to get a cheap ETI output using a Raspberry PI.

USE AT YOUR OWN RISK!

It needs to be run as root and on a raspberry 2 or 3 (not tested on 4), that does not use audio output (so no dtparam=audio=on in /boot/config.txt).

The program will generate three signals on GPIOs:

  • HDB+ on GPIO/BCM18 = PIN 12 (PWM0)
  • HDB- on GPIO/BCM13 = PIN 33 (PWM1)
  • GPIO/BCM27 = PIN 13 changes every 42 ETI Frames between HIGH and LOW to signal activity

In order to create an ETI Signal you need to attach a circuit that creates approximately +2.37V when HDB+ is HIGH and approximately -2.37V when HDB- is HIGH, 0V otherwise. HDB+ and HDB- will be HIGH for about 244ns.

Sadly I was not able to create the circuit myself, so I cannot share it here. It used one XOR IC and a HCT125 as well as some passive components. So if you have electrical knowledge and came up with a circuit matching the requirements please feel free to create a pull request.

The physical parameters of ETI(NI, G.703) shall conform to the requirement of the ITU-T Recommendation G.703 [4] for 2 048 kbit/s interfaces. The minimum requirement shall be a 75 โ„ฆ female BNC connector fitted to the equipment.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Inspired by https://github.com/Wallacoloo/Raspberry-Pi-DMA-Example/blob/master/dma-gpio.c and http://www.icrobotics.co.uk/wiki/index.php/Turning_the_Raspberry_Pi_Into_an_FM_Transmitter and https://github.com/hzeller/rpi-gpio-dma-demo/blob/master/gpio-dma-test.c

zmq2eti's People

Contributors

mapeper avatar

Stargazers

 avatar

Watchers

 avatar  avatar

zmq2eti's Issues

SD Cards fail

Need help

Hi, MaPePeR. I got a ready-made DAB muxer from a friend ages ago, exactly with your zmq2eti tool. It worked fine for years. Now I wanted to feed my Harris with local ETi again and unfortunately the SD card of the Raspi is broken. Unfortunately, there is no bakup either. Since I'm not exactly a Linux friend, I have no idea how to fix it. Could you possibly have a completely finished image for my Rapsi?

Thanks! :)

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.