Hello Evryone!
This is my first project for arduino, I have checked my SD slot shield and bt module shield using examples, they are working fine.
Now what I need is to have a program to transfer the data(usually a txt file) from SD card to an android device through a BT module. Am using Arduino UNO. So please tell me is it possible to do so, and am not with prgramming either so please help me.
Thank you!!
So please tell me is it possible to do so
Yes, it is, if the hardware is compatible. Since you didn't post links to the hardware, or code, we can only wish you luck. Good luck.
Thanks for your reply
here is the links of the shields i am using.
http://www.ebay.in/itm/arduino-wireless-bluetooth-hc-06-serial-ttl-module-slave-4pin-serial-port-/151296350208?pt=lh_defaultdomain_203
PS : I do not have the code, I am requesting you to provide a code.
here is the link for realted code but i guess it does not have sd card libraries included,.
Let me see if I can find a picture of an answer. E-bay links and pictures are useless.
Please let me know what you need, I will try to provide you the information.
Thank you!!
Please let me know what you need
Links to the manufacturer's site. Pictures are nearly useless. Ebay ads are nearly useless.
Here is the valid links from manufacturer websites
BT Module : http://www.lctech-inc.com/Hardware/Detail.aspx?id=25662aa3-0517-4d3d-960e-ff261d5ef28c
SD Card Slot Sheild : http://www.lctech-inc.com/Hardware/Detail.aspx?id=0c3b6f7a-d101-4a60-8b56-3abfb7fd818d
Thanks and I am using Arduino UNO R3
Any progress ? Csn snyone help me ? Please!!
I missed something earlier:
PS : I do not have the code, I am requesting you to provide a code.
I rarely pass up the opportunity to make some money. How much are you paying?
You claim to have code that reads from the SD and to have code that communicates with the phone. Combining them would have taken less time than all your posting.
absarhegde:
I have checked my SD slot shield and bt module shield using examples, they are working fine.
The gear you have is standard stuff and you already have them working, so it is merely a matter of getting the right programme. I don't believe you can transfer a file with Arduino but there is a Dumpfile programme in the SD examples in the IDE which more or less amounts to the same thing. This reads the TXT file and sends that data over serial, i.e. bluetooth. If you use D0,D1 for bluetooth you don't need any software for it anyway. You should already have DumpFile, and it is all you need.
I rarely pass up the opportunity to make some money. How much are you paying?
I am a student and I cannot pay you, atleast for now, and about the codes the link I shared with you is all I have. So i was requesting you to modify it to suit my requirements.
Anyways Thank you!!
The gear you have is standard stuff and you already have them working, so it is merely a matter of getting the right programme. I don't believe you can transfer a file with Arduino but there is a Dumpfile programme in the SD examples in the IDE which more or less amounts to the same thing. This reads the TXT file and sends that data over serial, i.e. bluetooth. If you use D0,D1 for bluetooth you don't need any software for it anyway. You should already have DumpFile, and it is all you need.
Thanks a lot, yeah I have seen that programme but where does it sends the data ? Like do we need a particular software on the other device to receive it ? say an android smartphone.
absarhegde:
where does it sends the data ? do we need a particular software on the other device to receive it ? say an android smartphone.
As it says, over the serial port. Arduino neither knows nor cares about what is at the other end of the cable.. Android BlueTerm should suffice. I believe it makes a date/time stamped log file.
Will try this and let you know!!!
Thanks a ton.
This works but ti does not seems to help me, all i wanted to transfer a small size file a text file or jpeg or mp3 not more than 100kb.
Is it impossible ? can't we just send these files from sd card to serial ports ? like read and write serial ?
PS : Am totally new here, but learning many stuff thanks to this great community.
absarhegde:
This works but ti does not seems to help me,
??? You need to be a bit more specific.
Nick_Pyner:
??? You need to be a bit more specific.
As the comment above says that if we upload the dumpfile example, it can read the content of the text file from SD card and will send it to the serail Tx & Rx, but I wanted a Jpeg file or a text file to be transferred.
to Quote PAULS he said it is possible
PaulS:
Yes, it is, if the hardware is compatible.
Then you said
I don't believe you can transfer a file with Arduino
So should I give up here ? If yes, then can I go for rasberry pi or some other micro controller ?
Thabks for your reply
What I said was I don't believe you can copy a file. What I meant was I don't believe you can copy a file in the manner you might in windows or DOS. What I also said was that you can copy the contents, and it appears that you have succeeded in that as far as text is concerned. I guess the difference between a text file and a JPG is that FileDump simply dips in and retrieves characters while you need to retrieve raw data from a JPG.
If PaulS actually tells you it is possible, you can be pretty sure it is, and you don't need to run off and buy a RasPi. Further, there is nothing wrong with the hardware you have. You just need to settle the software, and I'm sure you aren't the first to do this. Just ask the question - how to retrieve JPG off SD. One place to look is display of JPG from SD onto LCD. I think Henning Karlsen addresses this in his library stuff. I understand these exercises routinely store the images on SD.
Nick_Pyner:
What I said was I don't believe you can copy a file. What I meant was I don't believe you can copy a file in the manner you might in windows or DOS. What I also said was that you can copy the contents, and it appears that you have succeeded in that as far as text is concerned. I guess the difference between a text file and a JPG is that FileDump simply dips in and retrieves characters while you need to retrieve raw data from a JPG.If PaulS actually tells you it is possible, you can be pretty sure it is, and you don't need to run off and buy a RasPi. Further, there is nothing wrong with the hardware you have. You just need to settle the software, and I'm sure you aren't the first to do this. Just ask the question - how to retrieve JPG off SD. One place to look is display of JPG from SD onto LCD. I think Henning Karlsen addresses this in his library stuff. I understand these exercises routinely store the images on SD.
Thanks a lot for clarifying it in a detailed yet simple to understand, am sorry i couldn't respond earlier as i was busy with my final exams.
and Yes I did some research on tranferring of the jpeg files, but it seems it needs processing too. I will look further and respond here, whether it did solve my problem.
Well I tried something different, i did not use processing because i didn't get it, what I did was placed a small size jpeg like 40 kb
and I received the raw data, i copied it and made a file .jpg it says the file is either corrupted or damaged, what should I do now ? because processing on android is not possible I guess.
Please help.