首页 / 资料库 / 电路图
正的逻辑探针电路,Logic Probe Plus
2023-09-18 19:34:00
正的逻辑探针电路,Logic Probe Plus
This project is based on a probe logic states, capable of measuring levels from TTL (5v) to state levels of PLC's (24v). For this we have employed the use of the PIC 12F683 microcontroller, which by its nature is capable of operaTIng at low voltages, in this case 3vcc, besides having analog inputs and internal oscillator.
The circuit is supplemented by an input stage which will adapt the signal to the levels between the microprocessor is able to work and another output stage that will visually show the state in which the point is measured.
The input stage to include a voltage divider between R3 D5 and D1, their role is to establish a fixed value (/ - 2.80) for the input of the microcontroller which means that is in a state of high impedance, ie without input signal. When we apply the input signal DATA IN this will vary the voltage drop at point H so that the reading as we discriminate if this is higher or lower than the reference voltage.
The output stage is made up 3 LED (yellow = high impedance, Green = Red = logic 1 and logic 0).
The program also has an internal TImer to approximately 3 minutes between the microcontroller in sleep mode in which consumpTIon will be minimal, to save the battery. And it will reacTIvate the program until you press the button, starting over allowing timing and take readings we require.
Focusing on the program of the microprocessor, this is configured to work with internal oscillation 4Mhz and configuring its pin so that analog reading take from point H by the GP1 pin, which is defined for a resolution of 10 bits, pin GP2 will also be defined as input and will be connected through a resistor (PULL UP) and a secondary switch to ground, which will be responsible for collecting the press that forced the interruption level change in GP2 While the interruption occurs loads a value (2000) as a timer to make a loop past work and this time will be placed the microcontroller in sleep mode.
The program is also complimented inizialización a function which shows the blinking leds, to argue that this in active process and that at the end of this sequence we can take appropriate measures.
The bulk of the program is effected by a loop of reading and comparing the reading which collects and compares GP1 activating the corresponding output.
In order to function alone is sufficient to connect the ground wire to any metal part of the chassis or failing to ground.
the code is open and available to anyone who
want, just send an e-mail and ask.
PCBs
最新内容
手机 |
相关内容
FPGA学习笔记:逻辑单元的基本结构
FPGA学习笔记:逻辑单元的基本结构,结构,单元,逻辑运算,数字,信号,结构单元,FPGA(Field-Programmable Gate Array)是一种可编程逻辑器件支撑高端芯片研发,合见工软进军国产
支撑高端芯片研发,合见工软进军国产EDA全流程,软进,研发,芯片,布局,中国,垄断,合见工软(HuaJian Microelectronics)是一家专注于EDA(Ele基于单片金纳米线逻辑电路的多功能
基于单片金纳米线逻辑电路的多功能智能可穿戴设备开发,智能,可穿戴设备,逻辑电路,健康,分享,监测,随着科技的不断发展,可穿戴设备已电阻、电感与电容的区别
电阻、电感与电容的区别,常见,介电常数,电路设计,性是,单位,温度,电阻、电感和电容是电路中常见的三种基本元件,它们在电路中起着不如何设计一个对按键信号进行计数的
如何设计一个对按键信号进行计数的计数器?,计数器,信号,全加器,触发器,输出,输入,设计一个对按键信号进行计数的计数器可以通过使用数字电路中的计数器详解
数字电路中的计数器详解,计数器,数字电路,十进制数,触发器,用于,十进制,数字电路中的LM2575S-ADJ计数器是一种重要的组合逻辑电路,用ARM系列BC847BW芯片的解密方法
ARM系列BC847BW芯片的解密方法,解密,芯片,方法,样品,电路图,成分,BC847BW芯片是一款NPN通用双极型晶体管芯片,属于ARM系列产品。由于什么是移位寄存器?数字电路中的寄存
什么是移位寄存器?数字电路中的寄存器类型有哪些呢?,类型,寄存器,数字电路,有哪些,移位寄存器,触发器,移位寄存器NC7WZ14P6X是一种数