|
Forum Index : Microcontroller and PC projects : PicoMite: forgotten how to configure SD card
| Author | Message | ||||
| thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 4424 |
v7 release. I think I sorted out the pins and the remaining issue is dodgy connections and/or power supply/distribution related. The next time I need this I will try again with a bunch of sockets/female-headers wired up on perf-board rather than using solderless breadboard. Best wishes, Tom Edited 2026-11-30 21:31 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
| crez Senior Member Joined: 24/10/2012 Location: AustraliaPosts: 160 |
I am using a socket board that has a 74hct125 tri-state buffer chip and a 3.3v reg on it. I thought I had mis-wired or mis-configured it but then tried a different SD card and it worked. Out of 3 cards I have on hand only one worked. Each input of the HCT124 has a 3k3 resistor in series. I might try bridging those and see if I can get more than one card to work. |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 9425 |
The module is probably intended for a 5V Arduino system. If you power it at 3V3 the regulator drops the voltage further, often below the operating voltage of the SD card. The 74HCT125 is acting as a level shifter between the 3V3 SD card and the 5V signals to and from the Arduino. This sort of module isn't recommended for the PicoMite. Mick Zilog Inside! nascom.info for Nascom & Gemini |
||||
| phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 3479 |
I have a module with a regulator and level-shifter on it, however it does not have the series resistors. Bypassing the regulator was sufficient to get it to work from a 3.3V supply with a Pico and all SD cards. |
||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 6334 |
Not sure about the full SPI based application, but the series resistors are not overly critical in the "bit bang" SD card interface. On the Game*Mite the SD card is sharing the SPI bus with the display, but under water it is bit banged (at least, that was the status at V5.07.04). And the LCD module has 1k series resistors for the SD card contacts. In the typical VGA builds there are no series resistors. Just direct wiring. This makes me believe that is a whole range of series resistor values that should work fine. But 3.3k is outside that comfort zone. I am skeptical if that works with MMBasic. Volhout PicomiteVGA PETSCII ROBOTS |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 9425 |
@Crez Personally I'd just bin that module and get one that works, either like the one that Tom posted a picture of or a direct-connected one. They are very cheap. If you are really stuck you can solder wires or a bit of pin header onto a micro SD adapter thing to plug it into a breadboard. Fiddly but they work fine. :) Mick Zilog Inside! nascom.info for Nascom & Gemini |
||||
| Wölfi Regular Member Joined: 14/10/2026 Location: GermanyPosts: 68 |
I use the same modules and haven’t had any problems with them so far. Just out of curiosity, I did this once, and it works really well too and actually it was quite easy to solder. from left to right it is: MISO/GND/SCK/VCC/GND/MOSI/CS (from the 2nd to the 8th contact!) and I just connected both GND with a thin wire |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 9425 |
It was fiddly when I did mine - before I got my T12 iron with a pointy bit. :) I think that whether the modules with a regulator work or not depends on several things, including the particular micro SD card that you are using - it might accept the 0V6 or whatever voltage drop that the regulator is giving. It really isn't worth the effort when replacing them with known working modules is so cheap, especially if you have any problems at all. Mick Zilog Inside! nascom.info for Nascom & Gemini |
||||
| Wölfi Regular Member Joined: 14/10/2026 Location: GermanyPosts: 68 |
A T12 is really nice. I also got one that can be powered by a battery pack, which is handy when you’re out and about or working on a car. The first time I soldered as a kid, I used one of those “things”. My first electronic contact! https://bilder.obi.de/c3960f72-f850-4a49-8b09-5d7b2be093ef/pr00W/image.jpeg But only to install a single switch and do the wiring. It’s like cutting your nails with hedge clippers. That was fun! |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 9425 |
My first soldering was done with a 25W Solon iron of my dad's. Blame him, he taught me how to solder and read resistor colour codes (the latter because he was red/green colour blind!). Then I had a 15W Antex or two and a cheapish variable temperature iron which came from Maplin IIRC. Probably a couple more that I've forgotten. :) Now it's a Lefavor T12 with a OSS Team T12-X handle, both from AE. Oh - I forgot the 100W solder gun. :) Great on the thick bus wires in valve amps. Mick Zilog Inside! nascom.info for Nascom & Gemini |
||||
| JanVolk Guru Joined: 28/01/2023 Location: NetherlandsPosts: 424 |
Tom, I also ran into issues with the same SD card module today. In my case, the problem was a faulty plated-through hole on the PCB, specifically the connection from pin 4 of the SD card slot to the CS (Chip Select) pin. Soldering a thin, separate wire on top of the board—connecting pin 4 to the CS pin—resolved the issue. I mounted this module directly on top of the Raspberry Pi Pico, using some unused DEBUG pins for support (after cutting a few traces), and configured it for the SD card using pins GP19, GP10, GP11, and GP12. I also added a two-pin reset push-button to the PCB’s reset connection, along with two 4.7kΩ pull-up resistors for the I2C bus (connected to GP20 and GP21). Jan. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |