The idea is to create a multipurpose small gadget to work as MP3 player and smart lamp.
I inspired my idea from my goal to create smart home devices with limited budget.
Using Fusion 360, I started designing my device.
Another Softwares:
Grabcad: To insert Components.
MC Master: For Drills and screws.
TinkerCad: To simulate my circuit.
After finishing my sketches on Fusion 360, I handled extracting parts from sketches on .DXF format.
Then I opened it on Lasercad to setup the lasercut properties so it can fit the laser cutter machine.
Softwares Used:
Fusion360
LaserCad
Materials used:
Plywood 3mm
Acrylic 3mm
Screws.
Nuts.
Machines used:
Malky lasercutter Machine
Acrylic Front part
Plywood Front Part
Right Side
Left side
Bottom side
Back Side
Input components:
ON/OFF switch: Turn ON and OFF the device.
Press Buttons: control MP3 Player and LED matrix
IR sensor to detect surrounding lights.
Sound Sensor: Another mood for turning on the device automatically.
Device is simply working when you turn on the power switch or clap your hand. Then it will work either Atomically as it will detect surrounding light and set Brightness depending on it. OR you can manually control it using Push buttons or mobile application.
Power supply for this project is 5v power adapter as all components only need 5v volts to work.
I wanted the code to act as follow:
For the LED Matrix:
Using a push Button control the mode of the LED matrix shown and an equalizer mood controlled by Sound sensor
For this to happen I created an IF condition with three programs each with a different pattern for the LED matrix.
For program 0 one to set the LED matrix on custom Fastled library mood.
For program 1 to set the LED matrix on Equalizer mood.
For program 2 to set the LED matrix on Custom Fastled library mood.
For the MP3 Module:
I wanted to control the Module with 5 push buttons, each of which control different function. and for this condition to be functioning I created another IF condition with each button, including Volume, play next, previous and Pause.
I was facing a problem on how to upload a component on Fusion360. And thanks to Eyad's help, I did easily uploaded them.
I was stuck in the coding process to control LED modes using a push button. And Ahmed Khalied our instructor give me the support to make it work properly.
I would work on a mobile app to control the LED matrix and Mp3 player with