Page 1 of 1

Arduino tunning control

Posted: Tue Feb 08, 2011 7:54 am
by sisalina
Hi to everyone:
First, Thanks Jeff for your tutorial and thanks again for your quick answers.
My problem is the tunning control, I initiate the interface.sh routine in the router, at the same time I send an string with the arduino "tuner: 4" but nothing seems to happen.
The serial message in the Processing code would be something like

void setup() {
Serial.begin(9600);
}
void loop() {
Serial.write("tuner: 4 ");
delay(10000);
}

I don´t connect any potentiometer yet because I´m trying to get a result with this string first as a result I should get the 4° radio station playing but its not my case.
Am I omitting something?
Thank you very much

Re: Arduino tunning control

Posted: Tue Feb 08, 2011 9:05 am
by sisalina
Everything´s fine now...
If someone is using the arduino...

the line

Serial.write("tuner: channel ");

should be

Serial.println("tuner: value_ADC ");

the println command makes a jump between lines necessary for the router to recognice the line "tunner: value".
and the router is the one who calculates de channel

Thank you very much anyway.

Re: Arduino tunning control

Posted: Sat Feb 12, 2011 1:23 am
by Schwabinger
Hi Sisalina,

I use an arduino for tuning and volume control.

Have a look here:

viewtopic.php?f=2&t=312

Schwabinger