Project

# Title Team Members TA Documents Sponsor
22 MIDI Music Box
Jeremy Lee
Sean Liang
Tyler Shu
Gregory Jun design_document2.pdf
final_paper1.pdf
photo1.JPG
photo2.JPG
presentation1.pdf
proposal2.pdf
video
# **MIDI MUSIC BOX**
## **TEAM MEMBERS**
- *Jeremy Lee (jeremyl6@illinois.edu)*
- *Sean Liang (shliang2@illinois.edu)*
- *Tyler Shu (tmshu2@illinois.edu)*

## **PROBLEM**
Making music using MIDI devices commonly found in modern day music devices can tend to be inaccessible to beginners as the equipment required to achieve such - specifically being able to listen to the music created on the device - can be difficult or expensive to obtain especially starting out. Since many MIDI Controllers and Devices don't include high quality playback devices, creating a cost-friendly attachment specifically geared towards playback would eliminate the need to purchase expensive software to process MIDI signals via a computer and the other devices needed to translate the MIDI signals into usable data.

## **SOLUTION OVERVIEW**
We want to implement a form of music box or playback device that would be able to interface with standard MIDI Ports on MIDI Devices *and also* interface with USB Ports and modern file formats to enable users to either play a recording provided by the user via a file or play signals live from a MIDI device.

**SOLUTION COMPONENTS**

*PCB/Microcontroller*: We will create a PCB containing an electronic circuit that takes in MIDI Input and processes the input into usable data, translating the data via an electronic circuit into physical sound mechanisms. At a basic level, the solution at this point should enable the user to switch out the input as desired in order to play back the input.

*Playback Device (Music Box)*: In order to enable the basic playback functionality, a form of music box will be implemented as the primary method of outputting audio. The basic mechanism can take inspiration from musical instruments, such as the music box, glockenspiel, celesta, electric pianos (such as the Fender Rhodes or Wurlitzer). Depending on the mechanism used, some amplification might be required.

The Microcontroller will take in the input, translating the input into a format readable by the playback device.

## **CRITERION FOR SUCCESS**
Our MIDI Music Box will be able to playback inputted MIDI signals, through either a live connection or a created file. For our demonstration, we will play several test files as well as include the use of a MIDI device (likely a MIDI Piano) to demonstrate the music box's functionality.

BusPlan

Aashish Kapur, Connor Lake, Scott Liu

BusPlan

Featured Project

# People

Scott Liu - sliu125

Connor Lake - crlake2

Aashish Kapur - askapur2

# Problem

Buses are scheduled inefficiently. Traditionally buses are scheduled in 10-30 minute intervals with no regard the the actual load of people at any given stop at a given time. This results in some buses being packed, and others empty.

# Solution Overview

Introducing the _BusPlan_: A network of smart detectors that actively survey the amount of people waiting at a bus stop to determine the ideal amount of buses at any given time and location.

To technically achieve this, the device will use a wifi chip to listen for probe requests from nearby wifi-devices (we assume to be closely correlated with the number of people). It will use a radio chip to mesh network with other nearby devices at other bus stops. For power the device will use a solar cell and Li-Ion battery.

With the existing mesh network, we also are considering hosting wifi at each deployed location. This might include media, advertisements, localized wifi (restricted to bus stops), weather forecasts, and much more.

# Solution Components

## Wifi Chip

- esp8266 to wake periodically and listen for wifi probe requests.

## Radio chip

- NRF24L01 chip to connect to nearby devices and send/receive data.

## Microcontroller

- Microcontroller (Atmel atmega328) to control the RF chip and the wifi chip. It also manages the caching and sending of data. After further research we may not need this microcontroller. We will attempt to use just the ens86606 chip and if we cannot successfully use the SPI interface, we will use the atmega as a middleman.

## Power Subsystem

- Solar panel that will convert solar power to electrical power

- Power regulator chip in charge of taking the power from the solar panel and charging a small battery with it

- Small Li-Ion battery to act as a buffer for shady moments and rainy days

## Software and Server

- Backend api to receive and store data in mongodb or mysql database

- Data visualization frontend

- Machine learning predictions (using LSTM model)

# Criteria for Success

- Successfully collect an accurate measurement of number of people at bus stops

- Use data to determine optimized bus deployment schedules.

- Use data to provide useful visualizations.

# Ethics and Safety

It is important to take into consideration the privacy aspect of users when collecting unique device tokens. We will make sure to follow the existing ethics guidelines established by IEEE and ACM.

There are several potential issues that might arise under very specific conditions: High temperature and harsh environment factors may make the Li-Ion batteries explode. Rainy or moist environments may lead to short-circuiting of the device.

We plan to address all these issues upon our project proposal.

# Competitors

https://www.accuware.com/products/locate-wifi-devices/

Accuware currently has a device that helps locate wifi devices. However our devices will be tailored for bus stops and the data will be formatted in a the most productive ways from the perspective of bus companies.