Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

2 square waves 1 pic

Status
Not open for further replies.

bee

Member
Is it possible to output a 457khz square wave and another wave in the hz region at the same time , With a 12f675 and mikro c , I thought about interupts but that stops the original operation,

Regards
Bernie
 
The interrupt would be so short you'd never notice the original operation stopping. It would occur too fast to be human perceivable.
 
Nope, not possible. Use a faster chip, the 12F675 with a 20MHz crystal will have only 5 instructions between changing pin states and that will only give you 500kHz, not 457kHz.

Mike.
 
some PICs have a NCO that might do the job.

Application note TB3071 shows using a NCO to get frequencies in the range of 16 Hz to 500 kHz using a PIC10F322,
 
Thanks for the replys , I have been on google most of the day and didnt find much , I will try it with a interupt in the code , as i only have 12f675 on hand , If no good will lokk at a faster/ different chip

B


ps ;Ron i just googled (NCO) that could work
 
Thanks fellas
I got it working with a simple if loop the program worked but still not good for transmitting , Back to the drawing board

Bernie
 
Status
Not open for further replies.

Latest threads

Back
Top