Go Down

Topic: How to let an Arduino open Programs/files off a Micro SD Card Module? (Read 579 times) previous topic - next topic

Juraj

If I do that there is another problem I run into. When I plug in my Arduino into the PC the SD Card does not show up. I was wondering if there is a way to show the SD Card when the Arduino is plugged in or when a Button on the Arduino is pressed while plugged in.
see my comment

Bork1547

So there is no way for the Arduino Pro Micro to execute files off the connected SD Card Module, able to find the Directory of the SD Card while plugged into computer and have the Arduino read a script from the SD Card and let that Script from the SD Card execute files?

CrossRoads

"So there is no way for the Arduino Pro Micro to execute files off the connected SD Card Module, "
Yes, look into this
https://forum.arduino.cc/index.php?topic=16812.0

"able to find the Directory of the SD Card while plugged into computer "
Not directly, the computer would need to read the card and pass along the info. Maybe a Python sketch?

"and have the Arduino read a script from the SD Card and let that Script from the SD Card execute files?"
There is a program that will execute scripts from an SD card connected to the Arduino called bitlash
http://bitlash.net/
Take a look into that.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Bork1547

So there is no way to have the Arduino execute a file from the Sd Card or have the Arduino Have something else do it for it? (The Arduino reads another script from the SD Card and that script executes the file)

CrossRoads

I think a bitlash program would do that.  I've not done it myself, all my sketches have run independently.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Bork1547

I looked at https://forum.arduino.cc/index.php?topic=16812.0 That, and I don't want to execute Sketch files from the Arduino I would like to Execute Batch or VBScript files. Is there a way for the Arduino to execute a file or read a Batch/VBScript files from the Arduino?

Go Up