I love handicrafts and embroidery, I am also so fascinated with lights and colors so I wanted to make something that mixed fabrics and embroidery with electronics. also, I need specific conditions to have a good night's sleep regarding the level of light and sound so I thought of making a thing that gives me all things that I need and love, so then "ونَّاسة" had come.
This is the most thing that I found similar to what I wanted to do, and of course, I added some features to meet my needs.
I got inspired by this design so I thought of making a similar one.
so, I started my design process by, determining the size, I choose to be something around 20cm x28cm
so I draw the front face and then I used the sheet metal property to make the part that will contain the living hinge and then I draw the back part as
when it comes to the face part, I made 12 holes with 7.6 mm for holders of LEDs and a 15 cm circle to contain the embroidery part.
and holes for the potentiometer and push-button that will control the music and the speaker, and of course the holes for the speaker and light sensor.
also, I use extrude and combine properties to draw the holes and t-slots and the parts to assemble the parts.
You can see all the dimensions, the 2 circles with 3 cm diameter, i made them because i wanted to make some cover with wood for the push-button and the potentiometer, but I didn't actually :D
this is the sketch I used for the back part. it is a projection of the face part with some modification, the holes, and the size of the assembly parts.
this is the sketch i used to make the side part with sheet metal property.
this is how it is look like after making slots for assembly
so I unfolded the sheet to take the dimensions of this part
i projected the body to have the sketch, and then i made a new design to apply the living hinge.
i went to the InKscape to make the cuts for the living hinge and this is the values i used
so, I realized that this part is too long to be cut as one part. so I divided it into 2 parts, the top, and the bottom, and I made these shapes like puzzle parts to assemble together and applied the cuts of living hinge from Inkscape.
I mounted some components like breadboard and Arduino to make sure they will fit and make holes for them.
This photos show the design at different stages.
I tried to apply the living hinge inside the fusion 360 and here is the result, this video was my guide.
I used the laserwork program to prepare the dxf files that I extracted from fusion 360 to be cut by the laser cutter.
I used the laser cutter machine to cut the enclosure's parts.
and here are the parts after being cut.
you can see the parts while being cut in this video.
I assemble all parts together, but I noticed that it needs some glue to be completely assembled, so I did.
I got inspired by these embroideries work, I wanted to design a design that is tailored and expressive for me, so I choose a design for a Libra woman as I am a Libra myself and I adore the starry night by Van Gogh, so I came up with the final design.
I tried to assemble the final design by using my simple skills of using Photoshop program and then I applied it to the fabric.
Voalllllllllllllllllllla :)
the picture shows the components I have used and the connection.
so I used
18 LEDs
18 Resistor 220 ohm
LDR Module
RTC module
Arduino
on/off switch
9v adapter
Since it is a (ونًاسة) or night lamp, there is an on/off switch to allow the user to choose to turn it on or off, however, it will only show the time via LEDs in the daylight, but the user can choose to make it only an antique during the day.
whenever the user turns the switch on, the according led to the hour will light up and the LDR sensor will light the LEDs in the embroidery when the darkness comes.
Inputs: LDR Sensor module, RTC module, on/off switch
Action components:
18 LEDs, 12 of them are turning on according to the hour with the help of RTC
6 of them are turning on according to the readings coming from the LDR sensor.
the power source is a 9 v adapter, I used it to power Arduino, and I powered the LEDs from the Arduino directly.
I connected the adapter through a dc Jack and on/off switch.
first, I wanted to program the 12 LEDs that light up according to the hour, so I downloaded the RTC function and programmed each pin so it lights up when it represents the hour otherwise, it turns off.
then I tested the readings of the LDR module and I founded that it ranges from around 750 in room light to 1000 when it is so dark.
so I programmed the LEDs to stay off when the lightness is less than 750 and mapped the above readings.
at first, I used soldering to solder every resistor to a led of the 18 LEDs I used in this project. Then I connected the circuit as it shows in the diagram and power it.
I tested the device while powering the device from the USB and then I retested after connecting the 9v adaptor.
The final Result :)))))))))))))
I helped one of my peers with living hinge steps and she did a great job.
I received a lot of help with so many things regarding the code of the mp3 module and a lot of support.
I had a lot of challenges some of them I was able to overcome them but the others overcome me actually
I was able to get over the powering Arduino with the adapter. and I found the answer here https://technobyte.org/2016/07/power-up-the-arduino-uno/
what overcomes me is the mp3 module, I spent so much time trying to make it works, starting from finding a suitable library and trying to control it via Arduino ending up when I burned it :(
I will start with the sound circuit, I am thinking of using a mp3 module instead of the mini DF player.