Arduino Smart Phone Serial

Example of sending and receiving command from Smart Phone to Android device
183 Downloads
Updated 29 May 2020

For the first Example, I will send 4 PWM Signals from Android Device to an Arduino Mega 2560 via serial.
I am using Simulink for this tutorial.

Just follow the YouTube video liked below to start this cool project...
https://youtu.be/_bFg4sMGclg

What you need to follow the example and the video:

Simulink
Simulink Support Packages for Arduino Board
Simulink Support Packages for Android Devices
Arduino Mega 2560 (can use other board, but should change serial settings)
OTG Module (based on your phone)
an FTDI Module (USB to TTL)
Servo (Optional)
etc

Just follow the YouTube video liked below to start this cool project...

This project will be updated with more interesting projects soon.

** If you dont know how to configure your android phone to deploy simulink model, Watch my YouTube tutorial linked below:
https://www.youtube.com/watch?v=UaU4hIsBXhY

** You can easily upload this application to iOS device... all you need to do is changing the android blocks with the same ones from Simulink Support Packages for iOS Devices

Cite As

Alireza Ghaderi (2024). Arduino Smart Phone Serial (https://github.com/alireza787b/ArduinoSmartPhoneSerial/releases/tag/1.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with R2019a and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.