Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 24th August 2007, 07:14 PM   (permalink)
Default determine square wave width...

Hello,
I'm new so please bear with me.

I'm hoping to be able to use a PIC to determine the rising & falling edge of a square wave - If I have that info I can then determine the width of the pulse. I have a vague idea of how it can be done & only limited PIC programming experience (I was able to write a program & flash my PIC (16f84??) to get some LEDs to light up & blink)

Any help, comments, pics, etc. would be greatly appreciated! (what pins to use, can I hook up my signal directly to the pic (which pic, which inputs) or do I need some logic gates in between...???)



Thanks,
Jeff.
SirBeagle is offline  
Old 25th August 2007, 02:20 AM   (permalink)
Default

The 16F84 is a somewhat simple PIC, the cheaper and better 16F628A has a CCP module and one of its modes can be used for pulse width measurement.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Square wave to sine wave converter ghauri Electronic Projects Design/Ideas/Reviews 24 21st October 2008 06:23 AM
Converting a square wave into sine wave using a D/A converte khalifemazen Electronic Projects Design/Ideas/Reviews 6 21st May 2008 11:21 PM
square wave to sine wave tony Ben Electronic Projects Design/Ideas/Reviews 2 26th January 2005 05:05 AM
circuit help: square and sin wave input = square wave output spyghost Electronic Projects Design/Ideas/Reviews 2 28th April 2004 02:09 AM
LC filter- filtering a square wave to sine wave kken6248 General Electronics Chat 3 22nd April 2004 05:32 AM



All times are GMT. The time now is 09:53 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker