Mturk Jobs

Mturk Jobs
Mturk Jobs

Tank

Wednesday, July 29, 2009

PIC 16F84 Sound Generation

Do you know that you can generate tones of sound with the PIC16F84?

Yes you can generate these tones similar to the Midi tones of the old mobile phones. This is a very simple and funny circuit and you can try it on the simulation software Proteus ISIS 7 before building it.

Actually the circuit is so small nearly contains no components other than the microcontroller, the crystal oscillator and some resistors.



The software generates the tones according to the predefined words which represent tones.

The circuit lets you choose one of two tones with two push buttons.

You can find the Proteus ISIS Design files DSN, Code ( Assembly ) and HEX file as a sample project in Proteus ISIS 7. From the menu bar , press open file . You 'll find the project under the Proteus --> Samples --> VSM for PIC16 --> PIC Doorbell.

So , open the design now and if you like , start building the circuit and make you own tones.

Have a nice time.




If you like this blog you can support us by many ways:
   
   1. Leave comments stating your point of view about this article.

   2. Buy our book on Amazon Learn By Making.

   3. Click on links of our sponsors without adding any extra cost on you if you make purchase from them. Actually, many of these offers are totally free.
  4. Visit our new website outatime.tech.

Thank you for visiting our blog.

Monday, July 13, 2009

New Microcontroller Chip : PIC16f917

Microchip PIC 16F917

I used the Microchip PIC 16F917 in simple programs and tried the good features of it. I ordered some samples from Microchip.com and they sent them to me. I searched online for a simple programmer that I use it to program the chip the same way I do with the PIC 16F84. I found it here . And I uploaded it here in case you couldn't find it .

The programming circuit is very simple and uses the serial port.

Here is the schematic diagram :



After you build this simple circuit, you can use the program to load the HEX file.

This is a snapshot of the software :





The Microchip PIC 16F917 microcontroller is a very nice and modern chip. You can find its datasheet here :



You can see the circuit I built lately here :



You 'll see more projects using this chip. And I 'll be posting projects for the PIC 16F84.

By the way, The PIC 16F917 is backward compatible with the PIC 16F84. That means if you write a code for PIC 16F84 in assembly or C or even compiled it to HEX file , you can still use it with the PIC 16F917 without a change in code or a recompilation.


Happy programming. Have a nice time.




If you like this blog you can support us by many ways:
   
   1. Leave comments stating your point of view about this article.

   2. Buy our book on Amazon Learn By Making.

   3. Click on links of our sponsors without adding any extra cost on you if you make purchase from them. Actually, many of these offers are totally free.
  4. Visit our new website outatime.tech.

Thank you for visiting our blog.

Tank