So I was reading about Simple AutomaticLight Controller using LDR.
or with the help of LDRSenso. But I have LM393 Photoresistor (LDR) Sensor
I like to know are they same thing or somewhat different. So the way they work is detecting
light intensity and It is associated with both analog output pin and digital output pin labelled as AO and DO respectively on the board.When there is light, the resistance of LDR will become low according to the intensity of light. The greater the intensity of light, the lower the resistance of LDR.
And before that I was reading about Analog Piezoelectricity Ceramic Piezo Vibration Sensor For Arduino
So LDR sensor needs some kind of resister. And Analog Piezoelectricity Ceramic Vibration sensor needs some IC.
Can Anyone be specific to these specific resister and IC for each sensor types. I have them both as module for arduino Uno. I like to code in gcc avr. Thats how I am restricted. And will use C code to control but Can any please be briefly explain this type of resister for LDR sensor and Piezoelectric vibration sensor IC. Just few words to help me relate to some explanation and easily get poped in my mind when ever I hear about these two modules again. So Just some brief on this specific types of resister and IC related to these two modules why they needed how to code, and control through code
These are pictures of two sensors as Chrisl asked
https://www.daraz.pk/products/i140816069-s1300868385.html?urlFlag=true&mp=1
https://www.daraz.pk/products/i162290793-s1329534669.html?urlFlag=true&mp=1