Android Controlled LCD Screen in Flowcode7




Introduction: Android Controlled LCD Screen in Flowcode7

About: Surviving the tough winds of Indian Education system....

This instructable allows you to control a virtual LCD screen that is simulated using FlowCode7 by means of your Android device. You can obviously throw in other platforms but they need to be Bluetooth enabled. We will also use Arduino as an interface to PIC 16F877A (simulation in Flowcode7) and Bluetooth Module (HC-05) for receiving signals from Bluetooth device which is an Android mobile in this case.

You can even try to send in data using UDP over WiFi by configuring your router. There is already a detailed tutorial on Matrix forums here. However, due to absence of a private router I had to work around a bit to accomplish my aim. I also tried to upload data on my server and then query it using MySQL and PHP but I failed to retrieve it. It is best to have a private router if you want to send data over UDP via WiFi.

Let's have a look on how to do this!

Step 1: Things Required

Here's a list of all the 'apparatus' you need to have:


1. Arduino UNO (I used MEGA 2560)

2. Bluetooth Module (HC-05)

3. Breadboard

4. Jumper cables (Male to Female preferably)

5. USB cable for Arduino

1. Flowcode7: You can download the trial version from the official matrix from here. Make an account, you will need to authenticate the software at every startup with your account name and password. You know what to do when those 30 days get over...;)

2. Arduino IDE: Here it is.

3. Bluetooth app: There are a lot of apps to send data to bluetooth devices on the Play Store. I used "unWired Lite". You may use any one of your choice.

Step 2: Understanding the Plot

This illustration explains it all.

Step 3: Wiring the Arduino With HC 05

It is a simple set up

Arduino HC 05
5V Vcc
Gnd Gnd
Tx Rx
Rx Tx

Review step1 of this instructable for more insight

Once you are done you will find the device in the list of your Bluetooth terminal. Pair with it by selecting HC 05. The password is usually 1234.

Step 4: Upload Sketch

Upload this sketch to Arduino IDE. It is a very common one for serially writing data to COM port using Bluetooth.

#include <SoftwareSerial.h>// import the Serial library
int BluetoothData; // the data given from bluetooth device

void setup() { // put your setup code here, to run once:


void loop() { // put your main code here, to run repeatedly:
if (Serial.available()){;

Step 5: Don't Forget to Note the COM Port!

Step 6: On to Flowcode7

You will need to construct this Flow diagram. Drag an RS232 port and LCD to the dashboard. Connect Macros to the peripheral devices.
Select the COM port over which Arduino is connected in Properties of RS232

Step 7: Run the Flowcode File and Send Data From Bluetooth Device

Type in text on your bluetooth app. Make sure that the module is connected to your device. HC 05 usually blinks its LED two times with a slight delay in between when paired successfully. Make sure that the flowcode program is running before you send any data for best results. Flowcode7 ran quite slow on my PC and the outputs came up with a lot of delay.

Future Scope:
You can send in specific strings that can be matched on Flowcode to trigger other events such as clearing LCD screen, print in new line, shifting data etc.

Step 8: The Whole Picture

Hope you liked the instructable!

Why I posted this?: I presented this project to my professor as a project submission. He didn't even bother to check the code on my laptop. He signed the printed document and then flung it away in a pile full of such files. I had 2 choices:

1. Accept that I couldn't do anything about it
2. Share it with the correct people


Be the First to Share


    • Remote Control Contest

      Remote Control Contest
    • Meatless Challenge

      Meatless Challenge
    • Eggs Challenge

      Eggs Challenge



    4 years ago

    This is really interesting. Thank you for sharing it. I have an old android device running android 4.0 (Ice Cream Sandwich). Do you think it will work.


    Reply 4 years ago

    Thanks for the comment!
    You will have to search the Play Store for Bluetooth terminals from the 4.0 device. I don't have a 4.0 to check for compatibility..


    4 years ago

    Thanks for sharing :)


    Reply 4 years ago

    Thanks :D