M5Stack-Core-ESP32

vibnwis
Posts: 89
Joined: Thu Aug 24, 2017 1:13 am

M5Stack-Core-ESP32

Postby vibnwis » Thu Feb 08, 2018 12:00 pm

HI there,

I found the board in Aliexpress. HOwever, the listing does not really tell much about the system. Does anyone know

1. If it support FREERtos?
2. what M5Stack is?
3. Does it include TFT LCD driver? which I can use

User avatar
rudi ;-)
Posts: 1727
Joined: Fri Nov 13, 2015 3:25 pm

Re: M5Stack-Core-ESP32

Postby rudi ;-) » Thu Feb 08, 2018 12:31 pm

vibnwis wrote:HI there,

I found the board in Aliexpress. HOwever, the listing does not really tell much about the system. Does anyone know

1. If it support FREERtos?
2. what M5Stack is?
3. Does it include TFT LCD driver? which I can use
hi vibnwis

1. yes, ESP-IDF and also FreeRTOS is supported, inside is ESP32
2. lookup here more details
3. yes lookup download section there and github repo

you can visit the cloud, there is m5stack WebIDE too

hope this helps

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

vibnwis
Posts: 89
Joined: Thu Aug 24, 2017 1:13 am

Re: M5Stack-Core-ESP32

Postby vibnwis » Fri Feb 09, 2018 5:27 am

Hi,
If I am not wrong, it will work with ESP-IDF. However, it will not able to drive the TFT_LCD and other peripherals (assuming there are some). Any comments?

User avatar
rudi ;-)
Posts: 1727
Joined: Fri Nov 13, 2015 3:25 pm

Re: M5Stack-Core-ESP32

Postby rudi ;-) » Fri Feb 09, 2018 10:43 am

vibnwis wrote:Hi,
If I am not wrong, it will work with ESP-IDF. However, it will not able to drive the TFT_LCD and other peripherals (assuming there are some). Any comments?
hi,
hope i understand you right.
first:
m5stack is founded on esp32.
so you must use esp-idf in basicly way's, esp32-arduino, and all the other ide's that support esp32,
also you can run loboris python work and so on. there are many things on the world,
which support esp32. the base is allways the esp-idf.

the hardware extras what m5stack is used, example the screen,
this is not basicly in the esp-idf, same with some bmexxx sensor#s or other parts
what you can find in the world as arduino parts or 3thrd party's.

but you can use this m5stack libs,
example:
look at the github of m5stack,
support1
support2 esp32-arduino ide
example1 you see, that the used screen is basicly supported, you do not need other libs.

hope this helps
btw: what you missing? where is your unsure?

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
Vader_Mester
Posts: 300
Joined: Tue Dec 05, 2017 8:28 pm
Location: Hungary
Contact:

Re: M5Stack-Core-ESP32

Postby Vader_Mester » Fri Feb 09, 2018 10:51 am

Code: Select all

task_t coffeeTask()
{
	while(atWork){
		if(!xStreamBufferIsEmpty(mug)){
			coffeeDrink(mug);
		} else {
			xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
			xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
		}
	}
	vTaskDelete(NULL);
}

vibnwis
Posts: 89
Joined: Thu Aug 24, 2017 1:13 am

Re: M5Stack-Core-ESP32

Postby vibnwis » Fri Feb 09, 2018 11:01 am

Hi Vader,
Thanks for the link. I just purchased one unit from it.

vibnwis
Posts: 89
Joined: Thu Aug 24, 2017 1:13 am

Re: M5Stack-Core-ESP32

Postby vibnwis » Fri Feb 09, 2018 11:12 am

Hi Rudi;-)

Many thanks for the reply.

If I can put my understanding into words, the M5Stack is built on esp-idf libraries but not for FreeRTOS. Instead, it is for Arduino. For the peripherals to work, it needs drivers which conforms to Arduino requirements. For that reason, those libraries in M5Stack will not work esp-idf FreeRTOS system. I think, one could rewrite Arduino driver to FreeRTOS. However, it would be huge undertaking for me. Hence, I prefer to have something readily available.

Does it make sense?

Thank you
Lim

User avatar
rudi ;-)
Posts: 1727
Joined: Fri Nov 13, 2015 3:25 pm

Re: M5Stack-Core-ESP32

Postby rudi ;-) » Fri Feb 09, 2018 12:33 pm

vibnwis wrote:Hi Rudi;-)

Many thanks for the reply.

If I can put my understanding into words, the M5Stack is built on esp-idf libraries but not for FreeRTOS. Instead, it is for Arduino. For the peripherals to work, it needs drivers which conforms to Arduino requirements. For that reason, those libraries in M5Stack will not work esp-idf FreeRTOS system. I think, one could rewrite Arduino driver to FreeRTOS. However, it would be huge undertaking for me. Hence, I prefer to have something readily available.

Does it make sense?

Thank you
Lim
Hi Lim,

"M5Stack" is only the name for the "gimmick"
do not think, that is a Stack :) ... it is only so named cause it is 5cm x 5 xm :)
inside is esp32. And in some different M5Stacks, there is acceleration or other sensoric.
if so, then this is allways supported by the manufacturer itself,
FreeRTOS is supported over ESP-IDF - so FreeRTOS is supported in this "M5Stack named" ESP32 gimmick.
hope now is clear what you must think by "M5Stack".

What you can do:
you can make own develop boards for this m5stack
example:
https://github.com/m5stack/M5-hardware
you can then build expansions boards for the m5stack hardware and sure
write drivers and libs for this.

This m5stack is a "build" system, with "build" connector ( 2x15 2.54 BUS )
Image

Image

example with Mega32u4 it is opensource and open hardware and now with ESP32

the best is, you follow the account and you will allways see many good news and new ideas with m5stack
DVavBFjW0AAMoO6.jpg
DVavBFjW0AAMoO6.jpg (132.82 KiB) Viewed 13592 times
DUTo3WbVAAAR3eR.jpg
DUTo3WbVAAAR3eR.jpg (116.28 KiB) Viewed 13587 times
minimal documentation for the M5Stack is here online,
the M5Stack Cloud support python
visit the M5Stack Web Cloud Repo on Github


best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Re: M5Stack-Core-ESP32

Postby loboris » Fri Feb 09, 2018 12:53 pm

@vibnwis

The M5Stack is basically the ESP32 development board packed in the nice box with integrated display and expansion connectors, there are no essential differences between M5Stack and other ESP32 development boards.
You can use it for developing any type application you want.

There is also a new version M5Stack 2018 with 4MB of psRAM. If you want to run MicroPython on ESP32, it is an excelent choice.

vibnwis
Posts: 89
Joined: Thu Aug 24, 2017 1:13 am

Re: M5Stack-Core-ESP32

Postby vibnwis » Fri Feb 09, 2018 7:45 pm

Many thanks for the replies. I will need to look into those source code.

Who is online

Users browsing this forum: No registered users and 61 guests