Command Line Radio Project

Overview:

The command line radio app is a good introduction to the control of the DAB Shield. The command line allows scanning, tuning, services to be selected. Service Text, Date and Time is displayed and the uses as control over volume. There is also support for FM and RDS.

HINT: Please ensure you have "Carriage Return" enabled in the bottom right of the Serial Monitor, otherwise when you SEND there is no CR to trigger the command to be executed.

Components:

The software components are DABShiled Library

Functionality:

The help menu is displayed at the top of the screen:

DAB:

scan: Scans all the DAB frequencies looking for DAB ensembles and services - anything found will be printed out.

tune: This tunes to a DAB frequency only, it will then print out the ensemble and a list of services on that ensemble if it is a valid frequency. It DOES not 'tune' to a service - no audio will be heard after this command.

service: This selects a service from the the current ensemble, using the ID index as printed out from the Tune command.

info: Displays the current ensemble and list of services

time: Displays the current time as recieved by the DAB service

fm: Selects FM mode - see FM functionality below

volume: Updates the current volume (range 0 to 63)

help: Displays the current help menu

+: Increments volume

-: Decrements volume

>: Next Service

<: Previous Service

FM:

dab: Selects DAB mode - see DAB functionality above

tune: Tunes to FM frequency (kHz)

seek up: Tunes to next station

seek down: Tunes to previous station

scan: Lists the available frequencies

help: Displays the current help menu

Install:

The DABLCD can be opened in the Arduino IDE from File>Examples>DABShield>DABApp after installing the DAB Library.

Download:

The DABAppexample code can be downloaded from here.


History

06/09/2019

v0.9

Enhanced FM functionality (seek/scan)

06/12/2017

v0.8

Added FM and RDS support

27/11/2017

v0.7

Added get Time Support

23/11/2017

v0.6

support for Due (SAM devices)

23/11/2017

v0.5

Added more debug information to help "getting started"

20/11/2017

v0.4

Added Chip Info and Fimware Version Number

09/10/2017

v0.2

Added SPI functions for Library or BigBang options,

Added support for SAMD devices (with SPI Library on ISCP or Bitbang SPI on pins 11,12,13)

11/05/2017

v0.1

Initial release