Navigation

    M5Stack Community

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

    Posts made by raychmond

    • RE: Looking for Factory Test Source code for Core2

      @felmue

      @felmue said in Looking for Factory Test Source code for Core2:

      Hello @jdonth

      what I meant by Arduino framework version 1.0.6 is the arduino-esp32 framework version 1.0.6 (instead of 2.0.1) and not the Arduino IDE. Sorry if I wasn't clear.

      BTW: when I run the app compiled with 2.0.1 I see this error in the log:

      E (2888) I2S: i2s_check_set_mclk(253): ESP32 only support to set GPIO0/GPIO1/GPIO3 as mclk signal, error GPIO number:6
      E (2895) I2S: i2s_set_pin(314): mclk config failed
      

      I was able to fix this error by adding this line in function InitI2SSpakerOrMic():

      tx_pin_config.mck_io_num = GPIO_NUM_0;
      

      Thanks
      Felix

      Thank you Felix! I'm glad I found your solution for this error. It finally works. I'm using version 2.0.2. I can now run the EchoSTT on my Core2.

      @jdonth I'm not sure if you fixed your error. I have the same deprecated error. But it still can get compiled. My suggestion is to update the M5Stack libraries. This is what I did.

      posted in Core 2
      R
      raychmond
    • RE: Is my Joystick Unit Faulty?

      I asked M5Stack support, their answer is:

      The ‘stuck’ design is the original function of the joystick, which we called 'self-clock'. For the purpose of keeping the joystick in one direction continuously, without manual operation.

      Best Regards,
      support@m5stack.com

      posted in Units
      R
      raychmond
    • RE: Is my Joystick Unit Faulty?

      @ajb2k3 Thanks a lot for your confirmation and notes.
      I was expecting that the joystick will bounce back to the center, even after it reaches at the end of each direction. But it seems that this is what M5Stack intended to do so.

      posted in Units
      R
      raychmond
    • RE: Is my Joystick Unit Faulty?

      0_1636747636653_IMG_4554_new.jpg
      0_1636747650087_IMG_4555_new.jpg

      posted in Units
      R
      raychmond
    • RE: Is my Joystick Unit Faulty?

      0_1636747474458_IMG_4553_new.jpg

      posted in Units
      R
      raychmond
    • Is my Joystick Unit Faulty?

      I bought a Joystick Unit several months ago and didn't use it until recently. I found that it will stick and lock at the end the each direction without coming back to the center. Is it normal? My other joysticks (not from M5Stack) don't act like this. So I guess this is faulty, or others have the same problem?

      Thank you!

      posted in Units
      R
      raychmond
    • RE: How to use PaHub and PbHub at the same time?

      @felmue That makes total sense! Thank you so much!
      I replaced the PaHub with the Hub expansion unit. Everything works now.

      posted in Units
      R
      raychmond
    • How to use PaHub and PbHub at the same time?

      I'm trying to connect multiple I2C units(red, for example joystick, Env II and Color) and I/O units(black, such as Angle, Light, and Dual Button) to the FIRE. But both PaHub and PbHub are using the PortA. Is there any way that I can make them work? My plan is to connect PaHub to PortA and connect PbHub to one of the channels on PaHub. My question is how to get the values from each unit. I'm using the Arduino IDE.
      Thank you very much!

      posted in Units
      R
      raychmond
    • RE: OscPocketM - portable beat production tool for the M5Stack Core2

      Never mind. I found out that my M5core2 library is too old. After updating to the latest version, it uploaded successfully.

      Thank you anyway!

      posted in PROJECTS
      R
      raychmond
    • RE: OscPocketM - portable beat production tool for the M5Stack Core2

      Hi, I really like your idea. I tried to upload to my core2, but it ended up with compile error:
      code.ino: In function 'void UIHandle()':
      code:1657:3: error: 'Event' was not declared in this scope
      Event& e = M5.Buttons.event;
      ^
      code:1657:10: error: 'e' was not declared in this scope
      Event& e = M5.Buttons.event;
      ^
      code:1657:17: error: 'class M5Core2' has no member named 'Buttons'

      Can you please advise me what I should do to fix this?

      Thank you!

      posted in PROJECTS
      R
      raychmond
    • RE: Core 2 and GoPlus2 - how to connect ?

      @felmue Thank you Felix.
      I tested the PortB hub. It works as well.

      posted in Core 2
      R
      raychmond
    • RE: Core 2 and GoPlus2 - how to connect ?

      @felmue Thank you very much for your help. You are the best!
      Simply commenting out that line seems not working. But I followed your idea and renamed all "Wire" to "Wire1" in GoPlus2.cpp. It then works. I don't even understand what "Wire1" is.

      posted in Core 2
      R
      raychmond
    • RE: Core 2 and GoPlus2 - how to connect ?

      @felmue
      I finally received the GoPlus2. I stacked first with my Fire, and used the GoPlus2 Example, the servos work perfectly. I haven't tested the PortB hub and DC motor on Fire yet.
      However, when I stack with Core2, the servos don't move at all. The only change I made is replaced #include <M5Stack> with #include <M5Core2>.
      Do you have any clue why it doesn't work with Core2?

      Thank you!

      posted in Core 2
      R
      raychmond
    • RE: Updated version, working Core2 web radio player, M5Stack

      I think it's the matter of the board selection. When I first tried homeuser33's code I used the M5Stack OEM board: M5Stack Arduino>M5Stack-Core2(The PSRAM is enabled). It kept rebooting itself. I then switched to ESP32 Arduino>M5Stack-Core2(The PSRAM is enabled as well), it then worked.
      Today, I tried different combinations. It ended up with that the only scenario that it's not working if you use M5Stack Arduino>M5Stack-Core2 with PSRAM enabled. M5Stack Arduino>M5Stack-Core2 with PSRAM disabled works perfectly like world101 said. But if you use ESP32 Arduino>M5Stack-Core2, both enabled and disabled work. So I guess this is the matter of selecting different boards.

      Thanks!

      posted in Core 2
      R
      raychmond
    • RE: Updated version, working Core2 web radio player, M5Stack

      @homeuser33
      Thanks for the updates. The new version gave me compiling error because the font not found. Then I added #include "Free_Fonts.h", now it's working.
      I really like this web radio player, especially the stations you chose. I play this all day by my laptop.
      Looking forward to seeing the new updates.

      posted in Core 2
      R
      raychmond
    • RE: CORE2 as Web radio, without extra hardware ?

      @homeuser33
      Thank you! I just tried your code. It works like a charm. The sound quality on CORE2 is awesome, which is much better than it's on FIRE and StickC.

      posted in Core 2
      R
      raychmond
    • RE: CORE2 as Web radio, without extra hardware ?

      @agreedk
      Thank you!
      I did the same thing. The code works on M5StickC, but not on Cores2. The author did post the Core2 code, but he said it’s not tested. The fact is it’s not working.
      I hope you can move to Core2 soon.
      Thank you!

      posted in Core 2
      R
      raychmond
    • RE: CORE2 as Web radio, without extra hardware ?

      @agreedk
      Hi, were you able to play stream or mp3 on Core2?
      The only program I can make the sound is the Core2 example speak.ino. I'm trying to combine the example with the web ratio program that you mentioned. It gives me error due to decode problem.
      Then I turned to another tutorial that plays mp3 on SD card. But it doesn't output the sound either. I don't know what the problem is. So I hope you did successfully and can shed some light on this issue.

      Thank you,

      posted in Core 2
      R
      raychmond
    • RE: Core 2 and GoPlus2 - how to connect ?

      I finally made it. It turns out there are a couple of problems. First, to stack DC Motor Module on FIRE, I had to remove the M5GO Bottom which has the battery. In the example, they have M5.Power.begin(). It doesn't cause problem until it executes M5.update(). If I comment out M5.update(), the buttons don't work. Anyway, this is the first problem. I ended up with commenting out the M5.Power.begin()
      The second problem is the if ... else if ... In the example, they used if...else if to catch the button released. It turns out this is not working. It had to be if ... if ...
      Well, I'm happy that it finally works.

      posted in Core 2
      R
      raychmond
    • RE: Core 2 and GoPlus2 - how to connect ?

      https://github.com/m5stack/M5Stack/tree/master/examples/Modules/LEGO_PLUS
      The is the Arduino example I used.
      First, the screen didn't even display until I commented out the M5.update(). I changed the initial speed value to 255 and not use buttons to change the value. But the motor still doesn't rotate.

      Thank you!

      posted in Core 2
      R
      raychmond