Hybrid Radio Project

Overview:

The Hybrid Radio Project is and advanced Colour LCD with Logo Download for the DAB Shield.

Components:

The hardware components are:

WeMos D1 R32 ESP32 Processor Board

DAB Shield

DFROBOT 3.5" 480x320 Colour Capacitive Touch Screen

The software components are:

DABShiled Library

DFRobot

Adruino Json

TinyXML2

SPIFFS

PNGDec

Display Wiring

The DFROBOT Screen using SPI serial communications for the graphics, and I2C for the touch screen. The SPI Bus is shared with the DAB Shield but uses different Chip Select (CS) lines to communicate to each device. There are also additional pins used for the Data/Command (DC), Backlight (BL) and Reset (RT) lines. To avoid conflict with pins used by the DABShield the following pins are chosen:

Screen Wiring Harness

Screen Wiring Harness - note that MISO/MOSI wires are swapped over (black/white) in photo above... other wise the wire order is almost in the same order as the display.

CAUTION: -- The supplied ribbon cable may not have the same starting colour as the photo above --

Screen Wiring Harness Connected

Installing the Arduino Integrated Development Environment (IDE)

The Arduino IDE is the software where you write your code and upload it to the Arduino Board.

This Getting Started assumes that you will use the Windows Desktop Arduino IDE. We recommend using v2.0 onwards.

The IDE software can be downloaded from https://www.arduino.cc/en/Main/Software

This page also contains a getting started link which shows you how to install the software.

There is also a good introduction to Using the IDE.

Installing the D1 R32 Board Support

In order to install the Espressif Arudino-ESP32 support package, the following URL should be added to the Arduino IDE Preferences "Additional boards manger URLs"

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

Once this is added, the esp32 by Espressif Systems Board package can be installed from Board Manger (Tools | Board: | Board Manager) and Searching for "esp32"

Installing Libraries

The Hybrid-Radio Project uses Libraries for various functionality. These can be installed from Library Manager (Tools | Manage Libraries).

DABShield - Version 1.5.3 or above

ArduinoJson by Benoit Blanchon - Version 6.19.4

PNGdec by Larry Bank - Version 1.0.1

the following libraries require manual installation:

DFRobot GDL - Require downloading the .zip Library DFRobot_GDL Library and then added by Sketch | Include Library | Add .ZIP Library...

TinyXML-2 - Source Files downloaded from here: and added to a Folder TinyXML2 in your Arduino libraires directory (<Arduino Project Directory>/ libraries/TinyXML2).

Installing the Project

The Hybrid Radio Project should be unzipped and installed in your Arduino Projects directory.

Full Instructions for Getting Started coming soon...