4965|37

3386

帖子

0

TA的资源

五彩晶圆(中级)

楼主
 

MicroPython动手做(16)——掌控板之图片图像显示 [复制链接]

 
 

掌控板板载1.3英寸OLED显示屏,分辨率128x64。显示图像有两种方法,一是 bmp格式的图片,可以用取模软件转换为16进制图像数据,在OLED屏显示图像。二是pbm格式的图片,在OLED屏显示图像。板内内置图片为pbm格式,相对于16进制图像数据,pbm格式占用内存更少,可以使掌控板储存更多的图片,我们也可以将自己制作的图片,转换为pbm或者bmp格式显示在掌控板上。

 

1、OLED屏显示心在跳动

 

#MicroPython动手做(16)——掌控板之图片图像显示
#OLED屏显示内置图像心在跳动

from mpython import *

import time

image_picture = Image()
while True:
    oled.fill(0)
    oled.blit(image_picture.load('face/2.pbm', 0), 32, 0)
    oled.show()
    time.sleep(1)
    oled.fill(0)
    oled.blit(image_picture.load('face/1.pbm', 0), 32, 0)
    oled.show()
    time.sleep(1)




此内容由EEWORLD论坛网友eagler8原创,如需转载或用于商业用途需征得作者同意并注明出处

点赞 关注
 
 

回复
举报

3386

帖子

0

TA的资源

五彩晶圆(中级)

沙发
 

mPython 图形编程

 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

板凳
 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

4
 

2、流动的时间

 

#MicroPython动手做(16)——掌控板之图片图像显示
#流动的时间

from mpython import *

import time

image_picture = Image()
while True:
    oled.fill(0)
    oled.blit(image_picture.load('face/Progress/Timer 0.pbm', 0), 32, 0)
    oled.show()
    time.sleep(1)
    oled.fill(0)
    oled.blit(image_picture.load('face/Progress/Timer 1.pbm', 0), 32, 0)
    oled.show()
    time.sleep(1)
    oled.fill(0)
    oled.blit(image_picture.load('face/Progress/Timer 2.pbm', 0), 32, 0)
    oled.show()
    time.sleep(1)
    oled.fill(0)
    oled.blit(image_picture.load('face/Progress/Timer 3.pbm', 0), 32, 0)
    oled.show()
    time.sleep(1)
    oled.fill(0)
    oled.blit(image_picture.load('face/Progress/Timer 4.pbm', 0), 32, 0)
    oled.show()

 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

5
 

mPython 图形编程

 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

6
 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

7
 

3、变幻的人脸

 

#MicroPython动手做(16)——掌控板之图片图像显示
#变幻的人脸

from mpython import *

import time

image_picture = Image()
while True:
    oled.fill(0)
    oled.blit(image_picture.load('face/8.pbm', 0), 32, 0)
    oled.show()
    time.sleep(1)
    oled.fill(0)
    oled.blit(image_picture.load('face/9.pbm', 0), 32, 0)
    oled.show()
    time.sleep(1)
    oled.fill(0)
    oled.blit(image_picture.load('face/12.pbm', 0), 32, 0)
    oled.show()
    time.sleep(1)
    oled.fill(0)
    oled.blit(image_picture.load('face/3.pbm', 0), 32, 0)
    oled.show()
    time.sleep(1)
    oled.fill(0)
    oled.blit(image_picture.load('face/4.pbm', 0), 32, 0)
    oled.show()
    time.sleep(1)

 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

8
 

mPython 图形编程

 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

9
 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

10
 

4、OLED显示外部图片
OLED屏幕只能显示颜色深度为1或者就是黑白模式的bmp格式,可以使用Photoshop、“画图”或者其他图片显示软件进行转换。转换好格式的图片需要使用取模工具对图片进行取模,转换的图片大小应该为128*64,也就是掌控板屏幕的大小。所选的图片线条要分明,且颜色不能太过丰富。
(1)选择一张图片

 

 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

11
 
本帖最后由 eagler8 于 2020-4-23 15:34 编辑

(2)用在线PS打开图片,这里使用 https://www.uupoop.com/

 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

12
 

(3)调整为128*64规格,另存为bmp格式

 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

13
 

(4)安装小图片取模工具Image2Lcd 
下载地址:
http://7dx.0098118.com/wwb5/image2lcd32.zip
 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

14
 

(5)去头去尾要中间(取模数据)

 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

15
 

(6)将复制的16进制图像数据粘贴在下列指令的空格处。

描述:OLED绘制16进制数组图像。将16进制数据转换成图像显示在oled屏幕的指定位置处。尝试将程序搭建好,将图片显示出来。

mPython 图形编程

 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

16
 
#MicroPython动手做(16)——掌控板之图片图像显示
#OLED显示外部图片

from mpython import *

import time
while True:
    oled.fill(0)
    oled.Bitmap(0, 0, bytearray([0XFF,0XFF,0XFF,0XFF,0X00,0X0F,0XFF,0XFF,0XFF,0XFF,0XF0,0X00,0XFF,0XFF,0XFF,0XFF, 0XFF,0XFF,0XFF,0XFF,0X00,0X1F,0XFF,0XFF,0XFF,0XFF,0XF0,0X00,0XFF,0XFF,0XFF,0XFF, 0XFF,0XFF,0XFF,0XFF,0X00,0X3C,0X00,0X00,0X00,0X00,0X70,0X00,0XFF,0XFF,0XFF,0XFF, 0XFF,0XFF,0XFF,0XFF,0X00,0X7C,0X00,0X00,0X00,0X00,0X70,0X00,0XFF,0XFF,0XFF,0XFF, 0XFF,0XFF,0XFF,0XFF,0X00,0XEC,0X03,0XFF,0XFF,0XFF,0XFF,0XFC,0XFF,0XFF,0XFF,0XFF, 0XFF,0XFF,0XFF,0XFF,0X01,0XCC,0X07,0XFF,0XFF,0XFF,0XFF,0XFE,0XFF,0XFF,0XFF,0XFF, 0XFF,0XFF,0XFF,0XFF,0X03,0X8C,0X06,0X00,0X00,0X00,0X00,0X03,0XFF,0XFF,0XFF,0XFF, 0XFF,0XFF,0XFF,0XFF,0X07,0X0C,0X06,0X00,0X00,0X00,0X00,0X03,0XFF,0XFF,0XFF,0XFF, 0XFF,0XFF,0XFF,0XFF,0X0E,0X0C,0X06,0X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FF,0XFF,0XF0,0X00,0XFF,0XFF,0XFF,0XFF, 0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XF0,0X00,0XFF,0XFF,0XFF,0XFF,]), 128, 64, 1)
    oled.show()
    time.sleep(1)
    oled.fill(0)
    oled.Bitmap(0, 0, bytearray([0X00,0X00,0X00,0X00,0XFF,0XF0,0X00,0X00,0X00,0X00,0X0F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0XFF,0XE0,0X00,0X00,0X00,0X00,0X0F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0XFF,0XC3,0XFF,0XFF,0XFF,0XFF,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0XFF,0X83,0XFF,0XFF,0XFF,0XFF,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0XFF,0X13,0XFC,0X00,0X00,0X00,0X00,0X03,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0XFE,0X33,0XF8,0X00,0X00,0X00,0X00,0X01,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0XFC,0X73,0XF9,0XFF,0XFF,0XFF,0XFF,0XFC,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0XF8,0XF3,0XF9,0XFF,0XFF,0XFF,0XFF,0XFC,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0XF1,0XF3,0XF9,0X80,0X78,0XF9,0XC0,0X3C,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0XE3,0XF3,0XF9,0X80,0X38,0X71,0X80,0X1C,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0XC7,0XF3,0XF9,0X9F,0X18,0X61,0X8F,0X8C,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X8F,0XF3,0XF9,0X9F,0X98,0X01,0X8F,0XCC,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X00,0X03,0XF9,0X9F,0X99,0X09,0X8F,0XCC,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X00,0X03,0XF9,0X80,0X19,0X99,0X80,0X1C,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X3F,0XFF,0XF9,0X80,0X39,0XD9,0X80,0X1C,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X3F,0XFF,0XF9,0X9F,0X19,0XF9,0X8F,0XFC,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XBF,0XF9,0X9F,0X99,0XF9,0X8F,0XFC,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0X3F,0XF9,0X9F,0X99,0XF9,0X8F,0XFC,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X3B,0XBF,0XF9,0X80,0X19,0XF9,0X8F,0XFC,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X3F,0XFF,0XF9,0X80,0X39,0XF9,0X8F,0XFC,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X3F,0XFF,0XF9,0X80,0XF9,0XFD,0XDF,0XFC,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0XF9,0XFF,0XFF,0XFF,0XFF,0XFC,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0XF9,0XFF,0XFF,0XFF,0XFF,0XF8,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X3F,0XFF,0XF8,0X00,0X00,0X00,0X00,0X01,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X3F,0XFF,0XFE,0X00,0X00,0X00,0X00,0X03,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X3F,0XFF,0XFF,0XFF,0XFF,0XFF,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X3F,0XFF,0XFF,0XFF,0XFF,0XFF,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X30,0X00,0X00,0X00,0X00,0X01,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X30,0X00,0X00,0X00,0X00,0X01,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0XFF,0XFF,0XFF,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0XFC,0X07,0XFF,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0XF8,0X01,0XFF,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0XE1,0XF8,0XFF,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0XC7,0XFC,0X7F,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0XCF,0XFE,0X3F,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0X8F,0XFF,0X3F,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0X9F,0XFF,0X1F,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0X9F,0XFF,0X9F,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0X1F,0XFF,0X9F,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0X1F,0XFF,0X9F,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0X9F,0XFF,0X9F,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0X9F,0XFF,0X9F,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0X9F,0XFF,0X3F,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0XCF,0XFE,0X3F,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0XC7,0XFE,0X7F,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0XE3,0XF8,0X7F,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFF,0X80,0X00,0X3F,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XFC,0X00,0X00,0X07,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XF8,0X23,0XF8,0XC1,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XF1,0XF3,0XF8,0XF8,0XF9,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XE3,0XF1,0XF1,0XFC,0X79,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XC7,0XF8,0X03,0XFE,0X79,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0XCF,0XFC,0X07,0XFE,0X39,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0X8F,0XFF,0X9F,0XFF,0X39,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0X9F,0XFF,0XFF,0XFF,0X39,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0X9E,0X7F,0XFF,0XCF,0X39,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0X9E,0X7F,0XFF,0XCF,0X39,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X33,0X9E,0X3F,0XFF,0XCF,0X39,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X30,0X00,0X00,0X00,0X00,0X01,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X30,0X00,0X00,0X00,0X00,0X01,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X3F,0XFF,0XFF,0XFF,0XFF,0XFF,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X3F,0XFF,0XFF,0XFF,0XFF,0XFF,0X8F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X0F,0XFF,0X00,0X00,0X00,0X00, 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X0F,0XFF,0X00,0X00,0X00,0X00,]), 128, 64, 1)
    oled.show()
    time.sleep(1)

 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

17
 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

18
 
本帖最后由 eagler8 于 2020-4-23 18:44 编辑

5、尝试转换显示一张网络图片

 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

19
 

在线转换为bmp格式

 

 
 
 

回复

3386

帖子

0

TA的资源

五彩晶圆(中级)

20
 

小图片取模工具Image2Lcd来取模(通过调整亮度选取合适图案)

 

 
 
 

回复
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/7 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表