Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SD
#1

I've been meaning to use in my project sd storage and the ADCs on my Maixduino borad but looks like it's not possible for the esp32 and the sd slot pins are shared.

I'd like to know if it is possible for me to mount sd through an adaptor on other pins so I can use it all simultaneously.

And code-wise how should I do it? SPI?



help please and thanks in advance Smile

Reply
#2

It is possible to to use SD card on any (unused) pins.

Just configure the pins in menuconfig, run in k210-freertos directory:

Code:
./BUILD.sh --menuconfig

Select the SD card pins to use and rebuild the firmware.

Of course, your adapter must be connected to the correct pins.

Reply
#3
thank you very much!!

if I may ask, how do I use the ADCs? your firmware has support for it? if not could you shed some light on how I can do that?
Reply
#4

It should be easy to interface an external ADC chip (via I2C or SPI), I'll include some examples in the next update...
On Maixduino, ESP32's ADC can also be used.
I have a complete ESP32 Python module now, which includes functions for accessing ESP32 ADC, gpios, etc. It will be pusshed to the repository soon.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)