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 26th December 2007, 09:43 AM   (permalink)
Default storing a wave file on the rom flash of mcu

I have a wave file on my computer , its time is 3 seconds , I want to stroe it in the flas of microcontroller.
pls how can I do that .
kasser is offline  
Old 26th December 2007, 12:26 PM   (permalink)
Default

Not an easy thing to do.

PICs do not have the hardware to play wave files.
They may or may not have enough PIC flash mem to store the file.

What exactly are you wanting to do.
3v0 is online now  
Old 26th December 2007, 12:55 PM   (permalink)
Default

EPE did a project the other year, it plays WAV files back from an external EEPROM - it was called 'Halloween Howler'.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 26th December 2007, 04:44 PM   (permalink)
Default

Perhaps Roman Black's BTcSE11 can help?
http://www.romanblack.com/picsound.htm
__________________
Superman returns..
bananasiong is offline  
Old 11th January 2008, 06:57 AM   (permalink)
Default

can some one provide the algorithm for playing the output of Roman Black's Program?

I mean.. it gives you the frequency at which the bits should be read.. and it gives you the bits in blocks of eight.. erm bytes..

But how do you continiously cycle through all the bits??

I really really really really .. like alot of people here... want to add sound to my projects..

can anyone solve this one?
__________________
"Stick around" - Arnold Schwarzenegger in The Predator after impaling a soldier to a wood post

9vDC Guitar Pedal PSU

PIC16F84a Game Module
Peter_wadley is offline  
Old 11th January 2008, 04:53 PM   (permalink)
Default

The 18F have a table read command that would be handy for reading a large table right out of Flash memory. You could write a fancy 16F program that sorts out using large tables when using "retlw" else you'll need an external EEPROM.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 15th January 2008, 07:39 AM   (permalink)
Default

Some of you might find this to be a pretty good watch

http://www.youtube.com/watch?v=DYIy5YnvymI

(Happy birthday song on a MCU)
__________________
"Stick around" - Arnold Schwarzenegger in The Predator after impaling a soldier to a wood post

9vDC Guitar Pedal PSU

PIC16F84a Game Module
Peter_wadley is offline  
Old 15th January 2008, 08:09 AM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
The 18F have a table read command that would be handy for reading a large table right out of Flash memory. You could write a fancy 16F program that sorts out using large tables when using "retlw" else you'll need an external EEPROM.
Many of the newer 16F series have read and write to flash which is very similar to the table read command on the 18F. I think the problem with the 16 series would be lack of available flash.

Mike.
Pommie is online now  
Old 15th January 2008, 04:21 PM   (permalink)
Default

Quote:
Originally Posted by Pommie
Many of the newer 16F series have read and write to flash which is very similar to the table read command on the 18F. I think the problem with the 16 series would be lack of available flash.

Mike.
Also the 18F can store two bytes per word, the 16F one byte per 14bits unless you're writing some pretty fancy software.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 15th January 2008, 04:30 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
Also the 18F can store two bytes per word, the 16F one byte per 14bits unless you're writing some pretty fancy software.
I normally store 2 ascii characters per location. If I was storing a wav file then I think I would store 2 x 7 bit samples per location.

Mike.
Pommie is online now  
Old 15th January 2008, 04:49 PM   (permalink)
Default

doh, brilliant.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Logic circuit for two cameras and one flash. Hermit Electronic Projects Design/Ideas/Reviews 30 10th December 2007 04:26 AM
MMC Wave File Player Inferno Electronic Projects Design/Ideas/Reviews 2 6th April 2007 12:56 PM
How to reset SCR used for triggering camera flash shootfirst Electronic Projects Design/Ideas/Reviews 20 28th September 2005 09:40 PM
electronic switch to enable a camera to fire a flashgun tony ellis Electronic Projects Design/Ideas/Reviews 10 30th September 2004 11:19 AM



All times are GMT. The time now is 03:21 AM.


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

eXTReMe Tracker