Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 29, 2024, 02:23:36 14:23


Login with username, password and session length


Pages: [1]
Print
Author Topic: SIngle CHIP Sd-MMC player  (Read 5716 times)
0 Members and 1 Guest are viewing this topic.
murugan
Newbie
*
Offline Offline

Posts: 16

Thank You
-Given: 24
-Receive: 5


« on: May 21, 2011, 07:38:57 07:38 »

hi every one
want a project using avr and sd-mmc please visit following website or download attachment
http://elm-chan.org/he_a_e.html


Logged
DarkClover
Active Member
***
Offline Offline

Posts: 169

Thank You
-Given: 37
-Receive: 60


Still alive...


« Reply #1 on: July 14, 2011, 08:47:55 20:47 »

Well, as long as the files on the SD-Card are in raw format there are just
minor problems.

According to the schematics you posted, the data would be MIDI or something
similar to this.
If you want to play raw music files (like raw encoded WAV) you need a DAC before
the speakers or simulate the soundwaves using PWM (the capacitors filter the HF-parts)
Logged

Not thinking means to believe what others say!
TRY & ERROR... the fundamental principle our existence is based on
rtm
Junior Member
**
Offline Offline

Posts: 53

Thank You
-Given: 90
-Receive: 71


a.k.a. klug


« Reply #2 on: July 23, 2011, 05:49:42 05:49 »

DarkClover,

here is the trick: this player with 8-pins chip is palying raw WAV by using PWM. Attiny85 has 2-channel high speed PWM, so it is very sutable for this, as it does not need output low band filter after high speed PWM.
Logged
DarkClover
Active Member
***
Offline Offline

Posts: 169

Thank You
-Given: 37
-Receive: 60


Still alive...


« Reply #3 on: July 23, 2011, 11:33:14 11:33 »

DarkClover,

here is the trick: this player with 8-pins chip is palying raw WAV by using PWM. Attiny85 has 2-channel high speed PWM, so it is very sutable for this, as it does not need output low band filter after high speed PWM.

Thats very nice! I thought about that in my post Smiley

Well, does the ATtiny85 emulate some filesystem for the SD card or
just read the data blocks from it ?
Logged

Not thinking means to believe what others say!
TRY & ERROR... the fundamental principle our existence is based on
rtm
Junior Member
**
Offline Offline

Posts: 53

Thank You
-Given: 90
-Receive: 71


a.k.a. klug


« Reply #4 on: July 23, 2011, 05:33:08 17:33 »

DarkClover,

the author of this toy is a conjurer: he has made a special module for small microcontrollers that uses only few dozens bytes of memory - Petit FatFs. It is working with true FAT on the card with only a few small restrictions in writting.
Logged
DarkClover
Active Member
***
Offline Offline

Posts: 169

Thank You
-Given: 37
-Receive: 60


Still alive...


« Reply #5 on: August 01, 2011, 09:07:43 21:07 »

Thanks for the hint rtm!
I know elm since I started with programming microcontroller but I didn't notice that he
had designed such a small FS.

I really can use that kind of stuff for my new picture badge project. Since it's quite fast
I can even display some videos or animations. And because it's so small I have enough
space for transitions or blending Smiley
Logged

Not thinking means to believe what others say!
TRY & ERROR... the fundamental principle our existence is based on
DarkClover
Active Member
***
Offline Offline

Posts: 169

Thank You
-Given: 37
-Receive: 60


Still alive...


« Reply #6 on: September 18, 2011, 08:32:25 20:32 »

Update...
It really was a success. My badge can even display some small animated pictures now. When my prototype and it's code is finished I'll put all the data up here. Thanks anyway.
Logged

Not thinking means to believe what others say!
TRY & ERROR... the fundamental principle our existence is based on
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC