Home Community

Freq Gen Help! - Need input in Hz instead of period...
Welcome, Guest. Please login or register.
May 21, 2013, 02:37:40 AM
Home Help Search Calendar Login Register
News: trade your components on this new board: "Components trade"

Advertisements
No New Posts
Today at 01:39:33 AM
in
Advertisements
by google

+  Electronics-Lab.com Community
|-+  Electronics Forums
| |-+  Electronic Projects Design/Ideas (Moderators: Dazza, gogo2520, Herman the German)
| | |-+  Freq Gen Help! - Need input in Hz instead of period...
« previous next »
Pages: 1 [2] Print
Author Topic: Freq Gen Help! - Need input in Hz instead of period...  (Read 940 times)
Ldanielrosa
Sr. Member
****
Gender: Male
Posts: 326

I'm a Ttibetan ppreist!


View Profile
« Reply #14 on: April 16, 2007, 12:13:06 PM »

I guess I should have replied earlier, but here goes.

If the gizmo doesn't need to do anything else when it's putting out the frequency of choice, then what I've been working on may be of some value.  On a mothballed project that I will call a guitar tuner, I have some arithmetic subroutines that convert chosen frequency into a scaler value which is repetitively added to a 24 bit sum.  The top eight bits are then used to fetch a value from a table, which is fed to an output port.  An input pin is checked to determine if the halt button has been pressed, and failing that the cycle repeats at adding the scaler to the sum.

At a clock speed of 4MHz I can get just over 10kHz output, but not by much.  The DAC (R2R ladder) is external to the uC.
Logged

What is truth, and what is fact?
A truth is what you live or die by.
A fact can save or kill you.

Pages: 1 [2] Print 
« previous next »
Jump to:  

Advertisements
No New Posts
Today at 01:39:33 AM
in
Advertisements
by google


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!

 

 

Search Site | Advertising | Add your link here | Contact Us | Android TV Box
Elektrotekno.com | Free Schematics Search Engine | Electronic Kits | Electronic Accessories