IP Week-9 WIP

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-button diagram & script:

At the same time, my lecturer told me to explore more pattern design, so I going to think some different designs than before.

Comments

Popular posts from this blog

IP Week-14 Refine Concept & WIP

IP Week-11 Choose Design & Concept

IP Week-10 Prototype 1.0