This project tried to use four sonic sensors to make a fun and convenient music mixer that can be connected to headphones or speakers. The two sensors are a group, and there are two groups in the project. For each set of sensors, one sensor controls three different music, and the other sensor of the group controls the speed and volume of the music. Try using this product to create unique music in the party with your friends!
* Raspberry pi (with 3.5mm speaker output)
* PCB Board
* Four Ultrasonic sensor(HC-SR04)
* 2KΩ resistor(x4)
* 1KΩ resistor(x4)
* DuPont line
* keyboard and mouse(optional)
* Headphone or speaker
More information can be found here or wiki.
-
Before work:
-
main code:
- Procedure Oriented Programming: DJmixer_POP
- Object-Oriented Programming: DJmixer_OPP
- Object-Oriented Programming 2.0: DJmixer_OPP(2.0)
More information can be found wiki
- youtube: [Test video]
- hackaday io