I use my PC to generate code using the Arduino IDE.
I would like to copy these files to my Android tablet (Galaxys9+) and use the tablet via a USB adapter (MTVN 7in1) to download/update the code into my Arduino devices installed around the house, like my parking assist unit in the garage using doppler device etc.
ArduinoDroid downloads in to the tablet, but will not install.
Any idea what would work?
I do not need to modify the files, just download into Arduino devices.
There may be other projects that support this functionality but as a non-Android person I'm not aware of any and wasn't able to find anything legitimate-looking in the 5 minutes I spent looking.
Going back to your specific issue, I'm not quite sure I understand the problem:
ArduinoDroid downloads in to the tablet, but will not install.
Is it unable to completely install the app on the tablet? Or do you mean the app "functions" except for being able to install/upload code to an Arduino? What is the exact error?
At the risk of being overly pedantic:
Android tablet (Galaxys9+)
I've only been able to find information related to a phone called the Galaxy S9+. The rest of my answer applies to that specific device.
I haven't done much portable uploading, but you need something that can act as a USB host, and usually phones/tablets act as USB devices unless using an appropriate adapter (at least in the olden days). It looks like the S9+ has a USB C port so I'm assuming your adapter shouldn't have any issues with needing to be OTG cable. A quick search led me to this article https://www.digitaltrends.com/mobile/what-is-usb-otg/, which further confirms that point.
One quick test you can do is take a USB drive and plug it into your adapter (make sure it's a format your device supports, FAT/exFAT are usually pretty widely supported) and you should see the contents pop up.
If it's not the adapter, I'm assuming there's either missing drivers/some issue with the Arduino. I'd check that it's getting enough power (e.g. by trying with a separately powered hub) and that ArduinoDroid itself installed successfully. Finally, it appears ArduinoDroid has a Troubleshooting guide that might help you further if none of the previous points helped.
When you upload the compiled sketch to your Arduino the IDE hands this task to a program named AVRdude. AVRdude then sends signals to your Arduino that manipulate the several MCU pins involved in writing to the flash memory on the device. It is not just a file transfer.
In order to do what you want you would need to write a program that runs on your tablet that will perform all of the functions described above. A laptop computer running one of the operating systems supported by the IDE will accomplish your objective.
All I want to do is use existing .ino files generated on my PC to copy to my Android tablet which via the MVTN adapter downloads the code into the Arduino.
As bitherder says, there would have to be drivers for Android devices that accomplish this.
Unfortunately the ArduinoDroid program from Anton Smirnov does not install, it says the android version is not supported.
My Asusu N751JX laptop recently stopped working, so the tablet or phone would be my onlu "mobile" options left to accomplish updating Arduinos fitted around the house.
If anybody knows of any software for Android that will accomplish this, I am sure a lot of people would be interested.
Thank you all for your time trying to assist.
I read an article some time ago about a hobbyist that had modified the boot loader to use a wav file from the audio jack of their tablet to program an Arduino.
You don't mention which boards.
There are two steps
- Compile your code using a compiler; this will result in a hex or bin file.
- You will need the complete tool chain for the specific board / boards. The toolchain differs depending on board. For AVR based boards, it's avr-gcc, for ESP based boards it's another compiler.
- Upload your hex/bin file using an upload tool.
- For AVR based boards (Uno, Mega etc), the tool for upload is AVRdude. There are a few in here: android avrdude - Google Search
- For ESP based boards, the upload tool is a python script.
Edit:
If you don't have a bin/hex file, you will have a hard time to convert your source code to a bin/hex file.
You can't just "downloads" .ino files to arduino, you MUST compile it to BIN or HEX first.
A post was split to a new topic: Download Youtube Vanced
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.