+ Post New Thread
Results 1 to 18 of 18
  1. #1
    Member level 2
    Points: 600, Level: 5

    Join Date
    Aug 2012
    Posts
    44
    Helped
    0 / 0
    Points
    600
    Level
    5

    Interfacing SD Card to PIC16F Using Hi-Tech C Compiler

    thank u...finally i have got accurate result...can u tell me about the difference between sd and micro sd card? i used micro sd for my voice recognition circuit but it shows error

  2. #2
    Full Member level 3
    Points: 993, Level: 7

    Join Date
    Jan 2012
    Location
    madurai
    Posts
    189
    Helped
    8 / 8
    Points
    993
    Level
    7

    Re: motor control with atmega8

    hi

    sd card is directly connected to µc, but micro sd card is connect using adapter to interface with µc.
    regards
    madhu



  3. #3
    Advanced Member level 5
    Points: 33,525, Level: 44
    Achievements:
    Created Album pictures Created Blog entry 7 years registered
    tpetar's Avatar
    Join Date
    Sep 2010
    Location
    Pancevo-Belgrade, Serbia
    Posts
    6,427
    Helped
    1731 / 1731
    Points
    33,525
    Level
    44

    Re: motor control with atmega8

    Quote Originally Posted by madhusuthanan View Post
    hi

    sd card is directly connected to µc, but micro sd card is connect using adapter to interface with µc.

    Voltage 3,3V ? Both cards must have adequate leveling and for both you can use adapter or just simple signal leveling with zenerz and some resistors.


    Quote Originally Posted by nishat anjum khan View Post
    thank u...finally i have got accurate result...can u tell me about the difference between sd and micro sd card? i used micro sd for my voice recognition circuit but it shows error
    Check pins for start.

    “Let the future tell the truth, and evaluate each one according to his work and accomplishments. The present is theirs; the future, for which I have really worked, is mine.” Nikola Tesla



    •   Alt6th September 2012, 15:02

      advertising

        
       

  4. #4
    Member level 2
    Points: 600, Level: 5

    Join Date
    Aug 2012
    Posts
    44
    Helped
    0 / 0
    Points
    600
    Level
    5

    Re: motor control with atmega8

    i have written a code to initialize sd card for my project...here is my code and circuit


    is it ok?



  5. #5
    Administrator
    Points: 37,998, Level: 47
    Achievements:
    Created Album pictures Created Blog entry 7 years registered
    alexan_e's Avatar
    Join Date
    Mar 2008
    Location
    Greece
    Posts
    11,892
    Helped
    2088 / 2088
    Points
    37,998
    Level
    47
    Blog Entries
    6

    re: Interfacing SD Card to PIC16F Using Hi-Tech C Compiler

    Please don't mix several subjects in the same thread.
    The sd card related discussion is not related to the motor control so I have moved this in a new thread.
    Please don't make requests for help in private using PM. Create a thread in the forum so that other members can benefit from the posted answers.

    Consider reading this before posting : How To Ask Questions The Smart Way



  6. #6
    Administrator
    Points: 69,157, Level: 64
    Achievements:
    Created Album pictures Created Blog entry 7 years registered
    bigdogguru's Avatar
    Join Date
    Mar 2010
    Location
    Southwest, USA
    Posts
    9,832
    Helped
    2352 / 2352
    Points
    69,157
    Level
    64
    Blog Entries
    4

    re: Interfacing SD Card to PIC16F Using Hi-Tech C Compiler

    If you have not already reviewed Joonas' excellent four part AVR based FAT and SD tutorial you might wish to do so:

    Simple FAT and SD Tutorial Part 1

    BigDog
    The Edge... there is no honest way to explain it, because the only people who really know where it is are the ones who have gone over.
    -- Hunter S. Thompson



    •   Alt6th September 2012, 17:56

      advertising

        
       

  7. #7
    Member level 2
    Points: 600, Level: 5

    Join Date
    Aug 2012
    Posts
    44
    Helped
    0 / 0
    Points
    600
    Level
    5

    re: Interfacing SD Card to PIC16F Using Hi-Tech C Compiler

    i have written my code in hitech c for pic16f...but this isn't executed properly...some problem occured for read and write on sd card



    •   Alt6th September 2012, 18:37

      advertising

        
       

  8. #8
    Administrator
    Points: 37,998, Level: 47
    Achievements:
    Created Album pictures Created Blog entry 7 years registered
    alexan_e's Avatar
    Join Date
    Mar 2008
    Location
    Greece
    Posts
    11,892
    Helped
    2088 / 2088
    Points
    37,998
    Level
    47
    Blog Entries
    6

    re: Interfacing SD Card to PIC16F Using Hi-Tech C Compiler

    So this is not for AVR but for PIC?
    Please don't make requests for help in private using PM. Create a thread in the forum so that other members can benefit from the posted answers.

    Consider reading this before posting : How To Ask Questions The Smart Way



  9. #9
    Member level 2
    Points: 600, Level: 5

    Join Date
    Aug 2012
    Posts
    44
    Helped
    0 / 0
    Points
    600
    Level
    5

    re: Interfacing SD Card to PIC16F Using Hi-Tech C Compiler

    yup..it will be really helpful if u can help me...



  10. #10
    Administrator
    Points: 69,157, Level: 64
    Achievements:
    Created Album pictures Created Blog entry 7 years registered
    bigdogguru's Avatar
    Join Date
    Mar 2010
    Location
    Southwest, USA
    Posts
    9,832
    Helped
    2352 / 2352
    Points
    69,157
    Level
    64
    Blog Entries
    4

    re: Interfacing SD Card to PIC16F Using Hi-Tech C Compiler

    Quote Originally Posted by nishat anjum khan View Post
    yup..it will be really helpful if u can help me...

    So why are you posting under the title "ATMEGA8" ?
    The Edge... there is no honest way to explain it, because the only people who really know where it is are the ones who have gone over.
    -- Hunter S. Thompson



  11. #11
    Administrator
    Points: 37,998, Level: 47
    Achievements:
    Created Album pictures Created Blog entry 7 years registered
    alexan_e's Avatar
    Join Date
    Mar 2008
    Location
    Greece
    Posts
    11,892
    Helped
    2088 / 2088
    Points
    37,998
    Level
    47
    Blog Entries
    6

    re: Interfacing SD Card to PIC16F Using Hi-Tech C Compiler

    He didn't , he started posting this in his previous thread that was motor control with mega8 and I have decided to move the posts to a new thread because the SD card discussion that started after the motor control was solved was a different subject but actually it was worse than I thought, it was or a different mcu too!
    Please don't make requests for help in private using PM. Create a thread in the forum so that other members can benefit from the posted answers.

    Consider reading this before posting : How To Ask Questions The Smart Way



  12. #12
    Administrator
    Points: 69,157, Level: 64
    Achievements:
    Created Album pictures Created Blog entry 7 years registered
    bigdogguru's Avatar
    Join Date
    Mar 2010
    Location
    Southwest, USA
    Posts
    9,832
    Helped
    2352 / 2352
    Points
    69,157
    Level
    64
    Blog Entries
    4

    Re: Interfacing SD Card to PIC16F Using Hi-Tech C Compiler

    I have changed the title to reflect the true topic of discussion.

    Please post your source code using CODE/SYNTAX tags or zip it into a single file and upload.

    BigDog
    The Edge... there is no honest way to explain it, because the only people who really know where it is are the ones who have gone over.
    -- Hunter S. Thompson



  13. #13
    Member level 2
    Points: 600, Level: 5

    Join Date
    Aug 2012
    Posts
    44
    Helped
    0 / 0
    Points
    600
    Level
    5

    Re: Interfacing SD Card to PIC16F Using Hi-Tech C Compiler

    this is my code and circuit...and sorry as i didn't change the title



    •   Alt6th September 2012, 19:47

      advertising

        
       

  14. #14
    Full Member level 3
    Points: 993, Level: 7

    Join Date
    Jan 2012
    Location
    madurai
    Posts
    189
    Helped
    8 / 8
    Points
    993
    Level
    7

    Re: Interfacing SD Card to PIC16F Using Hi-Tech C Compiler

    hi

    do you check it in simulation? it works fine then check there s problem in hardware.
    regards
    madhu



  15. #15
    Member level 2
    Points: 600, Level: 5

    Join Date
    Aug 2012
    Posts
    44
    Helped
    0 / 0
    Points
    600
    Level
    5

    Re: Interfacing SD Card to PIC16F Using Hi-Tech C Compiler

    i tried...but in simulation i had to fave problems due to sd card...can u check it plz??



  16. #16
    Full Member level 3
    Points: 993, Level: 7

    Join Date
    Jan 2012
    Location
    madurai
    Posts
    189
    Helped
    8 / 8
    Points
    993
    Level
    7

    Re: Interfacing SD Card to PIC16F Using Hi-Tech C Compiler

    hi

    do you read the audio & play it?
    regards
    madhu



  17. #17
    Member level 2
    Points: 600, Level: 5

    Join Date
    Aug 2012
    Posts
    44
    Helped
    0 / 0
    Points
    600
    Level
    5

    Re: Interfacing SD Card to PIC16F Using Hi-Tech C Compiler

    yes...but according to the code error led is on which indicates the problem of sd card to read or write...do u simulate it? is it working?



  18. #18
    Full Member level 3
    Points: 993, Level: 7

    Join Date
    Jan 2012
    Location
    madurai
    Posts
    189
    Helped
    8 / 8
    Points
    993
    Level
    7

    Re: Interfacing SD Card to PIC16F Using Hi-Tech C Compiler

    no, there is missing some files, audio & SD card. you remove sd card & then use as play back & test it
    regards
    madhu



--[[ ]]--