As we all know, NE555 is a timing IC that is often used to generate different duty cycles and frequencies. Some time ago, due to design needs, a microcontroller was used to control NE555 so that it could regularly output pulses with a duty cycle of 50%, 5Vpp, and 1KHz. frequency, so after consulting a large amount of information and simulation, we designed an optocoupler chip that can be controlled by the high and low output of the microcontroller IO port, thereby realizing the function of NE555 timing pulse generation.
The circuit simulation diagram is as follows. Among them, the switch can simulate the high and low signals (HIGH or LOW) given by the IO port of the microcontroller. When the switch is turned off (that is, when the IO port gives high level), the NE555 output port is high level; when the switch When closed (that is, when the IO port is given a low level), the NE555 output port is a square wave pulse with a duty cycle of 50% and a frequency of 1KHz, as follows (the lower part of the picture is an oscilloscope waveform, you can check its duty cycle and frequency) :
Now the PCB has been received and tested after power-on. When the IO port is given a low level, its output waveform is as follows:
It can be seen that the waveform display is good, but there is still a deviation between the frequency and the simulation result, mainly due to the deviation between the resistance value and the capacitance value. Weld the 10nF capacitor and test it with a multimeter. The capacitance value is about 13nF, and the resistance is about 1 % deviation, thus causing inconsistency with the simulation results. You can make slight changes when using the circuit.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet