Project

# Title Team Members TA Documents Sponsor
66 Self-playing Programmable Chromatic Harmonica
David Zhang
Robert Zhu
Sean Jasin
Wenjing Song design_document2.pdf
proposal1.pdf
# Team Members:
-Sean Jasin (sjasi3@illinois.edu)

-Robert Zhu (robertz4@illinois.edu)

-David Zhang (dzhan6@illinois.edu)

# Problem:
The harmonica is a versatile, simple, yet technically difficult instrument to play. There is a need for the background music of a live instrument, yet it is difficult to master the harmonica. Some lack the time to practice and learn the harmonica. For others, they may no longer be able to physically play the harmonica, or do not have access to training or musical education. Existing musical devices exist for keyboard and string instruments, but not for wind instruments. There is a need for a self-playing harmonica that can produce melodies without requiring manual lip or breath control.

# Solution:
The solution is a device that is able to play the harmonica. The self playing harmonica consists of multiple subsystems. The power supply provides power at all required voltages for the MCU, air pumps, and electronic pneumatic valves. The harmonica-computer interface connects to both the harmonica and the MCU, and is responsible for controlling the flow of air through the harmonica. It consists of pneumatic tubes, air pumps, and electronic valves. The MCU is responsible for controlling the pumps and valves in the harmonica-computer interface, as well as taking a MIDI file and converting it into a sequence of pump and valve motions. Lastly, songs are uploaded to the MCU through WiFi. We will create a website where the user can upload a MIDI file and that file is then available to play on the device.

# Subsystems:

Power supply

Motor driver

MCU

Harmonica-computer interface

Website for uploading MIDI files

## Power supply (located on the pcb)
The power supply must be capable of supplying 3.3V, and 12V power to the device. The 3.3V power supply is for the MCU and the 12V power supply is used by the pneumatic valves. We will utilize an AL-12100 12V 120W power supply that plugs into a wall outlet. We will then convert the 12 power supply into the signal voltage, 3.3V, on the PCB.

## Motor driver (located on the pcb)
The motor driver will allow the ESP32 to control the DC motor because the output of the GPIO on the MCU cannot provide enough power (GPIO 3V3 @ low current, motor needs 12V). The output of the motor driver will be a 12V PWM signal.

## MCU
For the MCU, we will use an ESP32 for its WiFi capabilities. The MCU has 2 functions: mechanical control and MIDI upload. The mechanical control will take MIDI inputs and play the respective note on the harmonica. This will be controlled by several valves which will allow us to control the airflow into the harmonica.

## Harmonica-Computer Interface

Harmonica:
The harmonica that we will be using for the project will be a Conjurer-brand 10-hole chromatic harmonica. This harmonica was chosen due to its budget-friendliness, as well as its ability to play semitones without the requirement of “bending”, when one uses their tongue to play semitones.

Air pump:
We will use a Mini 555 Dongguang air pump to supply a constant and variable air flow. The airflow will be changed to control for volume, with a maximum of 15 LFM or 0.53 CFM. This should allow us to be able to play 10 notes simultaneously. The airflow of the output will be determined by PWM duty cycle, which will allow us to control the volume of the harmonica. The static pressure requirement of the pump is inconsequential, as harmonicas do not require significant air pressure to play.

Electronic valves:
The electronic valves will consist of 10 Laccimo 2V025-1/4 12V solenoid valves and one Airtac 4V110-08F 5/2 12V solenoid valve. This will allow air input and output from each hole of the harmonica, as well as switching action between blowing air and sucking air.

High-Torque Servo:
To operate the slider, a high-torque servo will be used. The DS3218MG has a sufficient control angle and has enough force (20kg) to operate the lever at a fast speed and in a precise manner.

## Website
Using the ESP32’s WiFi capabilities, the MCU will host a mini server on which a user can upload MIDI files. These MIDI files can then be processed by the MCU to be played by the harmonica.

# Criterion for Success:
The success of this project will be based upon these criteria:

Must be able to blow in and suck out air of all holes in a chromatic harmonica

Must be able to achieve the full range of airflow from 100 to 400 LFM. (equivalent to 0.009 CFM to 0.025 CFM given a 4mm x 10mm sized opening).

Ability to engage and disengage the slide of a chromatic harmonica.

Dynamics/volume control of each played note is accurate and successful.

A .MIDI file is able to be uploaded to the website of the self-playing harmonica system.

A .MIDI file is able to be transmitted to the MCU via WiFi and performed accurately by the self-playing harmonica system.

The system must be robust enough to play for 10 minutes continuously.

Electricity-Generating Device Retrofitted for Spin Bikes with Wall Outlet Plug Connected to Gym's Grid

Raihana Hossain, Elisa Krause, Tiffany Wang

Electricity-Generating Device Retrofitted for Spin Bikes with Wall Outlet Plug Connected to Gym's Grid

Featured Project

**Elisa Krause (elisak2), Raihana Hossain (rhossa2), Tiffany Wang (tw22)**

**Problem:** Something we take for granted everyday is energy. Constantly, there is energy consumption in malls, offices, schools, and gyms. However, the special thing about gyms is that there is always someone using either the elliptical, bike or etc. Now what if, along with losing those extra pounds, you can also generate some electricity using these machines? Our device is a straightforward and cheap alternative for gyms to have retrofitted spin bikes that generate electricity, and for the gym to save money by using the electricity generated by the bikes that can be connected to the gym’s grid by simply plugging the device into the wall outlet.

**Solution Overview:** We are retrofitting a spin bike with an electricity-generating device that can be plugged into the wall outlet, which will be the path to send the generated electricity back to the gym’s grid to be used. The amount of electricity generated can also be monitored and displayed with the device.

**Solution Components:**

* **[Retrofit for Electricity Generation]** Component that attaches to any spin bike on the outside (straightforward and simple retrofit) and generates electricity when the bike is being used.

* **[Send Power to Gym Grid]** Component that reverses the typical direction of the wall outlet and sends the energy generated by the bike riders back to the gym’s power grid.

* **[Metering]** Component that records and displays how much energy was generated between the times when someone presses a button on the device. The first button press will reset the display. The second button press will show how much energy was generated from the time when the button was first pressed.

**Criterion for success:**

* Retrofits any (or the majority of) spin bike types

* Energy generated from people working out on the spin bikes is sent from a wall outlet to the gym’s power grid

* Device displays the power generated by a bike during the time of two button presses.

* Show that our power output being generated matches and syncs up with a sinusoidal input using a mock setup to simulate the grid

Project Videos