Hi,
I'm successfully sending text from my browser (pc) to my arduino. But the other way around (from arduino to the pc) doesn't work. I have attached a recording of what my pc receives - for me it "sounds" at least reasonable. The webjack example page doesnt receive any text. I made shure the the site uses the right mic and even if I look in the debug tools (firefox) the decode function is triggered but it always ends at the START or PREAMBLE part.
Does someone know whats wrong here?
Hardware
Arduino Uno + Circuit from the README
Software
Arduino Sketch
#include <SoftModem.h>
SoftModem modem = SoftModem();
void setup() {
Serial.begin(115200);
Serial.println("Booting");
delay(100);
modem.begin();
}
void loop() {
while(modem.available()){1
int c = modem.read();
if(isprint(c)){
Serial.print((char)c);
}
else{
Serial.print("(");
Serial.print(c,HEX);
Serial.println(")");
}
}
if(Serial.available()){
modem.write(0xff);
while(Serial.available()){
char c = Serial.read();
modem.write(c);
}
}
}
Recording
This should be "test123" sent from the arduino to the pc (recorded with https://webaudiodemos.appspot.com/AudioRecorder/index.html):
https://drive.google.com/file/d/17KitinnCN22WofGULNnbO2h8TRfkN8a0/view?usp=sharing
Thanks in advance,
Markus
Hi,
I'm successfully sending text from my browser (pc) to my arduino. But the other way around (from arduino to the pc) doesn't work. I have attached a recording of what my pc receives - for me it "sounds" at least reasonable. The webjack example page doesnt receive any text. I made shure the the site uses the right mic and even if I look in the debug tools (firefox) the decode function is triggered but it always ends at the START or PREAMBLE part.
Does someone know whats wrong here?
Hardware
Arduino Uno + Circuit from the README
Software
Arduino Sketch
Recording
This should be "test123" sent from the arduino to the pc (recorded with https://webaudiodemos.appspot.com/AudioRecorder/index.html):
https://drive.google.com/file/d/17KitinnCN22WofGULNnbO2h8TRfkN8a0/view?usp=sharing
Thanks in advance,
Markus