Arduino tunning control

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
Post Reply
sisalina
Posts: 5
Joined: Tue Feb 08, 2011 7:45 am

Arduino tunning control

Post 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
sisalina
Posts: 5
Joined: Tue Feb 08, 2011 7:45 am

Re: Arduino tunning control

Post 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.
Schwabinger
Posts: 49
Joined: Sat Dec 04, 2010 12:04 am
Location: Munich, Germany

Re: Arduino tunning control

Post by Schwabinger »

Hi Sisalina,

I use an arduino for tuning and volume control.

Have a look here:

viewtopic.php?f=2&t=312

Schwabinger
Post Reply