Introduction: RIG CELL LITE INTRO: WITH ADAFRUIT SSD1306 AND JOYSTICK
This screen controlled by a microcontroller SSD1306 uses the I2C bus and can communicate with most of the microcontroller available now days. but for today, we will test this screen with our rockin' RIG CELL LITE microcontroller. You can find this OLED screen at Adafruit or Sparkfun for example. Some of it sold online is also found to be quite cheap. These screens are of good quality but small in size, suitable to be a name tag or a lite cellphone screen. Adafruit and Sparkfun have developed libraries that make it easy to display text, images and even make animations based on geometric shapes very simply.
You will need the following parts:
- 1x Breadboard
- 1x Rig Cell Lite
- 1x Joystick
- 1x Oled SSD1306
- Wires as needed
Step 1: SETTING UP THE CIRCUIT (HARDWARE)
In this tutorial, we use the oled ssd1306 display screen with a joystick. here are some links where u can find the RIG CELL LITE --> http://elegant.my/products/rig-by-reka
for the communication between the RIG CELL LITE and the oled screen, we uses the I2C pins from the screen to our RIG. the SCL and SDA pins on the RIG are located at pin A5 and A4 respectively.
construct the circuit as shown in the picture above.
Step 2: THE OLED DISPLAY WITH CURSOR JOYSTICK CODE
Before we can start our coding, first we use the adafruit library for the oled screen. So, download these two zip file and install on our arduino IDE software.
- after the libaries were installed, download 2 files that i had attach below which is the oled_display _with_cursor_joystick.ino and the Adafruit_SSD1306.cpp , or u can also download from here these two files. https://github.com/flabbyandroid/projetcs-oledSSD1...
- after u had installed the official library, u will now replace the Adafruit_SDD1306.cpp file with the new one that i had attach in this instructables web.
- after everything is fine, upload the code on your RIG :D
Step 3: RESULTS :D
After complete upload the oled_display _with_cursor_joystick.ino on the RIG CELL LITE, the led will turn on and there will be a cursor available on the middle of the screen. it will move following the joystick movement. have fun! :D
If it isn’t, make sure you have assembled the circuit correctly and verified and uploaded the code to your board, or see the troubleshooting section.
We have a be nice policy.
Please be positive and constructive.