Arduino I2C App Note

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
Henry
OMNIPRESENT
OMNIPRESENT
Posts: 3002
Joined: Tue Aug 14, 2001 6:00 pm
Contact:

Arduino I2C App Note

Post by Henry »

A very quick Hello World demo with an ASCII counter on an Arduino

Browse our I2C LCD, I2C TFT, I2C VFD products:
https://www.matrixorbital.com/communica ... otocol/i2c

Full Project
https://github.com/MatrixOrbital/Arduino-HelloWorld

This is a very fast simple example getting an Arduino Uno displaying on a Matrix Orbital I2C Display.
Arduino-HelloWorld-800.jpg
Arduino-HelloWorld-800.jpg (253.17 KiB) Viewed 21914 times
Connect an Arduino UNO to a Matrix Orbital I2C Display:
1. Connect PIN 5V to PIN 1 VIN
2. Connect PIN 4 to PIN 2 SCL
3. Connect PIN 5 to PIN 3 SDA
4. Connect PIN GND to PIN 4 GND

On power up, you should see "Matrix Orbital" on the display


The blocks for this program are:
1. Arduino Configuration
2. Display Configuration
3. Start of the program
4. Main Loop of the program

What you will see on the screen on start:

Line 1: Hello World!

Line 2: The ASCII/FONT table of the display starting at 0x30 which is ASCII “0” to 0xFC
Henry J.
President
Matrix Orbital

Post Reply