I would like to ask, how at what voltage level does the PIC detect the input as low? Full VSS (0V) or a little higher? For example 0.8V or something like that.
I would like to ask, how at what voltage level does the PIC detect the input as low? Full VSS (0V) or a little higher? For example 0.8V or something like that.
Look at the specs in the datasheets - they give minimum and maximum values for both high and low, and also for when the pins are set as Schmitt trigger inputs as well as TTL. It probably varies a little between different PIC's, but something like 0.8V would tend to be the lower limit of tolerance.
It's pretty well the same as most other logic devices.
You will find maximum voltage that will be considered as a logic zero and the minimum voltage that will be considered as a logic one in the electrical specification section of the data sheet for the particular PIC that you are using. If you want to detect a specific level then consider using a comparator input. (Assuming your PIC has a comparator module.)