3 ms·
"All I want for Christmas is SD-card reader on my ESP32." - Finds micropython library. Ok. - Finds schematics for physical connection. Ok "But where do I fi
by timonoko 4y ago
"All I want for Christmas is SD-card reader on my ESP32."
- Finds micropython library. Ok.
- Finds schematics for physical connection. Ok
"But where do I find that fiddly SD-card bracket?"
- Opens a drawer, sees a mound of useless MicroSD-adaptors. Ok.
- timonoko 4y agoThat was easy -- eventually. One only has to believe what the micropython manual says and not watch any instructables-videos. >>> os.mount(machine.SDCard(slot=2),"/sd") >>> os.listdir('/sd') ['DCIM', 'VIDEO', 'PHOTO']
- timonoko 4y agoUsing SD-card on ESP8266 was more challenging. upip.install('sdcard') did not work. But ChatGPT truly helped and suggested I find it in Github. https://github.com/micropython/micropython-lib/blob/master/micropython/drivers/storage/sdcard/sdcard.py https://github.com/micropython/micropython-lib/blob/master/m...
- dvh 4y agoEsp32-cam has sdcard reader