Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. JJ
    3. Posts
    • Continue chat with JJ
    • Start new chat with JJ
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by JJ

    • RE: Bus Connector size? (not 2.54)

      Hi @ajb2k3,

      I gather you are talking about the internal MBUS GPIO pins - that connect the modules together.

      The pin pitch - distance between the pins - is 2.54 but the pins are height reduced compared to those found on a standard GPIO header - too SHORT for Dupont connectors to attach.

      The MBUS pins are intentionally height reduced in order to minimise the overall height of the M5Stack.

      It is possible to source a third party full height 30 pin GPIO header if needed, or you can make one using a GPIO for Arduino or Raspi. You could get a PCB made to go with it, based on the files available on github, see here.

      posted in PRODUCTS
      JJ
    • RE: Compilation errors in Arduino 1.6.5

      Hi @ajb2k3,

      Are you actually using Arduino IDE version 1.6.5 from 2015 - or is that a typo ?

      From your comments, I am not sure what issue you have found.

      Depending what sketch you are trying to load will dictate what libraries will need to be referenced at the start of the sketch, such as those you list.

      If you are having problems loading the examples, perhaps pick one and outline some specific details including error messages.

      posted in Lessons and Guides
      JJ
    • RE: Flash m5go with the regular m5stack firmware?

      Hi @lastcaress,

      You should be able to flash the standard M5Stack firmware onto the M5GO (you may need to use the "Erase" function on the ESP Flash Downloader Tool first).

      If you want to use M5Cloud you will need to load the M5Cloud firmware onto the M5Stack - it is available here.

      Not sure if you will be able to use the sensors using the same code - it depends how it is all setup.

      posted in FAQS
      JJ
    • RE: product suggestion - power plug bottom

      @wschnell Hi,

      Perhaps consider the M5Stack PLC Proto board.... you can use it to power the M5Stack via a standard DC power transformer rated between 9 - 12 volts. Have tested this - works well.

      posted in PRODUCTS
      JJ
    • RE: Problem compiling with Include M5Stack.h

      Hi @Zathras0,
      That seems a weird error to get from running M5Stack's simple Hello sketch which does not include a poweroff function. (?).
      Also I don't know the "ResetReason" sketch that you referred to. Where did you find this ?

      (1)OK it seems you have the M5Stack library installed in the correct place.

      (2) Is the Espressif ESP32 library installed ? Check: C:\Users\█████\Documents\Arduino\Hardware\espressif\esp32\libraries . If you don't have files there go to M5Stack setup guide and install them.

      (3) As PépéMax suggested, in the Arduino IDE, check that the M5Stack is selected as the board that you are using with the IDE. On the Arduino menu go to /Tools/Board . The M5Stack should be set here as the board you are using.

      @PépéMax

      '...some function of the ESP32 does not work yet for the M5Stack library like analogWrite()

      Just to clarify, as I understand it, the issue is that not all functions available on Arduino or ESP8266 boards are available at present on ESP32 boards in general - eg: analogWrite();. That is, the problem is not specific to M5Stack boards - it effects all ESP32 boards. Referenced here

      posted in FAQS
      JJ
    • RE: drawJpgFile / drawBmpFile

      @richard Hi Richard,

      Last time i tried, drawJpgFile worked fine with Arduino 1.8.5.

      Images need to be sized up to 330 x 240.

      posted in FAQS
      JJ
    • RE: M5Go versus M5Stack

      @kurthofman Hi Kurt,

      M5GO vs M5Stack Grey PSRAM / MPU9250 model - Many things are the same but some things are different. Here are the major differences:

      M5GO - 16 Mb SPI Flash , 4 Mb SRAM , 3x Grove ports , 550 mAh built-in battery, includes screws connecting bottom to top - 2 are captive, Lego compatible surface on the bottom module, RGB LEDs built into the bottom module. Comes loaded with the M5GO firmware that includes the Blockly web programming program.

      M5Stack Grey model - 4 Mb SPI Flash , 4 Mb PSRAM , 1x Grove port , 150 mAh built-in battery, no screws included, no Lego compatible surface on bottom module. Comes loaded with the "Factory Test" sketch.

      The M5GO should support any of the add-on modules..... I tested it with the Battery Module and it worked fine.

      You might want to purchase from the official store locations either at Ali Express here or their own store here

      posted in PRODUCTS
      JJ
    • RE: M5Stack-SAM - Could not find boards.txt

      @martinsky No problem - glad to hear it is now working..... the other two menus on my github page are also very good.... little more involved to setup, but worth the effort.

      The SD-Updater menu supports M5Stack library versions 0.1.6 and 0.1.7 (see notes under installation).

      The MultiApp Firmware Menu uses the ESP Flash Downloader to upload the code in place of the Arduino "IDE".

      posted in FAQS
      JJ
    • RE: M5Stack-SAM - Could not find boards.txt

      @martinsky

      Hi Martin,

      There may be a few issues here so I start from the beginning......

      OK so first up you need to have completed the standard steps for setting up the M5Stack, located here

      You should then have these directories installed:
      (1) C:\Users\your-user-name\Documents\Arduino\hardware\espressif\esp32
      (2) C:\Users\your-user-name\Documents\Arduino\libraries\M5Stack

      If downloading using git, then in git go to directory location equivalent to C:\Users\your-user-name\Documents\Arduino - which from within git will be: ~/Documents/Arduino

      Then do:

      git clone https://github.com/PartsandCircuits/M5Stack-SAM.git
      

      Go to: C:\Users\your-user-name\Documents\Arduino\M5Stack-SAM\M5Stack-SAM and open the M5Stack-SAM.ino file in the Arduino "IDE".

      [ Note that "Parts and Circuits" should not be part of any directory names on your machine ].

      Connect M5Stack , select com port, then compile and upload to M5Stack.

      ( For anyone not using git just select Download and then move the files into the appropriate directory: C:\Users\your-user-name\Documents\Arduino ) Avoid using Arduinos zip install option.

      IMPORTANT NOTE:

      You will need to be using M5Stack Library version 0.1.6 - some of the more recent libraries will probably not work, but 0.1.6 has been tested to work. I only recently became aware of this. I will make a note of this on the github page and will later try to update it.

      To downgrade the M5Stack library version:

      In Arduino, go to Sketch/Include Libraries/Manage Libraries then type M5Stack into the search field at the top.... it should then indicate which library version you have installed. If not 0.1.6 then click "Select Version" and select 0.1.6 and then select to install it.

      Once you have the SAM menu loaded on your M5Stack you can then revert back to using a more recent version of the M5Stack library with the Arduino "IDE". I haven't noticed any problems resulting from moving between library versions.

      OK hope that sorts this out for you.

      posted in FAQS
      JJ
    • RE: mRuby

      @crea Hi Crea,

      No previous discussion here that I recall. Is not officially supported.

      Some references: Check this video and this repo. Also this article - (in Japanese - translator fail).

      Seems it might be possible..... seems worth a try.

      The repo was even updated recently !

      Up for it ?

      posted in FAQS
      JJ
    • RE: M5Stack serious WiFi Failures !!

      @calin Ah.. i was wondering about that. I am interested to move over to using PlatformIO... Maybe this week.

      Oh and CONGRATULATIONS on your now award winning MultiApp software. Great effort that !!

      posted in PRODUCTS
      JJ
    • RE: M5Stack serious WiFi Failures !!

      @calin Well it seems there are a few possibilities... Hopefully Dr Wino can pin it down to one.

      Wow - a blast from the past! That was one of the first vids I saw on these ESP things some time ago now.... Nice idea to make an IDF version of the Light on/off sketch.

      posted in PRODUCTS
      JJ
    • RE: M5Stack serious WiFi Failures !!

      @drwino @calin
      This link is worth a read. Click link...Go to page 2 - see text in red titled - "Until now there was no problem, suddenly ceased to be connected to Wi-Fi (WiFi)"

      https://translate.google.com.au/translate?sl=auto&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=https%3A%2F%2Fwww.mgo-tec.com%2Fblog-entry-trouble-shooting-esp32-wroom.html&edit-text=&act=url

      posted in PRODUCTS
      JJ
    • RE: M5Stack serious WiFi Failures !!

      @drwino M5Stack - Model Differences: Grey vs Black

      Apart from the MPU-9250 providing the 9dof, the only other major difference is the addition of 4 Mb PSRAM in the grey model.

      The chips in both models are ESP32 Revision 1.

      Both models I checked are running the same SDK version.

      posted in PRODUCTS
      JJ
    • RE: M5Stack serious WiFi Failures !!

      @drwino Hi Dr Wino,
      I take it you are talking about the issue discussed here

      Checkout Lesson 3.1 (WiFi Access Point (Web Server) here in the forum under NEWS & LESSONS if you haven't already. Might be something there. It uses WiFi..... Button presses on the M5Stack activate a printed message in a web browser. Includes the use of button A.

      The lesson is here and the code is here

      posted in PRODUCTS
      JJ
    • RE: SPI clash between LCD and nRF24L01

      @sibtcha At the very top of the code it should have:

      #include <SPI.h>
      

      That file should already be on your system if you followed standard setup for the M5Stack - it should be located in:

      C:\Users\YOUR USER NAME\Documents\Arduino\hardware\espressif\esp32\libraries\SPI\src

      Perhaps give that a try with the M5Stack commands enabled.

      Further tweaks may be required....

      posted in PRODUCTS
      JJ
    • RE: SPI clash between LCD and nRF24L01

      @sibtcha Hi Sibtcha,
      I haven't tried using a thermocouple with the M5Stack..... I don't think Skelstar has been here in a while.... Perhaps post your code... someone may notice a problem.

      posted in PRODUCTS
      JJ
    • RE: How I can run espruino / javascript on the M5 Stack?

      @gabi I saw a suggestion that you need to use 115,200 for flashing the ESP32 and also have that speed set in the web IDE to connect to it...

      Instead of the Web IDE, some alternative means of connecting to the ESP32 are outlined here plus other details: https://www.espruino.com/ESP32#espruino-web-ide

      Using Javascript with the ESP32 is also discussed in the highly recommended and affordable book - "Kolban's Book on ESP32" available here

      posted in PROJECTS
      JJ
    • RE: M5Stack with Azure Cloud

      @vsthose

      This means the M5Stack is officially certified for use with Microsoft Azure cloud services.

      Below is a link to a video demo showing how to connect M5Stack to Azure using Mongoose OS. This video is targeted at Mac users but Mongoose OS can also be used on Windows or Linux.

      https://www.youtube.com/watch?v=znNirBAakzg

      Details on Mongoose OS: https://mongoose-os.com/

      Details on Microsoft - Azure IoT Fundamentals: https://docs.microsoft.com/en-us/azure/iot-fundamentals/

      posted in Cores
      JJ
    • RE: FactoryTest.ino fails to compile from new Arduino Installation and W10, others ok

      @jp No problem JP !!

      posted in FAQS
      JJ