Project

# Title Team Members TA Documents Sponsor
27 Roadside Sound Meter
Charlie Yang
Jordan Rodier
Wentao Jiang
Mengze Sha design_document2.pdf
final_paper1.pdf
presentation5.pptx
proposal1.pdf
# Title: Roadside Sound Meter

Team Members (names and netids):
- Jordan Rodier (jrodier2)
- Wentao Jiang (wentaoj2)
- Charlie Yang (haoy2)

Description:
# Problem
Sometimes cars can be really loud, whether the source is music playing at high volumes, a noisy exhaust, or a truck engine braking. These noises can disrupt the peace. There are local regulations and laws in place for some areas that limit the maximum volume of these noises. However, these regulations are often times not enforced due to the lack of monitoring. It is both expensive and unrealistic to assign police officers to monitor the noise. An automatic monitoring system is much more practical and economical.

# Solution Overview
We propose a roadside system to warn drivers when their vehicles are outside the legal sound limits, similar to speed radars warning when a car is outside the speed limit. Using two pairs of microphones, one pair on each side of the road, this system could detect which lane the sound is coming from and send a signal to warn just that lane. There would also be a camera to capture the license plate of the loud vehicle. A similar system is being tested in France that requires overhead mounting and requires a tall pole (https://bit.ly/2mbA8WL ). Unlike the French system, these units could be mounted much lower at the same height as roadside speed radars.

# Solution Components
## Microphone Subsystem
- Two pairs of microphones mounted to either side of the road for capturing raw sound of passing vehicles
- Microphones will be dynamic microphones with a cardioid pattern for rejecting noise behind each unit, possibly Shure PGA81 or PGA57
- Windscreens will be attached to each microphone to reduce wind noise
- Preamp (LM358 or similar) in each unit and an ADC (MCP3202 in the unit without a processing subsystem; onboard the microprocessor in other unit) for converting analog signals to digital for transmission and processing

## Processing Subsystem
- An STM32F4 series microprocessor will handle processing
- Use the known dimensions from the microphone subsystems’ placement to track vehicle positions on a microprocessor
- Use the calculated vehicle distance to find the decibel level of sound and check if level is outside defined limits
- Send command signals to the warning subsystem as needed

## Warning Subsystem
- Each lane of the road is assigned two LEDs. When there is an oncoming vehicle on the lane, one of the LEDs of the corresponding lane should light
- If the sound level is above a set threshold, the other LED will be on too, indicating that the vehicle in the corresponding lane should be quieter.
- In reality, the LEDs should be replaced by lights with higher power that are more visible

## Camera Subsystem
- A camera will be mounted to each microphone pair pointed at the back of passing vehicles
- Takes tracking information from processing subsystem and takes a picture of the license plate of the loud vehicles

## Communications Subsystem
- WiFi module (ESP32) to relay microphone audio to the processing subsystem
- Optionally one single pair of microphones could be used without the need for WiFi for single lane two-way roads or one-way roads.
- Sends the picture over WiFi or Bluetooth via the ESP32 to a nearby phone or laptop
- Assume a commercial WiFi router is mounted nearby and connected to each unit allowing communication between them

## Power Subsystem
- A rechargeable battery will be attached to each unit, removing the need for additional power to be wired to the system
- Any battery pack with a 6-12 Volt, 2+ Amp DC output will work, for example this one on Amazon (https://amzn.to/2m5OOqf )
- Converts battery power to 3.3V and 5V for components(S7V8F3 or LM3671 will work)

# Criterion for Success
By the end of the semester we will have a pair of PCBs that can be mounted to short poles near the side of a road. This system should properly detect which lane an oncoming vehicle is in and light a corresponding LED. A separate LED will light at the same time if sound levels are above a set threshold, indicating the vehicle in the detected lane needs to be quieter. Additionally, a camera will take a clear picture of the loud vehicle with a readable license plate. These criteria should apply on a two-lane two-way (four total lanes) road and a one-lane two-way road (two total lanes).

For a final demo in this course, we can show video of the system meeting the previous criteria. In addition, we can do a demo in the lab with either people walking by or toy cars driving past with phones playing sound. The distances will be adjusted to work on lab-scale instead of road-scale for our demo.

Electronic Automatic Transmission for Bicycle

Tianqi Liu, Ruijie Qi, Xingkai Zhou

Featured Project

Tianqi Liu(tliu51)

Ruijie Qi(rqi2)

Xingkai Zhou(xzhou40)

Sometimes bikers might not which gear is the optimal one to select. Bicycle changes gears by pulling or releasing a steel cable mechanically. We could potentially automate gear changing by hooking up a servo motor to the gear cable. We could calculate the optimal gear under current condition by using several sensors: two hall effect sensors, one sensing cadence from the paddle and the other one sensing the overall speed from the wheel, we could also use pressure sensors on the paddle to determine how hard the biker is paddling. With these sensors, it would be sufficient enough for use detect different terrains since the biker tend to go slower and pedal slower for uphill or go faster and pedal faster for downhill. With all these information from the sensors, we could definitely find out the optimal gear electronically. We plan to take care of the shifting of rear derailleur, if we have more time we may consider modifying the front as well.

Besides shifting automatically, we plan to add a manual mode to our project as well. With manual mode activated, the rider could override the automatic system and select the gear on its own.

We found out another group did electronic bicycle shifting in Spring 2016, but they didn't have a automatic function and didn't have the sensor set-up like ours. Commercially, both SRAM and SHIMANO have electronic shifting products, but these products integrate the servo motor inside the derailleurs, and they have a price tag over $1000. Only professionals or rich enthusiasts can have a hand on them. As our system could potentially serve as an add-on device to all bicycles with gears, it would be much cheaper.

Project Videos