Tuning only

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
tobarix
Posts: 9
Joined: Mon Mar 17, 2014 4:42 am

Tuning only

Postby tobarix » Wed Mar 19, 2014 12:25 pm

I only want the tuning feature (no space to accommodate lcd in my vintage radio)
Does anybody know wether you have to install the lcd to get the AVR going or can I just hookup the potmeter? After successfully flashing the ATmega328P on my Arduino Pro Mini board and wire the tuning hookup, stations won't change.

User avatar
gerben
Posts: 164
Joined: Sat Oct 16, 2010 8:41 am
Location: Netherlands

Re: Tuning only

Postby gerben » Thu Mar 20, 2014 10:31 am

Looking at the source code, it looks like it will deadlock if the lcd is not attached.
As far as I can see, you can prevent this by disabling IO-mode.
Open lcd.h and change line 70 to read (i.e. change the '1' to a '0')

Code: Select all

#define LCD_IO_MODE      0

tobarix
Posts: 9
Joined: Mon Mar 17, 2014 4:42 am

Re: Tuning only

Postby tobarix » Fri Mar 21, 2014 10:42 am

Thanks Gerben, radio is working fine now. You are right it needs LCD hookup to get it going. I will change to program following your suggestions and see what happens then.