please choosego to mobile | Continue to access the PC version
View: 12807|Reply: 10

Orange Pi 0.96 inch OLED Module 128x64

[Copy link]

2

threads

3

posts

20

credits

Novice

Rank: 1

credits
20
Published in 2019-3-1 06:31:49 | Show all floors |Read mode
Just wanted to make a quick note on geting started with the i2c oled display.This procedure should be very similar on a different board running armbian aswell.

1. In commandline: sudo armbian-config
2. In GUI: System -> Hardware -> Toggle on i2c-0 | Save, and follow instructions
3. In commandline: sudo apt-get update -> sudo apt-get install i2c-tools
4. In console: i2cdetect -r 0

You will be greeted with this(Awnser yes):

WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-0 using read byte commands.
I will probe address range 0x03-0x77.
Continue? [Y/n] Y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --


0x3c is the address of the display (not 0x78 as shown on ali).
If you did not get 3c, you will need to make a note of the result.
Second note, if there are more than one device, there will be more than one result.

There is no point in contiueing with the next points until you get a positiv awnser from this test. If all the fields are blank eg. --, it means that there are no devices on the i2c-0 bus.
Possilbe error: Bad wiring, check it. Wrong i2c bus, might be an idea to test i2c-1 in the i2cdetect test. Bad device, or port, run the test on a nother board, possibly test it on Arduino.

5. Download and extract : https://drive.google.com/file/d/ ... Ir/view?usp=sharing
6. Navigate in to the folder you just extrated. (If you did not get 3c in the i2vdetect test, you will need to edit the oled.h file. On line 16 you will find: #define OLED_I2C_ADDR      0x3c <--- change 3c to your result. Save and exit)
7. In console: make
8. In console: ./oled_demo

Congrats, you should now see demo information printed on your oled display and ready to make it show something more intresting than fake data

Hope I helped.

7

threads

38

posts

181

credits

Registered member

Rank: 2

credits
181
Published in 2022-2-7 06:54:18 | Show all floors
Edited by DoubleHP at 2022-2-7 08:33

Many thanks.

Google Drive is unreliable to me, so, it looks to me that this GIT seem to be your source:
https://github.com/akhmetov-dev/dz
or close enough to help people in need.

I have uploaded the project here:
https://github.com/doublehp/ssd1306-i2c-opiz_Komendantskiy
My version will be here (later):
https://github.com/doublehp/ssd1306-i2c-opiz_Demaine

0

threads

112

posts

322

credits

Intermediate member

Rank: 3Rank: 3

credits
322
Published in 2022-3-2 02:40:17 | Show all floors
Great article, Thanks a lot pertaining to expressing This specific know-how. Outstandingly prepared content, only when most web owners presented a similar a higher level written content because you, the world wide web has to be superior position. Remember to continue!        Packers and Movers Gurgaon to Chandigarh

0

threads

112

posts

322

credits

Intermediate member

Rank: 3Rank: 3

credits
322
Published in 2022-3-24 06:48:13 | Show all floors
Here you are at first ever devoted price evaluation web page for urban center interesting attractions & taking in the sights excursions, cruise trip travels, little ones actions, out of doors pursuits, wine beverages excursions from the UK, European countries, US, Asia, Midst Eastern side along with world-wide traveller hotspots.        Attractions

0

threads

112

posts

322

credits

Intermediate member

Rank: 3Rank: 3

credits
322
Published in 2022-4-2 06:45:01 | Show all floors
I actually pleasantly surprised together with the study you actually manufactured to make this special upload unbelievable. Excellent hobby!        Attractions

0

threads

132

posts

488

credits

Intermediate member

Rank: 3Rank: 3

credits
488
Published in 2023-1-8 13:36:08 | Show all floors
Maintain the nice perform, My partner and i examine handful of content with this internet site and also I do believe your net website will be genuine intriguing and contains received sectors regarding great details.        สล็อต vip               

0

threads

132

posts

488

credits

Intermediate member

Rank: 3Rank: 3

credits
488
Published in 2023-1-8 18:49:48 | Show all floors
Oh my goodness! a tremendous article dude. Thank you Nonetheless I'm experiencing difficulty with ur rss . Don know why Unable to subscribe to it. Is there anybody getting equivalent rss problem? Anybody who is aware of kindly respond. Thnkx        royalty free sound effects

0

threads

132

posts

488

credits

Intermediate member

Rank: 3Rank: 3

credits
488
Published in 2023-1-11 17:56:30 | Show all floors
A debt of gratitude is in order for sharing the information, keep doing awesome... I truly delighted in investigating your site. great asset...        blonde bob with bangs

0

threads

132

posts

488

credits

Intermediate member

Rank: 3Rank: 3

credits
488
Published in 2023-1-11 21:12:54 | Show all floors
I truly appreciate this post. I have been looking everywhere for this! Thank goodness I found it on Bing. You have made my day! Thank you again        먹튀검증업체               

0

threads

11

posts

54

credits

Registered member

Rank: 2

credits
54
Published in 2023-1-17 11:53:50 | Show all floors
stable performance: High dependability, stable performance, and professional manufacture. The circuit module has a long service life, excellent reliability, and steady performance.
Lacing: The engraved card is simply detachable, and the wordle game board does not come with a key.
Decor: It can be used to create attractive little objects and make lovely house accents.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list