I took a battery and put an arduino, while it is connected to the computer, the arduino receives data, but when it is in the battery, it does not write my data to the sd card
please help me
What kind of battery are you using?
If it works when powered by the PC (through the USB connection) and not with the battery, I suspect the battery does not provide enough power to the SD card.
9 v
If it is this kind of battery, it is not suitable for powering a microcontroller with SD cards and/or LEDs, LCDs etc.
Get a better/bigger battery or a power supply.
I suggest you start here.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.