esp_p10_tetris_clock icon indicating copy to clipboard operation
esp_p10_tetris_clock copied to clipboard

code of serial monitor

Open masoudmaddi opened this issue 5 years ago • 4 comments

*WM: Connection result: *WM: 3 *WM: IP Address: *WM: 192.168.1.113 23:37:32 30/03/2019 Winter Time. WiFi is connected. Uptime: 0 days 00:00:50 since 23:37:31 30/03/2019 Time changed: 2337

Panic C:\Users\ali\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0\cores\esp8266\core_esp8266_main.cpp:103 __yield

stack>>>

ctx: sys sp: 3ffffc60 end: 3fffffb0 offset: 01b0 3ffffe10: 40202b91 000045ba 000000ff 4020be1d
3ffffe20: 60000154 00000000 00004545 40204164
3ffffe30: 3ffef1b4 00000010 3fff5794 3fff21b4
3ffffe40: 0000ffff 3ffef1b4 0000000d 000000ff
3ffffe50: 00000000 00000000 00000001 0000ffff
3ffffe60: 0000000c 0000000f 3ffef1b4 402107a1
3ffffe70: 00000002 00000023 00000001 3ffef1b4
3ffffe80: 00000002 0000001e 0000f800 0000ffff
3ffffe90: 00000002 0000000c 3ffef1b4 402106f1
3ffffea0: 00000000 00000000 3fff55cc 4021087c
3ffffeb0: 0000000f 00000011 00000003 4022a81c
3ffffec0: 00000020 00000001 0000000f 00000000
3ffffed0: 00000000 3ffef1aa 3ffef1b4 402036b6
3ffffee0: 00000000 0000f800 00000004 00000010
3ffffef0: 00000000 00000008 3fff21b4 40202bb4
3fffff00: 00000007 3fff55d4 000000ff 3ffee488
3fffff10: 00e4d92a 00000282 00000282 60000600
3fffff20: 03057c8f 3ffeeb70 3fff54ac 402036f7
3fffff30: 40105382 3fff54ac 00f192a5 402105e6
3fffff40: 40243298 3fff54ac 3ffeeb70 4021066e
3fffff50: 60000600 3fff54ac 3ffeeb70 402432a5
3fffff60: 402432ea 3fffdab0 00000000 3fffdcb0
3fffff70: 3ffeeb98 3fffdad0 3fff2618 4020bceb
3fffff80: 40000f49 3fffdab0 3fffdab0 40000f49
3fffff90: 40000e19 40001878 00000002 3fffffb0
3fffffa0: 3fffff10 aa55aa55 000000b6 40104c38
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v951aeffa ~ld *WM: *WM: AutoConnect *WM: Connecting as wifi client... *WM: Using last saved values, should be faster *WM: Connection result: *WM: 3 *WM: IP Address: *WM: 192.168.1.113 23:37:57 30/03/2019 Winter Time. WiFi is connected. Uptime: 0 days 00:00:21 since 23:37:57 30/03/2019 Time changed: 2337

Panic C:\Users\ali\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0\cores\esp8266\core_esp8266_main.cpp:103 __yield

stack>>>

ctx: sys sp: 3ffffc60 end: 3fffffb0 offset: 01b0 3ffffe10: 3fff54ac 3fff5794 3fff54ac 4020be1d
3ffffe20: b98ff715 3ffef1b4 3fff22b4 40204164
3ffffe30: 3ffef1b4 3ffeeb48 3fff54ac 3fff21b4
3ffffe40: 0000ffff 3ffef1b4 0000000d 000000ff
3ffffe50: 00000000 00000000 3ffec090 0000ffff
3ffffe60: 0000000c 0000000f 3ffef1b4 402107a1
3ffffe70: 00000002 3fff43cc 00000000 3ffef1b4
3ffffe80: fffffffe 0000001e 0000f800 0000ffff
3ffffe90: 00000002 0000000c 3ffef1b4 402106f1
3ffffea0: 0000001c 01476591 3fff2698 4021087c
3ffffeb0: 0000000f 00000011 ffffffff 40100b46
3ffffec0: 00000000 00000001 0000000f 00000000
3ffffed0: 00000000 3ffef1aa 3ffef1b4 402036b6
3ffffee0: 00000000 0000f800 00000004 00000010
3ffffef0: 00000000 00000008 3fff21b4 40202bb4
3fffff00: 00000007 00005429 000000ff 4021e605
3fffff10: 00616d25 00005429 3fff2980 60000600
3fffff20: 014960ea 3ffeeb70 3fff5794 402036f7
3fffff30: 40105382 3fff5794 0066cb2a 402105e6
3fffff40: 40243298 3fff5794 3ffeeb70 4021066e
3fffff50: 60000600 3fff5794 3ffeeb70 402432a5
3fffff60: 402432ea 3fffdab0 00000000 3fffdcb0
3fffff70: 3ffeeb98 3fffdad0 3fff2618 4020bceb
3fffff80: 40000f49 40000f49 3fffdab0 40000f49
3fffff90: 40000e19 40001878 00000002 3fffffb0
3fffffa0: 3fffff10 aa55aa55 000000b6 40104c38
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v951aeffa ~ld *WM: *WM: AutoConnect *WM: Connecting as wifi client... *WM: Using last saved values, should be faster

masoudmaddi avatar Mar 30 '19 22:03 masoudmaddi

finally I have found that and that is resultat of serial monitor

masoudmaddi avatar Mar 30 '19 22:03 masoudmaddi

Hi @masoudmaddi,

I can see two possible causes of the problem:

  • From the rst cause message it could be that there is a problem with the power supply. That could cause such reboots. Using a beefy power supply and/or putting a big capacitor (~1000 yF) in parallel of the power supply to catch current spikes.
  • There could also be issues with the library versions. Please double check if you use the exact versions as shown in https://github.com/toblum/esp_p10_tetris_clock/blob/master/platformio.ini. Especially the version for Adafruit GFX (1.3.6) is important.

Regards Tobias

toblum avatar Mar 30 '19 23:03 toblum

Hi Tobias Thanks a lot for your helping that is right the problem comes from GFX Adafruit and Tetris Clock works but I have three questions: 1- why is in my display letter S for Tetris in the second line? 2-can I increase or decrease the speed of Tetris block? 3-do you know the another links for weather or another features? Best regard Maddi

Sent from my iPhone

On 31 Mar 2019, at 00:17, Tobias Blum [email protected] wrote:

Hi @masoudmaddi,

I can see two possible causes of the problem:

From the rst cause message it could be that there is a problem with the power supply. That could cause such reboots. Using a beefy power supply and/or putting a big capacitor (~1000 yF) in parallel of the power supply to catch current spikes. There could also be issues with the library versions. Please double check if you use the exact versions as shown in https://github.com/toblum/esp_p10_tetris_clock/blob/master/platformio.ini. Especially the version for Adafruit GFX (1.3.6) is important. Regards Tobias

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

masoudmaddi avatar Apr 01 '19 17:04 masoudmaddi

Hi @masoudmaddi,

great that the clock now works. Regarding your questions:

  1. This was reported before (https://github.com/toblum/esp_p10_tetris_clock/issues/4) something in the used libraries seems to have changed in the meanwhile, but I can't test it at the moment as I don't have a matrix in that size at hand. I will test it if I got a new matrix. But that could take some time. You may try to move the letter positions a bit here: https://github.com/toblum/esp_p10_tetris_clock/blob/75ecaad2b92ec1267649568c5ad33c69e335eabb/src/drawing.h#L19 so that they dont wrap the line.
  2. You can try to tweak updater by changing the 0.1 to other values in this line: https://github.com/toblum/esp_p10_tetris_clock/blob/75ecaad2b92ec1267649568c5ad33c69e335eabb/src/tetris_clock.ino#L69
  3. You may have a look here: https://github.com/VGottselig/ESP32-RGB-Matrix-Display or at Brian Loughs projects: http://blough.ie/ He also dsigned a nice PCB .

toblum avatar Apr 01 '19 20:04 toblum