Difference between revisions of "Crutooth"
Line 68: | Line 68: | ||
[https://learn.adafruit.com/usb-audio-cards-with-a-raspberry-pi/instructions Adafruit USB Adapter Setup] <br/> | [https://learn.adafruit.com/usb-audio-cards-with-a-raspberry-pi/instructions Adafruit USB Adapter Setup] <br/> | ||
[https://www.instructables.com/id/DIY-Bluetooth-Speaker-PartyBar/ Bluetooth Speaker Setup] <br/> | [https://www.instructables.com/id/DIY-Bluetooth-Speaker-PartyBar/ Bluetooth Speaker Setup] <br/> | ||
− | [https:// | + | [https://learn.adafruit.com/character-lcds/wiring-a-character-lcd LCD Screen Tutorial] |
<br/> | <br/> | ||
[https://engineersportal.com/blog/2018/8/23/recording-audio-on-the-raspberry-pi-with-python-and-a-usb-microphone Audio Input] <br/> | [https://engineersportal.com/blog/2018/8/23/recording-audio-on-the-raspberry-pi-with-python-and-a-usb-microphone Audio Input] <br/> |
Revision as of 18:41, 7 December 2018
Contents
Project Overview
Rowing, often referred to as Crew, is a sport in which a team of people (typically 8,4, or 2 rowers) are tasked with propelling their boat through the water as fast as they can. To do so, this group of people must simultaneously pull their oars through the water, thus moving the boat. To help facilitate this movement, each crew boat has a coxswain: a ninth person with the directive of steering the boat and giving commands to the rowers. An integral part of being a coxswain is being heard and understood by their rowers. To help the rowers hear their coxswain, there is a chain of water-proof speakers lining the underside of the boat. These speakers are connected to a small, watertight, computer that the coxswain talks into and gathers their information from. This computer, a CoxBox, is a deeply flawed piece of hardware. Due to the rigorous movement of the boat, the wiring system that holds all the various speakers and sensors in the boat often comes undone or is corroded by the water that inevitably gets into the boat. To fix this, CruTooth aims to wirelessly connect all the speakers and sensors in the boat, not only saving the crew team weight but also increasing the reliability of their tools.
Weekly Log
Team Members
Sam Manyak
Pavan Narahari
TA: Chance Bayles
Instructor: Prof. Jim Feher
Objectives
- Create a wireless speaker network consisting of at least 2 connected speakers
- Create waterproof and buoyant housing for all components
- Include an aux. input so as to broadcast other audio throughout the wireless speaker network
- Add a wireless network of gyroscopes to tell the rate at which the rowers are taking strokes
- Make all relevant information display to a simple LED display
Challenges
- Learning Raspberry Pi
- Connect Pi to multiple bluetooth speakers
- Stream microphone audio to speakers in real time
Gantt Chart
Budget
- Raspberry Pi 3: $34.99 (Supplied)
- Microcenter USB MIC: $4.99
- Bluetooth Transmitter: $25.99
- Gyroscope: $9.95 (Supplied by Pavan)
- LCD Display: $19.73
- O-Ring: $6.67+$$6.91 (shipping) $13.58 each
- Bluetooth Receiver x2 + Extra Speakers x4 +1A Lithium Battery Charging Module - Blue ($51)
- 2-Channel 3W PAM8403 Audio Amplifier Board: $7.60 x 2
- DEJI DJ-BL-5B Replacement 3.7V 900mAh Li-ion Battery for Nokia 3220 / N80 / 5300 / 5320XM - Black: $13.99x1
- Google Speaker Set: $4.99x2
- Wine Corks $13.99
- Extra Battery $6.99
- Total: $185.39
Results
After 15 weeks of work, CruTooth was able to achieve all of its functionality goals. The speakers were successfully built to receive audio simultaneously while also waterproof. The audio data was sent to the speakers successfully while also measuring and displaying an accurate stroke rating on a built-in LCD screen. Compared to our objective of "wirelessly connect(ing) all the speakers and sensors in the boat, not only saving the crew team weight but also increasing the reliability of their tools", we feel that we were immensely successful in our task. That being said, there were definite areas for improvement.
==Next Steps==
Speakers
The speakers, though fully functional and waterproof, were overly large and transmitted audio at a slight delay. After some testing, we determined that a nicer (and thus more expensive) audio receiver would solve this problem. Upon further research, we found that this Bluetooth converter would be better suited for our needs.
Additionally,
Poster
References
Adafruit USB Adapter Setup
Bluetooth Speaker Setup
LCD Screen Tutorial
Audio Input
PyAudio Class Documentation