Elektronik / Mikrodenetleyici Projeleri/

PIC16F876A SanDisk Sd Kart Ses Kayıt, Çalma

Ses kayıt devresi pic16f876a mikrodenetleyici üzerine kurulu ek olarak bir kaç pasif komponent ile devre kurulmuş sd kart üzerine kayıt yapabiliyor stop, play, record, pause fonksiyonları var pic16f876a 2 numaralı bacağından ses girişi yapılıyor ek olarak preanfi ile mikrofonda bağlanabilir.. Ses kayıt devresine ait kaynak PIC C ve hex kodları var.

PIC16F876A SD CARD SOUND RECORDER PIC16F876A’s ADC digitises the sound and store it in the SD card (not SDHC). The PIC’s CCP is used as a DAC to convert the digital data back to audio. The sound is converted to 20KHz 8 bits mono in a format similar to *.wav files. The quality of the audio is reasonable. SD card interface the PIC in SPI mode. Reading and writing data is in multi-blocks. Memory is used at the rate of 20KB/s. The Error LED indicates error sent by the SD card. The software doesn’t use any file system, it just uses absolute memory addresses (raw). Since the programme is less than 680 bytes there is much resources left for adding features. Audio input is 1Vp-p , you can use the mic circuit or other source. The CCP in PWM mode gives 20KHz wave with duty cycle modulated to the audio amplitude. A low pass filter removes the 20KHz component. I added a simple 2 transistors amplifier to boost the power to drive 32 Ohm speaker or headphones.

File will compile with the free Hi-Tech C compiler. Recording is done by the ADC using only the LSB. Bytes are written to the SD
at the rate of 20KHz. It is similar to the format of .wav sound files. For playback CCP is used as a DAC (Digital to Analogue Converter).

sd-card-sound-recorder-microchip-sdcard-20khz-sandisk

Kaynak: moty22.co.uk/sd.php alternatif link: PIC16F876A SanDisk Sd Kart Ses Kayıt, Çalma

Dosya indirme LINK listesi (TXT formatında) link-19628.zip şifre-pass: 320volt.com

  1. Hasan 2012/09/10
  2. Alper 2012/11/08
  3. Janer 2012/11/27
  4. ErtuğruL 2013/03/11
    • Hüseyin FINDIKÇI 2015/06/16
  5. mustafa ünlü 2013/12/22
  6. ahmet 2014/02/01
  7. Hüseyin FINDIKÇI 2015/05/06
  8. Hüseyin FINDIKÇI 2015/05/27
  9. Hüseyin FINDIKÇI 2015/05/27

Yorum

Soru: