用ESP32加LittlevGL库DIY一个回流焊炉

ESP32、ESP8266
ESP32-S2、ESP32-S3、ESP32-C3
dukeduck
帖子: 29
注册时间: 2020年 4月 25日 16:19

Re: 用ESP32加LittlevGL库DIY一个回流焊炉

#11

帖子 dukeduck »

根据使用不带psram的esp32的用户反馈,使用中会因为内存耗尽而死机,怀疑跟温度曲线的绘制有关。现代码做了一些优化,可以减少内存使用,但是否能避免死机,还需测试。已经更新到beta2的分支里。

oyster
帖子: 63
注册时间: 2021年 3月 2日 20:06

Re: 用ESP32加LittlevGL库DIY一个回流焊炉

#12

帖子 oyster »

还是lvgl界面好看啊
有空学习一下。

希望官方直接提供了esp32的固件,我在windows(我是说纯windows,不含windows的linux子系统)上,不知道自己咋编译固件

oyster
帖子: 63
注册时间: 2021年 3月 2日 20:06

Re: 用ESP32加LittlevGL库DIY一个回流焊炉

#13

帖子 oyster »

@dukeduck
我在 这块esp32cam板子 上,烧了你给出的带lvgl的固件

 运行简单的程序(见最后面)的时候,出现这些错误信息,请问如何解决呢?谢谢啊

代码: 全选

Guru Meditation Error: Core  1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401521a8: 00000004 15500444 10051004
Core 1 register dump:
PC      : 0x401521ac  PS      : 0x00050d30  A0      : 0x800f492b  A1      : 0x3ffcd050  
A2      : 0x00000007  A3      : 0x00000000  A4      : 0x40150cad  A5      : 0x00000003  
A6      : 0x3f4227f4  A7      : 0x00000000  A8      : 0x3ff4409c  A9      : 0x00000004  
A10     : 0x00000000  A11     : 0x00000007  A12     : 0x00000000  A13     : 0x00000000  
A14     : 0x00000001  A15     : 0x00000027  SAR     : 0x00000019  EXCCAUSE: 0x00000000  
EXCVADDR: 0x00000000  LBEG    : 0x4000c46c  LEND    : 0x4000c477  LCOUNT  : 0x00000000  

ELF file SHA256: 0000000000000001000040155045050000000000000000000000000000000000

Backtrace: 0x401521ac:0x3ffcd050 0x400f4928:0x3ffcd080 0x400f49dd:0x3ffcd0b0 0x400e8696:0x3ffcd0e0 0x400df071:0x3ffcd100 0x400ec875:0x3ffcd120 0x400e3200:0x3ffcd1c0 0x400df071:0x3ffcd230 0x400df09e:0x3ffcd250 0x4014283d:0x3ffcd270 0x40142981:0x3ffcd310 0x400f3fb8:0x3ffcd340 0x4008f52d:0x3ffcd370

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:4824
load:0x40078000,len:9652
load:0x40080400,len:6200
entry 0x400806f0
W (325) cpu_start: Chip revision is higher than the one configured in menuconfig. Suggest to upgrade it.
MicroPython v1.9.4-2072-gf89c8c48c-dirty on 2020-01-17; ESP32 module with ESP32
Type "help()" for more information.
以下是测试用的简单的代码

代码: 全选

import time
from machine import *
p7 = Pin(7, Pin.OUT)
P8 = Pin(8, Pin.OUT)

for i in range(20):
    p7.value(0)
    p8.value(1)
    time.sleep_ms(1000)
    p7.value(1)
    p8.value(0)
    time.sleep_ms(1000)
 

dukeduck
帖子: 29
注册时间: 2020年 4月 25日 16:19

Re: 用ESP32加LittlevGL库DIY一个回流焊炉

#14

帖子 dukeduck »

@oyster 你这块板子上是ESP32S,我github上给的固件只能用于ESP32 Wrover或者ESP32 Wroom这样两个型号的芯片

dukeduck
帖子: 29
注册时间: 2020年 4月 25日 16:19

Re: 用ESP32加LittlevGL库DIY一个回流焊炉

#15

帖子 dukeduck »

oyster 写了:
2021年 3月 3日 11:49
还是lvgl界面好看啊
有空学习一下。

希望官方直接提供了esp32的固件,我在windows(我是说纯windows,不含windows的linux子系统)上,不知道自己咋编译固件

 
编译固件得在linux下,我就是在win10的linux子系统下弄的

你git clone那个叫lv_micropython的repo,然后跟着readme走就好了

oyster
帖子: 63
注册时间: 2021年 3月 2日 20:06

Re: 用ESP32加LittlevGL库DIY一个回流焊炉

#16

帖子 oyster »

今天看到一个说成本¥2000、即将开源的自动贴片机

回复

  • 随机主题
    回复总数
    阅读次数
    最新文章