Searching \ for '[PIC]:PIC16F877 jal code to beep 5s' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=16F
Search entire site for: 'PIC16F877 jal code to beep 5s'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]:PIC16F877 jal code to beep 5s'
2001\01\18@073646 by Vasile Surducan

flavicon
face
There is a better way using tmr1, with next routine pic is busy all
that 5 seconds just with delays...Maybe you want to sing a real song
Check at http://www.piclist.com/jal
By, Vasile
http://www.geocities.com/vsurducan/pic.htm


include f877_4
include jpic
include jdelay

-- noise generation procedure with variable tones

pin_d1_direction = output
var byte ton = 66

for 255 loop  -- 255 x 15 x 10uS x 2 x 66 = 5049 mS
 for 15 loop
  pin_d1 = high
  delay_10uS ( ton )
  pin_d1 = low
  delay_10uS ( ton )
 end loop
end loop


On Wed, 17 Jan 2001, Paul Chicofsky wrote:

{Quote hidden}

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\18@093718 by James Paul

flavicon
face
Vasile,

Correct me if I'm wrong, but if you have the output on for 10uS
and off for 10uS, that's a period of 20uS which equates to a
frequency of 50Khz, and this 50Khz signal would last for about
5 seconds.  So even if it was working, you wouldn't know it unless
you're a dog or cat or something.  Just a thought...

                                             Regards,

                                               Jim





On Wed, 17 January 2001, Vasile Surducan wrote:

{Quote hidden}

spam_OUTjimTakeThisOuTspamjpes.com

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\01\19@032912 by Vasile Surducan

flavicon
face
 He, he, I like your ideea with dogs...
but it's wrong because delay_10uS ( 66 ) means 660uS
so, 660uS x 2 ( one on one off ) = 1.2 ms
1/1.2mS = 833,(33) Hz which is a perfect buzz sound even for a human ear.
Cheers, Vasile


On Thu, 18 Jan 2001, James Paul wrote:

{Quote hidden}

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2001\01\19@093327 by James Paul

flavicon
face
Vasile,

Gotcha.  I see that now.  I should have paid a little more attention,
and I would have seen it before.   Sorry for bothering you.

                                        Thanks and Regards,

                                               Jim



On Fri, 19 January 2001, Vasile Surducan wrote:

{Quote hidden}

.....jimKILLspamspam.....jpes.com

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...