Applications and Implications
Week 17

Project Development

This week, I focused on designing, fabricating, and assembling a custom PCB. I used KiCad for schematic and PCB design, then fabricated the board using milling and laser etching, and finally assembled and tested it.

Presentation Slide

Bluetooth Speaker Test

I tested the Bluetooth speaker functionality using an ESP32. The ESP32 connects to a smartphone via Bluetooth, allowing audio playback through the speaker.


#include "AudioTools.h"
#include "BluetoothA2DPSink.h"

I2SStream i2s;
BluetoothA2DPSink a2dp_sink(i2s);

void setup() {
    auto cfg = i2s.defaultConfig();
    cfg.pin_bck = 13;
    cfg.pin_ws = 14;
    cfg.pin_data = 12;
    i2s.begin(cfg);

    a2dp_sink.start("Symphoni");
}

void loop() {
}	

I tested the Bluetooth speaker with a smartphone, playing audio through the speaker. The ESP32 connects to the smartphone via Bluetooth, allowing audio playback. It uses the bluetooth

App interface

I developed a simple Android app to write the NFC tags and also to control playback. The app allows users to play/pause audio, next and previous, and adjust volume. It uses the http communication using WiFi for communication with the ESP32, which communicates with Spotify WebAPI

App and Turntable Test

I tested the app with the cardboard turntable. The turntable allows users to control playback by placing NFC tags on it. The app communicates with the ESP32 to play specific tracks based on the NFC tags scanned.

Display Test

I tested the 2.8-inch SPI TFT display with the ESP32. The display is powered by the ESP32 and communicates via SPI.

I need to test the album cover image and URL fetching and displaying on the board.

Schematic Design

I designed the schematic for my final project, Symphoni, using KiCad. The schematic includes an ESP32 for Wi-Fi and Bluetooth connectivity, a 2.8-inch SPI TFT display for visual output, NFC for NFC scanning.

I took this ESP32 Autoprogrammer circuit as a reference for my schematic design from my classmate Revisankar. The circuit is designed to program the ESP32 using a USB-to-serial converter, which allows for easy programming and debugging of the ESP32 module. The circuit includes necessary components such as resistors, capacitors, and a voltage regulator to ensure stable operation during programming.

ESP32 Autoprogrammer Circuit

This is the basic schematic for the ESP32 based bluetooth speaker PCB.

Bluetooth Speaker Schematic

Main Board Schematic

The main board is also based on the ESP32, which is a powerful microcontroller with built-in Wi-Fi and Bluetooth capabilities. The schematic includes components such as a 2.8-inch SPI TFT display for visual output, an NFC module for NFC scanning, and various passive components for signal conditioning and power management.

Main Board Schematic

Draft Slide and Video

I made the draft slide and video using Canva.

The slide is made using Canva, which is a user-friendly design tool that allows users to create professional-looking presentations and graphics. The slide acts just as a draft for the final presentation, showcasing the key features and functionalities of the Symphoni project.

Canva Video

The presentation slide and the presesntation video have certain criterias for the presentation.

The presentation slide should be of the dimensions 1920x1080 pixels, which is the standard size for high-definition presentations. The slide should be named "presentation.png" and should be in PNG format. The video should be of the dimensions 1920x1080 pixels, which is the standard size for high-definition videos. The video should be named "presentation.mp4" and should be in MP4 format.

Canva Slide

I used the Presentation Size preset to start designing my slide and Video. I added the rendered images to the slide and added some text about the features of the project.

For the video, I used the Canva Video preset to start designing my video. I added the rendered images to the video and added some text about the features of the project. The video is a short overview of the project, showcasing its key features and functionalities.

Canva export

There are multiple options to export, I exported the three slides as a MP4 video of 1080p(HD) resolution.

The presentation slide(presentation.PNG) and video(presentation.mp4) are placed in the root directory of the repository.

Week 18

Schedule

Day 1 (29 May)- Electronics Integration Prep + Component Testing

  • Test new speaker drivers with TPA3116D2 amplifier
  • Test slider pots and see if they work with amplifier's rotary pots
  • Prototype front grill - laser cut aluminum and 3D printed version
  • Check Mechanical Button

Day 2 (30 May)- Mechanical Exploration: Speaker Face, Platform and CAD Design

  • Experiment with motor-driven rotating platform
  • Sketch layout for button, encoder, speaker and display positions
  • Complete CAD

Day 3 (31 May)- Complete PCB Design

  • Complete Schematic Design
  • Comlete PCB Design

Day 4 (1 June) PCB Milling and Soldering

  • Mill the 2 PCBs
  • Assemble the PCB
  • Test the PCB Functioning

Day 5 (2 June)- Enclosure Production

  • Complete Milling of Enclosure Parts
  • Assemble the Enclosure

Day 6 (3 June)- Assembly Day

  • Assemble all components
  • Test the System
  • Finishing the looks

Day 7 (4 June)- Program the entire system

  • Spiral 1 - Programming with all basic Functions
  • Spiral 2 - Programming with all advanced Functions