TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (403 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (130 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (140890 times)
  2. FAT32 Library (73482 times)
  3. Network Ethernet Library (58269 times)
  4. USB Device Library (48468 times)
  5. Network WiFi Library (44077 times)
  6. FT800 Library (43631 times)
  7. GSM click (30522 times)
  8. mikroSDK (29252 times)
  9. PID Library (27196 times)
  10. microSD click (26888 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

Make frequencies with PIC 16 or 18 in real decimal Hz, 0.0001 Hz to 50000.0000 Hz

Rating:

5

Author: Roman Black

Last Updated: 2012-09-15

Package Version: 1.0.0.0

Category: Timers (Real time clock)

Downloaded: 2132 times

Followed by: 1 user

License: MIT license  

This is a very simple TMR2 interrupt that automatically makes frequencies from 0.0001 Hz to 50000.0000 hz in actual 0.0001 Hz steps, from ANY xtal value. Code is for PIC 16F628A, but should work on any PIC 16 of 18 using TMR2.
(higher freq version)

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Make frequencies with PIC 16 or 18 in real decimal Hz, 0.0001 Hz to 50000.0000 Hz" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Make frequencies with PIC 16 or 18 in real decimal Hz, 0.0001 Hz to 50000.0000 Hz" changes.

Do you want to report abuse regarding "Make frequencies with PIC 16 or 18 in real decimal Hz, 0.0001 Hz to 50000.0000 Hz".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

Blog currently doesn't exist!

ALSO FROM THIS AUTHOR

Precision 1kHz sine wave with PIC 16F

6

Generates a sinewave with a precision sine waveshape and 1000.000 Hz frequency using a PIC 16F628A, 20MHz xtal and the PIC's internal PWM module. This can be used as a piece of test equipment. Complete project with schematics and photos is on this page; http://romanblack.com/onesec/Sine1kHz.htm

[Learn More]

Quality DTMF tone generation with PIC 16F or 18F (SmartGLCD)

6

Makes sine quality DTMF "touch-tones" for remote or telephone. The DTMF gen works on any PIC 16F or 18F that has 1 PWM module (both tones made by 1 PWM module!). DTMF includes "twist" to match telecomms standards. For SmartGLCD shows freq, code works on small PICs too! See Tut13; http://romanblack.com/SG/SG_tutorial.htm#DTMF

[Learn More]

Make accurate musical notes with PIC16 or PIC18 and any xtal value

0

This project makes high accuracy musical note frequencies, in the full 10 octave range (ie MIDI range). Simple functions for octave and note, or MIDI note. xtal value does not matter. Ideal for musical instrument tuners etc.

[Learn More]