Assignment #1 – TCP output from Arduino

For this assignment, I decided to stream data from a KY-030 Microphone Sound Sensor. The configuration is really simple using a TCP IN, FUNCTION, WRITE FILE, and DEBUG node. The sensor data I am getting normally shows values of around 170. When there is a loud noise or when I blow air into the microphone, the value increases from 500 to 1000. I write a simple function in node-red to only return values above 500, and add the word “loud” into the returned message. I then pass and save the data into a Txt file in my local directory.   

Problem:

My Arduino’s wifi module has a really bad connection. It is loose and misaligned, so I have to press really hard on it for it to be connected to the wifi. I wonder if there’s a way to fix it by soldering the metal part or hot glue it in place.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *