Searching \ for 'Producing Sound with PIC 16C84' 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/ios.htm?key=sound
Search entire site for: 'Producing Sound with PIC 16C84'.

Truncated match.
PICList Thread
'Producing Sound with PIC 16C84'
1995\12\26@141946 by Halldor Festveg Utne

picon face
I have a project with pic 16c84.
I need to connect a sound speaker to the pic and use that to produce sound.
I'm using a 4MHz crystal.
The sound should be like the sound of a PC car racing game, with=
acceleration.
(Or in that category)

Any ideas/suggestions would be appreciated.
Halldor Festv=E5g Utne
N-5774 Lofthus
Norway

Tel. :+47 53661286
Fax. :+47 53661465
Email:spam_OUTHalldorTakeThisOuTspamsn.no
Hpage:http://www.sn.no/~halldor/

1995\12\26@185243 by John Payson

flavicon
face
> I have a project with pic 16c84.
> I need to connect a sound speaker to the pic and use that to produce sound.
> I'm using a 4MHz crystal.
> The sound should be like the sound of a PC car racing game, with=
>  acceleration.
> (Or in that category)
>
> Any ideas/suggestions would be appreciated.

What does the PIC have to do besides producing the sound?  Also--which
PIC?  Something with interrupts?  A racing game shouldn't be too demanding
for sound--if the volume doesn't have to change even a 4KHz timer-tick-ish
interrupt should be sufficient.

1995\12\27@113123 by Myke Predko

flavicon
face
Hiya,

For Christmas this year, I created a little board which causes lights to
flash on a "Frosty the Snowman" for presents and which also plays the song.
I used an 'C84 running at 1MHz.  The sound generator uses an interrupt
handler which processes interrupts from the Prescaler and Timer.

The Interrupt Handler is table driven and consists of the frequency (ie the
Timer Counter) and duration (how many times the interrupt handler is
executed for this frequency).  The tune plays over and over (great for
relatives you *don't* like) waiting until a count of '\0' is encountered and
then goes back to the start of the table.

Hardware wise, an output pin is driving (in series) a 0.47uF cap, a switch,
and a Piezo-Speaker attached to Vcc.  To simplify tune development, I
created a couple of quick and dirty "C" programs for DOS which figure out
what are the frequencies for each of the notes and durations for different
lengths of notes.

The software is really optimized for this type of tune, there is no
capability to put in different volumes and pauses in the sound (Like I said,
great for relatives you *don't* like).

If you're interested, let me know and I'll send you a copy of the code,

Myke


{Quote hidden}

1995\12\28@083643 by Halldor Festveg Utne

picon face
Hello all out there !

I am very interested in all code examples I can get to the PIC 16C84.
Any ideas/suggestions would be appreciated.

Wish all out there a Merry Christmas and a Happy New Year !

Best regard
Halldor F. Utne
N-5774 Lofthus
NORWAY

Tel. :+47 53661286
Fax. :+47 53661465
Email:HalldorspamKILLspamsn.no
Hpage:http://www.sn.no/~halldor/

1995\12\30@064622 by mcneiok
flavicon
picon face
Myke wrote:
>
> Hiya,
>
> For Christmas this year, I created a little board which causes lights to
> flash on a "Frosty the Snowman" for presents and which also plays the song.
> I used an 'C84 running at 1MHz.  The sound generator uses an interrupt
> handler which processes interrupts from the Prescaler and Timer.
>

> If you're interested, let me know and I'll send you a copy of the code,
>
> >


I would also appreciate receiving a copy of the code.  Thanks.

.....mcneiokKILLspamspam.....hpa.ch.umist.ac.uk

1995\12\30@144204 by Juan Abba

flavicon
face
A copy of your code will be highly appreciated.
happy new year for you and the rest of the list participants

EraseMEjuanabbaspam_OUTspamTakeThisOuTax.ibase.org.br

{Quote hidden}

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