Posts

Showing posts from January, 2022

IP Week-11 Choose Design & Concept

Image
Based on two designs from last week, I chose to use trees as my design concept. Concept (Tree):  The road to success is always difficult, just like the process of growing a sapling into a big tree. When the user puts down the phone, the trees have a white light that fades in and out, which means they're trying to grow (to achieve success). When the user picks up the phone, the tree shows an orange fade, which means the tree has no input and it going to dies. After 20s, if the user still hasn't put the phone back on the Dock, the tree will show the red light fading out (the tree is dead). Function test: Stop timer Timer sound & light effect The sounds effect used in the prototype: https://www.youtube.com/watch?v=1TTSWWobIQE https://www.youtube.com/watch?v=0tOn5hWBTjs

IP Week-10 Prototype 1.0

Image
This week I simply experimented with different states of buttons to show different lighting effects. Press and hold the button to display a light blue breathing light effect; release it, there will be a dark blue light effect for 2 seconds; press it again quickly to cancel the dark blue light effect immediately. Besides, I have also reduced the power sources of the prototype. Previously it required 2 power sources to work (one for Arduino, another one for wireless charger). Now I extend the wires from 5v2a adapter to provide power for Arduino and wireless charger. Now it looks cleaner than before. before: now: RGB lighting effect: After that, I successfully made the RGB have different effects according to the button state, and I integrated the DFPlayer mini into the component. When the button is pressed, DFPlayer mini will start playing the sound; when the button is released, the sound will stop. When all the components are ready, I start integrating them into a certain size. To be mor...

IP Week-9 WIP

Image
The new relay arrived this week and I tried it immediately. As a result, I found that it still does not work properly as well. After I went to the forum to find information, I found that it was not working properly because of insufficient power supply. The post helps me to recognize the relay not working problem. https://electronics.stackexchange.com/questions/87872/do-i-have-a-bad-relay-module After that, I inserted the wire of in1 into 3v or GND according to the method of the forum, and the relay can work normally. Besides that, the push button I purchased also arrived, so I tried it too. With these codes, now I can power down and power up with the push button. I tried to integrate this code with the RGB code, but it didn't work. After a few days, I integrate a simpler RGB code and it worked. And also, I realize the relay is a bit different from other components because the relay will only switch normally open (NO) to close when the digitalWrite = LOW.   I used this push-but...

IP Week-8 WIP

Image
This week I started experimenting with connecting wireless charging to an Arduino and using a relay to control the electricity. I refer to this image to connect. https://www.circuitbasics.com/setting-up-a-5v-relay-on-the-arduino/ First, I tried connecting the wireless charging transmitter directly to the relay and Arduino, but it didn't work. Then I found out that the wireless charging transmitter can't work without a small chip, so I installed the wireless charging transmitter back to the original chip. Then I have a quick try, it works just fine. After that, I continued to connect the wireless charging transmitter to the relay and Arduino, but it still doesn't work. Then I connected the wires to relay normally close and common and the wireless charger worked. So I guess this relay is broken. I am going to buy a new relay this week. I have roughly estimated the space required for the bottom, which is about 2.5 - 3cm in height. This thickness is still acceptable. I hope t...