https://github.com/pr-dc/prdc_testserialusb
PR-DC SerialUSB Test Application for communication between Android device and Arduino board.
https://github.com/pr-dc/prdc_testserialusb
android arduino cordova java serial-communication usb
Last synced: 2 months ago
JSON representation
PR-DC SerialUSB Test Application for communication between Android device and Arduino board.
- Host: GitHub
- URL: https://github.com/pr-dc/prdc_testserialusb
- Owner: PR-DC
- License: lgpl-3.0
- Created: 2022-01-06T11:38:20.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-06T11:41:04.000Z (over 4 years ago)
- Last Synced: 2025-02-12T17:17:16.152Z (over 1 year ago)
- Topics: android, arduino, cordova, java, serial-communication, usb
- Language: CSS
- Homepage:
- Size: 3.56 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.txt
- License: LICENSE.txt
Awesome Lists containing this project
README
## PR-DC TestSerialUSB
In order to provide a usage example for [cordova-plugin-serialusb](https://github.com/PR-DC/cordova-plugin-serialusb), we provide both the Android Cordova application and Arduino sketch for the `TestSerialUSB` application.
## Requirements
[Arduino](https://www.arduino.cc/)
[Apache Cordova](https://cordova.apache.org/)
This code is tested with
**Cordova Android 9.1.0** and **Arduino IDE 1.8.16**
## Installation
For Cordova application run `Cordova\TestSerialUSB\scripts\win10\installApp.cmd` and then from same folder run
`emulateApp.cmd` or `runApp.cmd`.
You can then compile and upload `Arduino\TestSerialUSB\TestSerialUSB\TestSerialUSB.ino` sketch to the board and connect it to an Android device with the installed `TestSerialUSB` application.
## Usage
Connect Android device and Arduino board using USB OTG cable.
Open the Android `TestSerialUSB` application on the device and grant permissions (screen similar to the following) after that you will be able to see that the Android device sends and receives messages over USB.
## License
Copyright (C) 2021 PR-DC
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see .