Once the assembly is complete, power on the boards by sliding the ON/OFF switch to the ON position. LEDs on the Azul will come on indicating power.

By default, the FM kit will have a FM demo program loaded. This will tune to FM 99.5 MHz. If this is not a suitable channel for your area, you can scan for other stations by hitting the 1 button on the FM board.

Here is a great resource for finding FM radio stations in your area in the US

FM radio channel locator

By default, here are the button assignments on the FM board:

Button number Function
1 seek Up
2 seek Down
3 Mute Audio
4 Preset Up
5 Volume Up
6 Volume Down

Modify the code

Our favorite code editor is Mu

In order to modify the code, simply connect the supplied USB cable to the Azul and Azul will show up as a drive on your computer as CIRCUITPY.

You can then load the code.py file onto your Mu editor to modify the program (click the Load button on the Mu menu and navigate to the Azul drive in your PC).

You can also view a user menu on the Mu serial console to further play with the various functions of the kit. 
Press cntrl+C followed by cntrl+D to restart to show the menu.

Bluetooth Control

The Azul FM radio kit comes with a test program already loaded. So, when the slide switch is flipped to the ON position, the OLED screen will show the default frequency of 99.5 MHz.

Connect to the FM radio using the Adafruit Bluefruit Connect app available in Android or iOS.

Below are the steps 1-4 to connect to the FM radio via the app. Click on each highlighted button with the system powered on.

This guide was first published on Apr 13, 2021. It was last updated on 2021-04-14 12:10:09 -0400.

This page (Code & Control) was last updated on Nov 17, 2021.

Text editor powered by tinymce.