Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 10th October 2007, 01:51 PM   (permalink)
Default !!!NEED HELP!!!add in recorder voice in 18f4520

hi guys,


how do i add in a pre-recorder voice in the pic....and output it out through a speaker???


many thanks for your replies......
caltex is offline  
Old 10th October 2007, 03:04 PM   (permalink)
Default

i;m absolutely no idea, anyone?
__________________
http://www.henryelectronics.com
blinkstar88 is offline  
Old 10th October 2007, 04:28 PM   (permalink)
Default

Store the audio data as a table in the program memory, them read it sequentially and play it back out through a digital to analogue converter. Don't forget the low pass filter after the D2A.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 11th October 2007, 12:01 AM   (permalink)
Default

has Anyone comes across this?
caltex is offline  
Old 11th October 2007, 12:05 AM   (permalink)
Default

Quote:
Originally Posted by caltex
has Anyone comes across this?
What part of my explanation didn't you understand?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 11th October 2007, 12:23 AM   (permalink)
Default

BTc PICsound One-bit sound recording/playback on a PIC
3v0 is online now  
Old 11th October 2007, 02:21 AM   (permalink)
Default

Thanks, 3v0, that was a good solution for Q&D audio messages.
kenjj
__________________
All my pencils *used* to have erasers!
kjennejohn is offline  
Old 12th October 2007, 05:43 AM   (permalink)
Default

Quote:
Originally Posted by Nigel Goodwin
Store the audio data as a table in the program memory, them read it sequentially and play it back out through a digital to analogue converter. Don't forget the low pass filter after the D2A.

hi, i've converted the audio data to .asm table already. The problem now is, what is the code to play the audio? how shld i write it?

sorry about it.. im quite new to programming PIC
caltex is offline  
Old 12th October 2007, 06:21 AM   (permalink)
Default

Read from where you store the audio data, then use external DAC, either serial or parallel interface. You may need to amplify the converter's output.
__________________
Superman returns..
bananasiong is offline  
Old 12th October 2007, 07:57 AM   (permalink)
Default

Quote:
Originally Posted by caltex
hi, i've converted the audio data to .asm table already. The problem now is, what is the code to play the audio? how shld i write it?
Read first entry, output to D2A, delay for next byte.
Read second entry, output to D2A, delay for next byte.
Repeat until all done.

The delay time is dependent on your sampling rate.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Voice recorder without microcontroller Souper man Electronic Projects Design/Ideas/Reviews 10 16th June 2007 05:11 AM
how to have a voice input to telephone using a recorder and PIC rossu704 General Electronics Chat 1 14th February 2007 07:37 AM
Voice recorder using ADC and microcontroller 4electros General Electronics Chat 14 1st October 2006 08:27 PM
digital voice recorder piyush_it1 Micro Controllers 1 9th October 2005 02:45 AM
Voice recorder... Rescue1 Electronic Projects Design/Ideas/Reviews 5 22nd July 2005 12:46 PM



All times are GMT. The time now is 09:42 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker