Tuesday 1 August 2017

microcontroller - MCU Input Protection


I am working on a simple protection circuit for an I/O pin on an MCU. The device will be 3v battery powered. The MCU's I/O pin has a voltage tolerance of (GND - .6V) to (Vdd + .6V).




  1. Pull-to-ground Digital Input (Pulse Signals)

  2. Digital 24Vdc Input (from a thermostat)

  3. High-Frequency 24V Counter

  4. Pull-to-ground Serial Input (1200 baud - 9600 baud rates)


On the MCU will be an internal setting that will be used to decide what type of signal to look for and process, so this input circuit will just need to make sure that the MCU's I/O pin is protected no matter the input type (listed above).


Here is another one of my posts explaining my first attempts. The below circuit is a modification of the one recommended by @Jeroen3.


schematic


simulate this circuit – Schematic created using CircuitLab



So far the simulations look pretty good. Here is a voltage sweep of 0V-24V:


enter image description here


Frequency responses also look pretty good.


Does anyone have any experience with a similar circuit, suggestions, or can spot possible issues?




No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...