Continue to Site

Welcome to EDAboard.com

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.

Variable Frequency From input button

Status
Not open for further replies.

codewiz

Member level 5
Member level 5
Joined
Sep 14, 2008
Messages
80
Helped
10
Reputation
20
Reaction score
8
Trophy points
1,288
Activity points
1,717
button frequency

I want to generate square wave oscillation using PIC16F873A with fixed duty cycle say 50% but i want to be able to change the frequency of oscillation from 1Hz to 1MHz by keying in the required value and make the PIC generate it. 20MHz crystal oscillator is used. pls, i need help on how to do this.
 

The internal PWM module cannot go as high as 1MHZ in small steps.
A software generator can also not be set in small steps.

If you need small steps you could use a DDS chip, connected to the pic.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top