Skip to content

A project to calculate distance using lasers, camera(android phone), servo motor and arduino. (app includes a serial monitor)

Notifications You must be signed in to change notification settings

agnostic-apollo/LaserDistancer-and-SerialMonitor

Repository files navigation

LaserDistancer-and-SerialMonitor

A project to calculate distance using lasers, camera(android phone), servo motor and arduino. (app includes a serial monitor)

Description

(to be updated)

Arduino Serial Monitor

The app includes a serial monitor to communicate with the arduino connected to an android phone using usb otg.
It uses the UsbSerial API.

The communication is done using syncRead and syncWrite API.
The commands are processed only after newline character is detected, arguments can also be passed to commands by sperating commands and arguments with a colon ':'

Writing to arduino : "getAngle" or "setAngle:90" or "turnOnBothLasers"
Reading from arduino : "angle:90" or "turning on lasers"

Check out Arduino Sketch and ArduinoCommunicator Android Java Class

Screenshots
Download APK
(apks have large sizes since openCV is integrated in the app for the main project)
(serail monitor can be seperated if requested)

Credits
OpenCV 3.2.0 Android SDK (Download)
UsbSerial

About

A project to calculate distance using lasers, camera(android phone), servo motor and arduino. (app includes a serial monitor)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages