Electronics > Beginners

HOW TO SENSE 12 VOLT DC VOLTAGE USING MICROCONTROLLER?

<< < (4/8) > >>

wabhavkumar:
At input 2, mentioned in the above circuit, can we use 12volt?

Raj:
yes,
Ouch.I forgot to revaluate the r4, it should be 1k ohm for 12v

luiHS:

I convert any logical signal to 3.3v levels with a CD4050 or HEF4050 chip. For example, to read TTL 5v signals on a Kinetis microcontroller (there are no 5v tolerant ports available), or to check the status of switches that switch 12v voltages. This is for digital signals (high-low logical levels), not for analog signals.

HEF4050 include 6 buffers, so if you only need read one signal better work with a transistor or optocoupler, though HEF4050 is very cheap and do not need any additional component.

The voltage of the output signals in the HEF4050, will be the power supply voltage of the chip, between 3v and 15v, and the maximum voltage at the input is 15v.

If you want invert the input signal, then can use the HEF4049 or CD4049.

Raj:
A resistor divider with at most a zener diode is best...all the rest is overkill and expensive to be honest

wabhavkumar:
Please suggest Zener diode circuit to sense 12 V or 24V circuit instead of the optocoupler.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod