Introduction: Tell Me How to Turn a Smartphone Into a Virtual Arduino Board?
Arduino emulator on Android
Run Arduino code on Android smartphone
Connect Android smartphone to Arduino IDE
In this instrucable I’m searching for a solution to a problem I faced today.
I thought about it and tried to search it all over the internet and still couldn’t find it yet.
My idea is that I want to find an Arduino Emulator that runs on an Android Smartphone.
I’ve searched the internet but still could find one.
To make it clear.
Emulator is different that a Simulator.
Simulator is a software that can run Arduino code and make it visual to you apparently. But Emulator is running the code with the ability to make outside world FEEL as if a real Arduino is running the code.
Think of it.
All of the following options are the things already there and I don’t mean any of them.
Step 1: Option 1: Android App That Programs Arduino Board Without Having a PC
In this case, you need to have an
Good idea, but that's not what I need.
Step 2: Option 2: Android App That Controls Arduino Board
- PC running Arduino IDE to program the Arduino Board
- Smartphone with control interface App
- Real Arduino Board
- Bluetooth Module for Arduino
In this case, you need to have a real Arduino board that connects to Android device and that Android device runs an app has interface for controlling Arduino PINs and LEDs.
You can also find many applications on Google Play.
Another brilliant idea, but that's not what I want either.
Step 3: Option 3: 1sheeld - Turn Your Smartphone Into Multiple Shields
This project made by Egyptian group of engineers called 1sheeld.
This project makes something close to what I want but instead of using the USB cable to connect smartphone to PC they use a special built Arduino shield that connects Arduino to Android via Bluetooth.
Here you still need the real Arduino board. Also, the Arduino code is run on a real Arduino board but you only used Android as an extension shield for Arduino.
This is a great solution indeed, but that's not what I am looking for.
Step 4: What I Really Want: Android Replacing Arduino Hardware
PC running Arduino IDE Smartphone with Emulator App
USB cable (Mini USB for smartphone) A PC running Arduino IDE
and Android device running emulator app and they are both connected with a USB cable.
When the app on Android starts and connects to PC, the PC detects as if an Arduino board is connected to COM 4 for example. I want to write, verify and compile Arduino sketches on the PC and then upload the code to the Android device. Then the Android device can run the code and performs all android functions.
Android accelerometer and gyroscope can send serial data to the PC on the serial monitor. In short, I want to use mobile phone and standard PC to write code and run it without having to carry an Arduino board.
If you see that application, please leave a comment or send me a message.
Thank you for reading....