abbrev / tascam-rc-10-remote Goto Github PK
View Code? Open in Web Editor NEWTASCAM RC-10 remote control
TASCAM RC-10 remote control
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:
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.#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);
}
}
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.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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.