Navigation

    M5Stack Community

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

    jarain78

    @jarain78

    0
    Reputation
    12
    Posts
    1799
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    jarain78 Follow

    Posts made by jarain78

    • M5Stick-V microphono

      Hello, how can I access the M5stack-V microphone?

      Greetings

      Jaime

      posted in M5Stick V
      J
      jarain78
    • RE: M5stack V uart communication

      Problem solved, thanks to both of you for the suggestions.

      Thank you

      Jaime

      posted in M5Stick V
      J
      jarain78
    • M5stack V uart communication

      Hello everyone, does anyone know how I can connect my M5Stick V to my M5Stack Fire using serial communication? These are a part of the codes I use.

      Stick-V

      import time
      from machine import UART
      from fpioa_manager import fm

      fm.register(35, fm.fpioa.UART2_TX, force=True)
      fm.register(34, fm.fpioa.UART2_RX, force=True)
      uart = UART(UART.UART2, 9600)

      while(True):
      uart.write("Hello World!\r")
      time.sleep(1000)

      Stack-Fire

      #include <M5Stack.h> // needed for my board M5Stack

      HardwareSerial m5stack_uart(2);

      void setup()
      {
      M5.begin();

      Serial.begin(9600); ;
      m5stack_uart.begin(9600, SERIAL_8N1, 16, 17);
      //Serial2_.flush();
      Serial.println("Hola");
      m5stack_uart.println("Hola");

      }

      void loop()
      {
      m5stack_uart.println("@");
      if (m5stack_uart.available()) {
      String s = m5stack_uart.readString();
      Serial.println(s);
      }

      if (Serial.available()) {
      String s = Serial.readString();
      m5stack_uart.println(s);
      }

      }

      Regards

      Jaime

      posted in M5Stick V
      J
      jarain78
    • RE: M5StickV dimensions

      Thank you @staberas.

      posted in M5Stick V
      J
      jarain78
    • M5StickV dimensions

      Hello, someone knows where I can find the M5StickV dimensions.

      Regards

      Jaime

      posted in M5Stick V
      J
      jarain78
    • M5stickv error accessing the SD memory.

      Hello everyone, I have a problem with my M5StickV, reading the model (kmodel) from SD memory. The system returns the following error, when accessing the SD memory.

      ['flash']
      ['ding.wav', 'startup.jpg', 'freq.conf', 'boot.py']

      Traceback (most recent call last):
      File "<stdin>", line 42, in <module>
      OSError: [Errno 19] ENODEV
      MicroPython v0.4.0-52-g3b8c18b84-dirty on 2019-10-17; Sipeed_M1 with kendryte-k210
      Type "help()" for more information.

      Regards

      Jaime

      posted in General
      J
      jarain78
    • RE: M5stick V and Maix Py

      Hi, thanks for your answer.

      Regards

      Jarain78

      posted in General
      J
      jarain78
    • M5stick V and Maix Py

      Hello I recently bought a M5stick V and I'm trying to program it using the Maix Pi IDE. I have updated the device firmware, but I couldn't get it to connect. Someone knows how to do this, or there is another micro python programming IDE for this device.

      Regards

      Jarain78

      posted in General
      J
      jarain78
    • Micropython post error

      Hello everybody, I have a problem, I'm trying to send a wav file using the "urequests" library, but I can't do it. I use a M5GO (FIRE) and micro-piton returns the following error:

      TypeError: object with buffer protocol required

      Any one knows how I can solve this?.

      This is my code:

          url = "http://server_addres/wav_file"
          fin = wave.open('/sd/temp.wav', 'rb')
          
          file_to_send= {'file': ubinascii.b2a_base64(fin)}
          header={"content-type":"audio/wav", 'file': ubinascii.b2a_base64(fin)}
          
          # data=file_to_send,
          
          try:
              r = urequests.post(url,  headers=header)
              print (r.text)
          finally:
              print("Close...")
              fin.close()
      

      Regards

      Jarain78

      posted in FAQS
      J
      jarain78