Hi! Can some one help me with Arduino codes for converting analog signal to digital signal.
There four input analog signal wishing to convert each them to digital signal.
Hi! Can some one help me with Arduino codes for converting analog signal to digital signal.
There four input analog signal wishing to convert each them to digital signal.
First off, I don't see why you are using analogRead(), unless your switches in your schematic are just representations of something that outputs an actual analog signal - You are not reading Analog. Your pins will see either LOW (switch close) or HIGH, assuming the internal pullups are set. So why not use Digital pins for this?
First off, I don't see why you are using analogRead(), unless your switches in your schematic are just representations of something that outputs an actual analog signal - You are not reading Analog. Your pins will see either LOW (switch close) or HIGH, assuming the internal pullups are set. So why not use Digital pins for this?
My switches in my schematic are just representations of something that outputs analog signal,I have set threshold value for each pin