tag:blogger.com,1999:blog-4681676246793118177.post2544518766835951176..comments2024-03-26T00:15:27.807-07:00Comments on Electronics The King of Hobbies!: MMC WAV PLAYER USING PIC16F877AVinod.Shttp://www.blogger.com/profile/04232137991089701907noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-4681676246793118177.post-80317699712229915552016-04-04T17:14:33.373-07:002016-04-04T17:14:33.373-07:00is the pic16f877a sorry a typo.is the pic16f877a sorry a typo.Anonymoushttps://www.blogger.com/profile/10570317673848904467noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-57468550489199582442016-04-04T17:13:56.499-07:002016-04-04T17:13:56.499-07:00Hi Vinod, i have a question about the code, can i ...Hi Vinod, i have a question about the code, can i have the timer2 of the pic16f887a running with interrup when the song is playing to make a pair of leds go on and off during the play of the wav file?Anonymoushttps://www.blogger.com/profile/10570317673848904467noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-40016849013413100032016-04-04T17:10:00.538-07:002016-04-04T17:10:00.538-07:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/10570317673848904467noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-29412872838161624832016-03-16T09:33:31.108-07:002016-03-16T09:33:31.108-07:00congratulations on the projectcongratulations on the projectValdirhttps://www.blogger.com/profile/05698223341598171140noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-28770134658170924592014-03-23T00:22:33.119-07:002014-03-23T00:22:33.119-07:00hi vinod.s i try to make simple mp3 ,now i can acc...hi vinod.s i try to make simple mp3 ,now i can access sd card and reads sample byte by byte but how can out this sample using pwm ( pwm freq_init,duty cycle)!!!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-19072659242231151522014-02-10T23:18:59.851-08:002014-02-10T23:18:59.851-08:00The code is very interesting and good for learning...The code is very interesting and good for learning FAT16 wav player.<br />The code will compile on HiTechC v9.83 with only a Warning [356]. Older HiTechC will not compile and have errors.<br />However, the code will not work as is due to the fat_init() function seem to have error. Below is the correction I have made and it works on SD card V1 formatted to FAT16 on windows PC.<br /><br />void fat_init() //BOOT SECTOR SCANNING//<br />{<br /> load_to_buf(0, 7); //Load MBR into buffer to look for Partition 1 LBA (Boot Sector Entry)<br /> bse_start = ((buf[0x07] << 8) + buf[0x06]); //Boot Sector Entry<br /> load_to_buf(bse_start, 0); // Load Boot Sector Entry to buffer <br /> fat_start = (bse_start + ((buf[0x0f] << 8) + buf[0x0e])); //Compute FAT Table Sector<br /> dir_start = (bse_start + ((buf[0x0f] << 8) + buf[0x0e]) + (((buf[0x17] << 8) + buf[0x16]) * 2)); <br /> data_start = (dir_start + ((((buf[0x12] << 8) + (buf[0x11])) * 32) / 512)); //DATA Area Start <br /> sect_per_clst = buf[0x0d];<br />}<br /><br />another missing information is the configuration bit setting. But my guess is<br />__CONFIG(FOSC_HS & PWRTE_ON & WDTE_OFF & BOREN_OFF & LVP_OFF);<br /> and should work. Hope this helps.<br />Kelvinhttps://www.blogger.com/profile/15961024938497524948noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-6424108948510410632013-12-18T12:44:24.783-08:002013-12-18T12:44:24.783-08:00i use your project in pratique but it is not work...i use your project in pratique but it is not work. please put us the good program in your site JKHhttps://www.blogger.com/profile/04682624179434021862noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-63772951060138138972012-12-07T01:07:09.846-08:002012-12-07T01:07:09.846-08:00sir,
i am new to microcontroller based projects.
i...sir,<br />i am new to microcontroller based projects.<br />i am looking forward to do a project as Smart Voltage Stabilizer Using PIC16F877A.<br />i wanted to know that how can i burn the program into the pic microcontroller. what are the hardware and software needed for this.<br /><br />regards,<br />akhilAnonymoushttps://www.blogger.com/profile/01660625932408785340noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-88928815969719473362012-05-17T06:11:21.945-07:002012-05-17T06:11:21.945-07:00HI, I don't have the mplap project files. I mi...HI, I don't have the mplap project files. I missed all those. Actually I did this code before learning proper C, it will be reflected in my code.<br />Anyway, why you are not trying to compile it using mplab hi tech c compiler?<br /><br />Note:<br />You can also check out my latest high quality wav player made using atemga32. It can even play wav files upto 160KHz sampling and I did it recently... http://blog.vinu.co.in/2012/02/tv-remote-controller-high-quality.htmlVinod.Shttps://www.blogger.com/profile/04232137991089701907noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-80791178015616228362012-05-17T04:13:01.882-07:002012-05-17T04:13:01.882-07:00hi ur hexfile isnt working :(
please help me
ca...hi ur hexfile isnt working :(<br /><br />please help me <br /><br />can u send mplab project file me ?muhammedhttps://www.blogger.com/profile/04993643396699138295noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-36865766075542958712012-05-09T13:47:27.247-07:002012-05-09T13:47:27.247-07:00I found your project by googling "wave player...I found your project by googling "wave player using pic". You gave me exactly wg=hat i need for my projec (and it's my first ). But the problem is , When i Try to extract the hex file from the c code using Hi-tech This error shows up:<br />Error [141] G:\ukyk.c; 7.21 can't open include file "p16f877a.h": No such file or directory.<br />I really don't know what to do .<br />Nebras from TunisiaNebras01https://www.blogger.com/profile/13972127964718866091noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-193202092505217912012-05-01T04:44:14.274-07:002012-05-01T04:44:14.274-07:00Hello Vinod, this project seems pretty cool. Howev...Hello Vinod, this project seems pretty cool. However, I'm having a hard time compiling your source code in MPLab with HI-TECH C. I could test your HEX file directly but the other problem I have is that I don't know how you connected your LCD display. I'm using a standard LCD with an HD44780 chipset (the most standard). I currently have it setup to be used in 4-bit mode (D4-D7). In your schematics above, you don't specify which pin is used for LCD R/*W nor how many data bits are used. Can you please provide me with some more details? It would be greatly appreciated. Thanks.<br /><br />Ben from CanadaBenoitQuebechttps://www.blogger.com/profile/13916235441148446563noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-13029641055631309482012-02-06T03:48:31.641-08:002012-02-06T03:48:31.641-08:00updated hexfileupdated hexfileVinod.Shttps://www.blogger.com/profile/04232137991089701907noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-28000924929558230682012-02-01T09:45:42.378-08:002012-02-01T09:45:42.378-08:00zip file is not right , it is empty ,could you ch...zip file is not right , it is empty ,could you check for us who is reading and deciding works on your projectmikonhttps://www.blogger.com/profile/15320655086621932771noreply@blogger.com