Interactive Music player with NFC and Ventuz Integration

This project is an interactive music player system that uses NFC tags to fetch album or track information and displays it with dynamic animations using Ventuz Designer. The system integrates real-time data processing and visualization, leveraging IoT devices like ESP32 and a server-side Python application to create an engaging multimedia experience. A projector is used to showcase the animations.

Services

experimental

Client

Me

Year

2025

Tools

Arudino, Python, Ventuz designer


Technical Details:

Hardware:
  • ESP32: Acts as the core microcontroller for NFC data reading and Wi-Fi communication.

  • PN532 NFC Module: Reads data such as album IDs or track information from NFC tags.

  • HC-SR04 Ultrasonic Sensor: Enables interactivity by detecting proximity and triggering actions like switching tracks.

  • Projector: Displays animations created in Ventuz Designer in real time.


Software:

Arduino (ESP32 Firmware):
  • Reads NFC tag data.
  • Sends commands and data to a Python server via Wi-Fi.

  • Uses ultrasonic sensor data for interactivity (e.g., switching tracks).

Ventuz Designer:
  • Visualizes track information, artist bios, and other metadata with animated effects.

  • Integrates JSON data for real-time updates.

Python Server:
  • Handles requests from ESP32.

  • Integrates Spotify API for fetching album and track details.

  • Generates and updates JSON files for Ventuz Designer.


  1. API Integration:

    • Spotify API: Fetches track metadata, album details, and playback information.

    • OpenAI API: Generates artist bios and additional descriptive content.

  2. Workflow:

    • NFC tag data (e.g., album ID) is read by the ESP32.

    • The data is sent to the server, where it is processed using the Spotify API.

    • A JSON file is generated with information like track name, artist bio, and album name.

    • Ventuz Designer uses the JSON data to create real-time animations projected onto a screen.

Key Features:

  1. Real-Time Interaction:

    • Immediate visualization of NFC tag data through Ventuz animations.

  2. Dynamic Data Integration:

    • Updates JSON data dynamically based on scanned NFC tags.

  3. User Interactivity:

    • Ultrasonic sensor enables user interaction for actions like switching tracks or activating animations.

  4. API-Powered:

    • Spotify and OpenAI APIs provide comprehensive metadata for songs and artists.