Coder Social home page Coder Social logo

botofancalin / m5stack-multiapp-advanced Goto Github PK

View Code? Open in Web Editor NEW
181.0 181.0 45.0 126.26 MB

A M5Stack firmware made on PlatformIO

License: MIT License

C 82.11% Objective-C 0.52% C++ 17.05% HTML 0.30% sed 0.01%
arduino esp32 esp32-oscilloscope esp32-weather-startion esp32-webradio m5stack m5stack-multiapp platformio

m5stack-multiapp-advanced's People

Contributors

botofancalin avatar ropg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

m5stack-multiapp-advanced's Issues

Noisy audio in Deep Sleep Mode

Describe the bug
When deep sleep mode is selected, audio turns on and outputs a low level of noise
Reset restarts the system and shuts off audio, as expected.

Invert Color

When the MultiApp starts, the display shows invert color. It seems a common problem on other M5 Stack apps recently.

New version compilation results

M5StackMod initializing...[E][sd_diskio.cpp:739] sdcard_mount(): f_mount failed 0x(3)
E (705) SPIFFS: mount failed, -10025
[E][SPIFFS.cpp:47] begin(): Mounting SPIFFS failed! Error: -1
OK
[E][Preferences.cpp:330] getUShort(): nvs_get_u16 fail: light NOT_FOUND
and nothing more...

any ideas?

Precompiled Firmware did not work.

I flashed the M5StackMultiApp.bin file from the Precompiled Firmware folder but the device did nothing.
I then tried the same with your "M5Stack_MultiApp_Firmware" and that one worked just fine.
Any ideas what could be the issue.
I opened the terminal after flashing and this is all it showed.

rst:0x1 (POWERON_RESET),boot:0x17 (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:812
load:0x40078000,len:0
load:0x40078000,len:11404
entry 0x40078a28
user code done

Not able to connect using WiFi SmartConfig

Hi,
In the first place thank you for publishing / sharing your repo!
Downloaded your repo. Using the Flash download tool I flashed the M5StackMultiApp.bin firmware first.
Then, using VSCode + PlatformIO, I managed to build the source and flash it onto a M5Stack FIRE using PlatformIO.

When I goto > System > WIFI CONNECTION > WiFi SmartConfig, I see the WiFi transmission on my mobile Phone. I see it also on an Android tablet.
Then I directed the mobile phone or the tablet to connect to 'ESP_....'; then using a webbrowser I went to '192.168.4.1'.
I was unable to get the WiFi SmartConfig webpage (which I was used to when using other fw/apps). Not on the mobile phone and not on the tablet.

Suddenly I saw on the display of the FIRE a text which I could not read because it was written on top of another line of text. See the images below:

IMG_4779

IMG_4780

IMG_4784

Somewhere, I read that it is also possible to use the SSID and Password that are already inside the system. But I don't know where I can see / set the WiFi credentials of the WiFi Access Point in my house. In 'normal' m5stack UIFlow system one can set the WiFi SSID and Password. In this built I don't know how to access them or how to alter them.

I would be greatful for your advice / explanation.
Thank you.
Paulus

precompiled bin not working after flashing M5core

M5stack core.
downloaded the .bin precompiled, and flashed with the tool

black screen nothing happens...

What more should i do ?
Should i copy some files to the sd card, what files ?

I'm a bit lost

Underground Now Requires HTTPS connection?

Hello,
I have just got a M5Stack Fire and love your app. However I can't get the Weather app to function, am I correct in thinking that Wunderground only allow https connections now? If I put the correct string in a browser address with https://...... with my api key etc I can get the data but don't get anything using your app. Please comment.
Regards
Phil

I2C Scanner not working

I2C Scanner not working

There is a missing initialization in the I2CScannerClass::Run() function in the I2CScanner.cpp file.
In order to correct the bug, just add Wire.begin(); after the line 5 : M5m.update();
@botofancalin

M5Stack-SD-Updater

Congrats for such a project, it's not easy to fit all this in just one sketch :-)

I've just tested the SD-Updater with this project and it seems to fit well, just to let you know you could easily maintain several themed versions of the M5Stack-MultiApp (i.e. WiFi tools, LoRa tools, games, utilities) and make them load each other from one extra menu.

This way you aren't limited by sketch size while still keeping the multi-app spirit :-)

Easy implementation:

pio lib install "M5Stack-SD-Updater" (will install globally so no need to pollute your /lib folder or even use a git submodule)

Add #include "M5StackUpdater.h" in your main.cpp

Compile your alternate MultiApps and copy the binaries on the microSD.

Call updateFromFS(SD, "/some-binary-name.bin"); from anywhere in your code when you need to load the alternate MultiApp.

I can do a pull request of this if you're interested.

Odroid-GO support

I've tested a slightly older build of your app (great work, by the way!) on an Odroid GO (https://www.hardkernel.com/main/products/prdt_info.php?g_code=G152875062626). I got the prebuilt image from here: https://forum.odroid.com/viewtopic.php?t=31705&p=229847

It mostly works, but button mapping is not ideal, and I had issues with web radio (I could hear static instead of the stream).

If you want to have a look and lack the hardware I could ask for Hardkernel to kindly donate a unit.

Cheers!

WIFI Selections crash application

Hi Guys,
Thought I'd try this cool set of apps for my M5Stack. Compile, build and load all went well. When selecting WIFI Smart config, application crashes and reboots with the following data appearing in the serial monitor. Oscope, games seem to work. I2C scanner works. WIFI Scanner also crashes.

M5StackMod initializing...OK
assertion "dataSize == readSize" failed: file "/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/nvs_flash/src/nvs_storage.cpp", line 419, function: esp_err_t nvs::Storage::readMultiPageBlob(uint8_t, const char*, void*, size_t)
abort() was called at PC 0x401371db on core 1

Backtrace: 0x4008d9cc:0x3ffb1aa0 0x4008dbfd:0x3ffb1ac0 0x401371db:0x3ffb1ae0 0x4010d3a7:0x3ffb1b10 0x4010d4b4:0x3ffb1b90 0x4010c55a:0x3ffb1bf0 0x4010cab1:0x3ffb1c30 0x4016e8ea:0x3ffb1c50 0x4016eade:0x3ffb1ca0 0x4016eb31:0x3ffb1cd0 0x40114880:0x3ffb1cf0 0x401149d6:0x3ffb1d10 0x400fd1b1:0x3ffb1d30 0x400e2acc:0x3ffb1d50 0x400e028a:0x3ffb1e50 0x400e06b2:0x3ffb1eb0 0x400e104d:0x3ffb1f20 0x400eeea2:0x3ffb1f50 0x400e1561:0x3ffb1f70 0x400f9e6d:0x3ffb1fb0 0x4008a0b9:0x3ffb1fd0

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

rst:0xc (SW_CPU_RESET),boot:0x17 (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:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
M5StackMod initializing...OK

Expected behavior
Expecting to work with android smart config

Screenshots
shown

Desktop (please complete the following information):

  • OS: windows 10
  • Browser firefox
  • Version 72.0.1

Smartphone (please complete the following information):

  • Device Galaxy S7
  • OS: [e.g. iOS8.1]
  • Browser Chrome
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

--Feature request--MQTT chat

Describe the bug

When I open the webserver,few seconds later it will auto reboot.
Here is the data in serial monitor.

ets Jun  8 2016 00:22:57
**FIRST POWER ON**
rst:0x1 (POWERON_RESET),boot:0x17 (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:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
M5StackMod initializing...[E][sd_diskio.cpp:739] sdcard_mount(): f_mount failed 0x(3)
OK

Brownout detector was triggered
**OPEN WEB SERVER RESTART**
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x17 (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:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
M5StackMod initializing...[E][sd_diskio.cpp:739] sdcard_mount(): f_mount failed 0x(3)
OK
E (14762) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (14762) task_wdt:  - IDLE0 (CPU 0)
E (14762) task_wdt: Tasks currently running:
E (14762) task_wdt: CPU 0: MywebServer
E (14762) task_wdt: CPU 1: loopTask
E (14762) task_wdt: Aborting.
abort() was called at PC 0x400fba9c on core 0

Backtrace: 0x4008d9cc:0x3ffbe170 0x4008dbfd:0x3ffbe190 0x400fba9c:0x3ffbe1b0 0x400858fd:0x3ffbe1d0 0x4000bfed:0x3ffd2f50 0x4008b235:0x3ffd2f60 0x40089e6b:0x3ffd2f80 0x401656e6:0x3ffd2fc0 0x40153e95:0x3ffd2fe0 0x40179169:0x3ffd3000 0x400f23ca:0x3ffd3040 0x400d556f:0x3ffd3090 0x4008a0b9:0x3ffd30f0

Rebooting...
ets Jun  8 2016 00:22:57
**AFTER WEBSERVER DATA**
rst:0xc (SW_CPU_RESET),boot:0x17 (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:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
M5StackMod initializing...[E][sd_diskio.cpp:739] sdcard_mount(): f_mount failed 0x(3)
OK

Brownout detector was triggered

ets Jun  8 2016 00:22:57
**NORMAL REBOOT**
rst:0xc (SW_CPU_RESET),boot:0x17 (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:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
M5StackMod initializing...[E][sd_diskio.cpp:739] sdcard_mount(): f_mount failed 0x(3)
OK

Brownout detector was triggered


To Reproduce
Steps to reproduce the behavior:

  1. Go to 'APPLICATIONS'
  2. Click on 'Web Server'
  3. Click on 'START'
  4. Screen flash and restart

Expected behavior
Only activate web server

Desktop (please complete the following information):

  • OS: [Windows 10]
  • Browser [firefox]
  • Version [73.0]

Additional context
I tried 12 times.Everytime has the same result.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.