![]() ![]() Int soundSensor = 8 //define Sound Sensor Pin The Drain output of the transistor then triggers the LED strip corresponding to the input sound signal. It also has a low Rds value which will help in increasing the efficiency of switching circuits. I RFZ44N is known for its high drain current and low switching time. The collector output of the transistor goes to the Gate of the IRFZ44N transistor. ![]() ![]() When D9 is set to high, the outDC signal acts as a control signal to the base of the BC547 transistor. Now, using the digitalRead() command, each time the sound sensor detects a sound (status sensor = 1) it sets the pin D9 of the controller to high using DigitalWrite(). Now to the working of the controller, D8 is defined as the sound sensor input while D9 is defined as the LED strip out using the pinMode() command. The module feeds the analog out at pin A0 of the controller & the digital out to pin D8 of the micro-controller. An AC audio Signal is taken as input by the KY – 038 sound sensor module. The working of this circuit is pretty simple. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |