Giter VIP home page Giter VIP logo

tascam-rc-10-remote's People

Contributors

abbrev avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

cleverfox m4rc0d1

tascam-rc-10-remote's Issues

trouble making this work

I'm having trouble getting my Tascam recorder to respond to signals as generated by this code, even when shifting the serial signal to 3.3V. I was wondering if @abbrev or others might have any insights.

I have the following configuration:

  • Tascam DR-60DmkII
  • KOOKYE Pro Micro ATmega32U4 microcontroller
  • 4-pin 2.5mm TRRS plug, with sleeve wired to microcontroller GND (I've tried the lower ring as well) and tip wired to microcontroller TX. I've confirmed multiple times that each lines is conducting appropriately.
  • I have tried also placing a level converter between the microcontroller and the plug, using the 3.3VDC from the recorder to power the low-signal side.
  • Various permutations of the following code (simplified somewhat):
    #define START_MASK  0x80
    #define REPEAT_MASK 0xC0
    #define END_MASK    0x00
    
    static const uint8_t TASCAM_RECORD = 11 ;
    static const uint8_t TASCAM_STOP = 8 ;
    
    void setup() {
      Serial1.begin(9600, SERIAL_8E1);
    }
    
    void loop() {
      if (condition) {
        Serial1.write(TASCAM_RECORD | START_MASK);
        delay(100);
        Serial1.write(TASCAM_RECORD | REPEAT_MASK);
        delay(100);
        Serial1.write(TASCAM_RECORD | END_MASK);
      }
    }
  • I know that condition is being met, because I have tested other outputs on it (powering an LED, and simply writing the data to the serial monitor instead using Serial.println; I get e.g. 136 for the start command, etc.). Furthermore, the TX LED flickers when the write commands are called.
  • I've also tried to send start and end bytes with no delay between them.
  • I am able to measure a 5V signal from TX when not writing, which I understand is normal for TTL.

The next thing I plan to check whether there is an appropriate TTL signal coming from the TX pin.
EDIT: I've now checked, another microcontroller reports receiving the following signals on sending record: 139, 203, 11; and the following signals on sending stop: 136, 200, 8. But (obviously, perhaps) only for 5V signals, not 3.3V signals.

Beyond that, my only guesses are, in order of likelihood, (1) that I'm not doing something right, (2) that there's a hardware compatibility issue, or (3) that there's a problem with the reverse engineering of the protocol. I'm also likely going to buy an actual RC-10 to verify that the recorder actually responds to signals from it.

In the meantime, I'd be interested in hearing from someone who has experience making this work. Does anything I'm doing stand out as wrong?

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.