I have added a few more features to my radio. Firstly, I added and coded 3 buttons which have fixed frequencies. This makes it easier and faster to switch between preferred stations. However, currently I can not access any other station besides these 3 fixed stations. So, eventually I intend on adding a rotary encoder or joystick to move between all stations.
Next, I have added an OLED screen. This screen displays the station which the radio is playing. Oddly, I faced an issue while coding this display. When I put DisplayFreq() (my display function) in the void loop(), I heard a continuous static noise along with the music from the earplugs but when I put DisplayFreq() under the if statement outside the void loop() then the static noise was only briefly heard when the button was pressed.
I am not sure what is causing this static noise but I was able to overcome this problem by calling the DisplayFreq() function only when a button is pressed.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.