Git Product home page Git Product logo

j1850-arduino-transceiver-library's Introduction

J1850-Arduino-Transceiver-Library

Arduino library which allow to decode characters on J1850-PWM mode. It works with wire, radio and laser transmissions. You just have to choose your bit-rate (lower is better), tx and rx pins. It doesn't have either a header nor a parity check. These functions could be implemented at a higher protocol layer. It doesn't detect SOF (start of frame) and EOF (end of frame) yet.

Required libraries:

  1. DigitalWriteFast (Tested with version 1.0.0, Download: https://github.com/watterott/Arduino-Libs)
  2. EnableInterrupt (Tested with version 0.9.5, Download: https://github.com/GreyGnome/EnableInterrupt)

This library has been tested with:

  1. Wire connection between two Arduino
  2. Radio connection (multipoint) with FSK modulation (and OOK too), module RTX-MID-868. Datasheet: https://goo.gl/UEv8ii
  3. Laser connection (experimental circuit)

1. Wire connection between two Arduino (DEFAULT)

Arduino Uno (TRX) Arduino Uno (TRX) Notes
13 3 Intelligent signal Tx
3 13 Intelligent signal Rx
GND GND Common GND

2. Radio connection with RTX-MID-868 (DEFAULT)

Arduino Uno (TX) RTX-MID-868 module Notes
13 4 Intelligent signal Tx
12 5 Enable TX/RX
11 6 Power Up/Down
3 9 Intelligent signal Rx
+5V 10 +2,5V ÷ +6V
GND 2, 7 Common GND

Remember:

In order to keep the transmission medium free (ether) after transmission, it is recommended to use the "setTxRxModePin" method (see example sketch "Advanced_TX"). The "mode_pin" is connected to the radio module and is used to choose the transmission directions (to select transmission or reception, see datasheet of RTX-MID-868 module https://goo.gl/UEv8ii).

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.