How to generate TONES with a microcontroller?

Home Forums Microcontrollers PIC Microcontroller How to generate TONES with a microcontroller?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7371
    vivekvs
    Member

    How can we generate musical tones with a microcontroller ? I am using PIC 16F877A
    😕

    #7387
    Ligo George
    Keymaster

    Connect a pin of the microcontroller to a piezoelectric speaker or an ordinary speaker (voltage and current ratings should be considered while connecting an ordinary speaker). Then you can generate a tone of particular frequency by making the pin high and low in that frequency.

    MikroC Pro for PIC Microcontrollers provides built in library routines for tone generation…………

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
>