Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    WiPy with external MicroSD card module

    Scheduled Pinned Locked Moved WiPy 2&3
    wipyspisd card
    8 Posts 2 Posters 2.5k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      spacelggo
      last edited by

      Hi,

      I am looking at a project combing the WiPy with the following MicroSD card module:
      https://www.dfrobot.com/wiki/index.php/MicroSD_card_module_for_Arduino_(SKU:DFR0229)

      I understand the WiPy has a native SDCard interface. The MicroSD card module however has an SPI interface.

      Will I be able to connect to the MicroSD module using the native SDCard interface or will I need to use SPI?

      L 1 Reply Last reply Reply Quote 0
      • L Offline
        livius @spacelggo
        last edited by livius

        @spacelggo
        You can use native by simple wiring.
        you need only DAT0, CLK, CMD and power :)
        P8: DAT0, P23: SCLK and P4: CMD

        look at "sample" and forgot about other lines like DAT3..
        alt text

        SPI you can use also but current driver is very slow.

        think about people first, then computers

        1 Reply Last reply Reply Quote 0
        • S Offline
          spacelggo
          last edited by

          Thanks Livius.

          The MicroSD module only has the following pin-outs
          MISO
          SCK
          SS chip Select
          MOSI
          GND
          VCC

          Are they able to be used for DAT0, SCLK and CMD?

          L 1 Reply Last reply Reply Quote 0
          • L Offline
            livius @spacelggo
            last edited by

            @spacelggo said in WiPy with external MicroSD card module:

            alt text

            think about people first, then computers

            S 1 Reply Last reply Reply Quote 1
            • S Offline
              spacelggo @livius
              last edited by

              @livius 0_1517903709844_Screen Shot 2018-02-06 at 6.53.44 PM.png

              Ahhh ... so would this be correct?

              L 1 Reply Last reply Reply Quote 0
              • L Offline
                livius @spacelggo
                last edited by livius

                @spacelggo
                Are you talking about top right image?
                If yes - then answer is no - this is SPI device. You need simple sd card slot
                alt text
                or direct connect like this one ;-) but ignore labels and use from previous images
                alt text

                think about people first, then computers

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  spacelggo @livius
                  last edited by

                  @livius

                  Thanks for the info.

                  Another question. You mentioned the current SPI driver is slow. I am hoping to use the WiPy to drive a persistence of vision(POV) effect from an APA102 LED string via SPI. This requires a very high refresh rate of the LEDs. Do you think the slowness will be an issue in this case?

                  L 1 Reply Last reply Reply Quote 0
                  • L Offline
                    livius @spacelggo
                    last edited by livius

                    @spacelggo
                    I do not remember what was the cause of slowness you can try to find info on the forum.
                    I suppose that this was releated directly with SD driver not SPI itself.
                    Someone tested this i do not tested this myself. I use always direct connection and built in driver.

                    think about people first, then computers

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • 1 / 1
                    • First post
                      Last post

                    Pycom on Twitter

                    Pycom