Giter Site home page Giter Site logo

gladiolus's Introduction

Gladiolus

a GreatFET neighbor for Software Defined Infrared (SDIR)

Required KiCad dependency:

https://github.com/greatscottgadgets/gsg-kicad-lib

If you are using git, the preferred way to install gsg-kicad-lib is to use the submodule:

git submodule init && git submodule update

Concept

Gladiolus is an infrared (IR) transceiver in the style of Software Defined Radio (SDR), enabling implementation of arbitrary IR protocols. In every known over-the-air IR implementation, only the amplitude of the optical signal is modulated, so we detect/modulate the amplitude with a single ADC/DAC.

Example Targets

  • 20 to 60 kHz IR remote control systems
  • IrDA up to 4 Mbps
  • Bosch Integrus audio broadcast over IR (DQPSK over AM)
  • proximity sensors

Wavelength

Though many IR-over-fiber implementations use longer wavelengths, all over-the-air targets we've identified use wavelengths between 850 and 950 nm. Gladiolus detects and produces IR in that range.

Getting Started with Gladiolus

For receive, we have brought the signal into GNU Radio via a pipe. So:

mkfifo /tmp/fifo
greatfet_sdir -r -S 10200000 -f /tmp/fifo

That's going to capture at 10.2 MSps. In GNU Radio Companion connect a file source (pointed at /tmp/fifo with Byte type) through UChar to Float and into visualization blocks such as a QT GUI Time Sink or QT GUI Frequency Sink. If they're too strong or weak, the gain can be controlled by a DAC.

To replay a capture: greatfet_sdir -S 10200000 -f

If you want to transmit from a GRC flowgraph: greatfet_sdir -S 10200000 -f /tmp/fifo

AC or DC coupling

The receive photodiode is AC-coupled by default for immunity to ambient light such as sunlight, but it can be switched into DC-coupled mode.

photodiode

We use the Everlight PD204-6B through-hole photodiode (840-1100 nm). As an option, we have included pads for the Vishay VBPW34FASR (used in IRis) which has very high sensitivity due to large surface area but is somewhat slow.

DAC Bypass

Many applications use On-Off Keying (OOK), so the transmit DAC is not needed. It is possible to bypass the DAC and control the TX LED(s) with one pin.

Inspiration

http://onetransistor.blogspot.com/2014/12/infrared-protocol-analysis-with-pc.html

http://winlirc.sourceforge.net/

https://github.com/devttys0/IRis

http://www.analogzoo.com/2016/08/photodiode-amplifier-design/

http://defcon-wireless-village.com/speakers.html#blinded_by_the_light

http://dangerousprototypes.com/docs/USB_Infrared_Toy

http://www.grandideastudio.com/opticspy/

EVAL-CN0272-SDPZ is an interesting evaluation board with similar capabilities.

gladiolus's People

Contributors

dominicgs avatar mossmann avatar mwinchester94 avatar straithe avatar yhetti avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

gladiolus's Issues

Gnu Radio Ir demo

Hi

I am in the process of reflowing my own gladiolus.
It would be a great ease to get started if you would share your IR gnu radio demo project .

Thank you for your awesome work.

Cheers
Michael

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.