Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Thanks for the opinion sir.
Yup. I have configure my device timer so that it can work for the CCP.
But when I compare with the actual interval time I get from my stop watch, seems like the interval time I get from the PIC will be around 0.8 sec slower. How do we make the time from the PIC accurate?
From the datasheet of the PIC18F25K22, we know that this mcu have the CCP function which we can capture and record the interval time between two signal from the same input.
I want to use the CCPR4 to record the time. May I know what is the maximum time interval I can get using this CCP...
Instead of 3 opto-isolator circuits, is there a possibilities that we can build one opto-isolator circuit to be able to accept a wide range of input voltage like for my case say from 5V to 24V? Like this I can save more space.
So, what you mean is we cannot straightaway connect the PLD signal (for my case: 24Vdc, 12Vdc or 5Vdc) to the opto-isolator? Is it that we have to scale the PLD signal to 1.8Vdc before inputting to the opto-isolator? Is it by using resistors to scale it like we talk before at the beginning of...
Thanks for the comment.
Back to the DC type of voltage from the PLC. Assume the PLC produce 0V as low voltage. May I ask, can we straightaway use a opto-coupler or opto-isolator? Opto-coupler or opto-isolator can also accept input of higher voltage (for my case 24V and 12V) and output with lower...
From u guys opinions, is it that I have to build 3 circuits to detect the signal for different PLC? One circuit for PLC with 5v signal,one circuit for PLC with 12v signal and one for PLC with 24v dignal.
Great example! Now I understand.. thanks!
- - - Updated - - -
U mentioned comparator can be programmed? Programmed by what? The PLC or my pic? Can explain more?
How do we build a comparator? Is it by external components? Or we programmed it?
Hi guys, I want to build a circuit of production counter display where when there is an output from a machine, it Wil produce a count signal n my display Wil start increment one.
The machines are using PLC and different machine will produce different voltage of count signal. Some are 5vdc...
I have a situation on my C programming here and just wondering whether my solution is the correct way:
I have a LED display with particle count sensor and will show 6 digit of seven segment numbers as the count value. The sensor will give voltage input value. The input is from 0V to...