devrest.blogg.se

Arduino radio clock
Arduino radio clock





arduino radio clock

#ARDUINO RADIO CLOCK INSTALL#

Install Arduino packages to build the nanpy firmware for Arduino: $ apt-get install arduinoĢ. To do that, we need to install the nanpy library for Python and the nanpy firmware for Arduino:ġ. We want to be able to talk to Arduino from Python running on the Pi. Install the mpd/mpc packages: $ sudo apt-get install mpc mpd Update Raspbian to the latest packages: $ sudo apt-get updateĢ. Installation instruction for RP3 (from Arduino / Raspberry Pi Internet Radio by akellyirl in Arduino ):ġ. For the sound, I used a pair of active computer speakers also recovered from scrap. Finally I found this program: URL HELPER that sniffs the site you are on and show the URLs of the media playing. The hardest part was finding the right URLs of the stations I wanted. First I used a Raspberry Pi 2 with a USB WiFi adapter, but now I am using a RP3 which has built in WIFI and no need for antenna. I used an LCD/keyboard shield for the Arduino that has push buttons: SainSmart LCD Keypad Shield for Arduino, and later added a 4 push button strip that I scrapped from a broken alarm clock. There is a library nanpy that lets Python communicate with the Arduino which controls the push buttons and the LCD. The code is written in Python on the Raspberry Pi and basically uses the Linux music player daemon (mpd) and the player (mpd). I based this project on another tutorial: Arduino / Raspberry Pi Internet Radio by akellyirl.

arduino radio clock

And with the Internet, listening to radio stations of the world is a pleasure, but I don't like to use my smartphone to hear music, so with a lot of Googling, I found several solutions. I love to listen to the radio when I am making something or cooking, but where I live FM reception is terrible.







Arduino radio clock