Writing to a OLED Display Via Bluetooth

Introduction: Writing to a OLED Display Via Bluetooth

This project is inspired and a remix of Arduino LCD Display Control via Bluetooth

Introduction: In this project, we will be making a "Bluetooth OLED." What we are doing in this design is connecting an Arduino to an OLED and a Bluetooth module. We write a short program that lets us connect our Bluetooth module to our phone. Then we download the app made in MIT App Inventor. We can then connect the Bluetooth module to the app. You can now send messages from the app to the Arduino. The Arduino will display the message on the OLED.

This project can still be improved.

Step 1: Supplies

Step 2: OLED Wiring

Connect the OLED as following:

Arduino >> OLED

GND >> GND

5V >> VCC

A4 >> SDA

A5 >> SCL

Step 3: Bluetooth Wiring

Connect the Bluetooth as following:

Arduino >> Bluetooth

GND >> GND

5V >> VCC

D3 >> RX

D2 >> TX

Step 4: Uploading the Program

Open the program on Arduino IDE. Once it is open, compile the sketch to see if it is clear of error then you can upload it. Make sure you have all the libraries download before you upload the program. After you have uploaded the program if you see the screen turn on for one second and then turn off this indicates you have wired the OLED properly.

I am using the "FreeMonopt97b" font but you can go to Adafruit's website if you want to use a different font. You will have to make some small changes to the code after you add the new font.

For the complete code, email me at:
acedinventor@gmail.com

Step 5: Downloadig the App

I have made the app in MIT APP INVENTOR. You don't have to make the app because I have provided the .apk file for the app. The app is called "Bluetooth-OLED.apk" and once you have downloaded it the logo should look like a picture of an OLED with a Bluetooth logo on one corner and "Bluetooth with OLED" on the other corner.

Step 6: Testing the Project

To test that the project is running open the app and connect it to your Bluetooth module. Once you have connected the app to the Bluetooth module you will see a connected message on the OLED screen. Now you can type something on the phone and when you press the send button on the bottom of the app, it sends the message you wrote to the Bluetooth module. The Arduino will then displays the message on the OLED.

If there is still something you don't understand you can comment down below.

Remix Contest

Participated in the
Remix Contest

Be the First to Share

    Recommendations

    • Hide It Challenge

      Hide It Challenge
    • Reclaimed Materials Contest

      Reclaimed Materials Contest
    • Made with Math Contest

      Made with Math Contest

    9 Comments

    0
    shindearyan179
    shindearyan179

    3 months ago

    Can you please provide the whole source code of arduino.

    0
    jromerog1301
    jromerog1301

    5 months ago

    Hello inventor, i have a problem.
    I was able to connect the cell phone to the device but when I send a message it does not show on the OLED screen

    0
    Aced Inventor
    Aced Inventor

    Reply 5 months ago

    Hello,
    -When you open the app are you able to connect to your Bluetooth module?
    -Try going down to line 106 in the code and try changing the number from 38400 to 9600.
    -You can try one more thing. Go down in the code to line 109 and change the address from "0x3c" to "0x3D."

    0
    mckayclemens08
    mckayclemens08

    Question 10 months ago on Step 6

    Hey, I was wondering if you can connect this to a raspberry pi 0w, or a raspberry pi 4 by any chance.

    0
    Aced Inventor
    Aced Inventor

    Answer 10 months ago

    Hello,
    I don't really know how to use a raspberry pi, but their might be some tuturiol out their.