Hello, how can I access the M5stack-V microphone?
Greetings
Jaime
Hello, how can I access the M5stack-V microphone?
Greetings
Jaime
Problem solved, thanks to both of you for the suggestions.
Thank you
Jaime
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
Hello, someone knows where I can find the M5StickV dimensions.
Regards
Jaime
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
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
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
Hi, I solved a similar problem by flashing the camera again. I downloaded the firmware located in: https://github.com/m5stack/esp32-cam-demo. To flash the camera I used this software https://www.espressif.com/sites/default/files/tools/flash_download_tools_v3.6.4.rar.
Once has been downloaded the tool it has 4 options, I used the option 3 and I configured the tool as show in the image:
I hope this helps you.