Looking at options again, this time the ESP32 familiy.
I see the supported devices list.
https://www.flowcode.co.uk/embedded/tar ... #ChipTable
and the toolchain guide,
https://www.flowcode.co.uk/wiki/images/ ... ctions.pdf
Are there any trips/version etc to be aware of with this ToolChain?
For hardware what is a good starting point, genunine chip, well supported and proven with Flowcode V9 or V10.
It appears there are many versions, generations and across several series S, C, H.
I love small development boards similar to an ECIO, personally I would rather pay a little more to have a good product over the cheapest knock-off product.
Is there anything people would suggest from a reputable supplier with good documentation.
I like the ideal of this Adafruit Feather ecosystem, which uses the ESP-WROOM-32 module. Whilst the development board is not listed, is the core ESP32 module supported.
From a flowcode perspective..Does FC10 support the ESP32's internal CAN or is it still advised to use external chip like MCP2512 over SPI.
Does flowcode support dual processors or multiple threads. I'm sure this is a nightmare to code for!
Thanks al.
J.
ESP32 Noobs Begineers Guide
-
- Posts: 140
- http://meble-kuchenne.info.pl
- Joined: Sun Dec 20, 2020 6:06 pm
- Has thanked: 48 times
- Been thanked: 35 times
-
- Matrix Staff
- Posts: 1786
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 455 times
- Been thanked: 621 times
Re: ESP32 Noobs Begineers Guide
Hello,
For now I would avoid the C2, S3 devices. I'm investigating support for these. Anything based on the standard ESP32 should be fine.
My goto is the knock off Lolin32 lite boards from Aliexpress, they are low cost and work great though the Lipo battery charge circuit is a bit suspect.
https://www.aliexpress.com/item/3300917 ... 18021Dltqi
Swapping out the charger IC allows the battery charging to function correctly too.
Or anything based on the WROOM32 should also be great. Just use the WROOM32 definition file and you should be good to go.
Yes the internal CAN should be supported and working.
When installing the toolchain follow the guide and you should end up with a working installation.
Flowcode does allow you to use the second core using some C commands, I beleive we have a post on the forums somewhere regarding this. However it might be better if your using Bluetooth or Wifi to leave the second core dedicated to driving these tasks.
For now I would avoid the C2, S3 devices. I'm investigating support for these. Anything based on the standard ESP32 should be fine.
My goto is the knock off Lolin32 lite boards from Aliexpress, they are low cost and work great though the Lipo battery charge circuit is a bit suspect.
https://www.aliexpress.com/item/3300917 ... 18021Dltqi
Swapping out the charger IC allows the battery charging to function correctly too.
Or anything based on the WROOM32 should also be great. Just use the WROOM32 definition file and you should be good to go.
Yes the internal CAN should be supported and working.
When installing the toolchain follow the guide and you should end up with a working installation.
Flowcode does allow you to use the second core using some C commands, I beleive we have a post on the forums somewhere regarding this. However it might be better if your using Bluetooth or Wifi to leave the second core dedicated to driving these tasks.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 1213
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 297 times
- Been thanked: 429 times
Re: ESP32 Noobs Begineers Guide
Hi
I built the Power Monitor last year using an ESP32 and had disappointing results with range and connectivity. Barely able to connect to my router with a LOS of only a few metres.
Bought another module and had similar problems. These modules were "cheap" and bought from a well known online market with next day delivery.
I then bought one from a more specialist supplier (an Open Smart ESP-32) which cost about three times the price of the "cheapos'" and this connected instantly and I've had no issue with it anywhere in the house or Evil Lab.
So it seems you get what you pay for with these modules.
I looked at the ones in Ben's link and will probably buy some mainly as he has recommended them.
If you look through the posts you will see issues with installing the TC, but these are almost always down to not following the instructions exactly. I recently had an issue when installing on a W10 machine but it was down to me not noticing an option during the install process. Depending on your PC there could be a few additional downloads required so it's best to pay attention during the install.
Regards
I built the Power Monitor last year using an ESP32 and had disappointing results with range and connectivity. Barely able to connect to my router with a LOS of only a few metres.
Bought another module and had similar problems. These modules were "cheap" and bought from a well known online market with next day delivery.
I then bought one from a more specialist supplier (an Open Smart ESP-32) which cost about three times the price of the "cheapos'" and this connected instantly and I've had no issue with it anywhere in the house or Evil Lab.
So it seems you get what you pay for with these modules.
I looked at the ones in Ben's link and will probably buy some mainly as he has recommended them.
If you look through the posts you will see issues with installing the TC, but these are almost always down to not following the instructions exactly. I recently had an issue when installing on a W10 machine but it was down to me not noticing an option during the install process. Depending on your PC there could be a few additional downloads required so it's best to pay attention during the install.
Regards
-
- Valued Contributor
- Posts: 798
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 157 times
- Been thanked: 185 times
Re: ESP32 Noobs Begineers Guide
Hi jay_dee
I use this module with FC10.
Works very well and is already in a housing with battery and USB-C connection for charging and programming.
Some built-in hardware like switches, display, micro-sd card, Bluetooth or IMU also work very well with Flowcode 10.
In addition, it also has various ports with these small common Groove 4-pin connectors.
You can connect a CAN module there, for example. But I don't know anything about CAN (yet).
The module is built in such a way that you can also draw your own board and install it.
I would also give you a little "hello world" programme if you like.
regards
Stefan
K007-V26 M5Stack | Mouser
https://www.mouser.com/ProductDetail/M5 ... XB7w%3D%3D
Modul with a dockingstation (included) Modul Open
Can Modul:
U085 M5Stack | Mouser
https://www.mouser.com/ProductDetail/M5 ... kyog%3D%3D
I use this module with FC10.
Works very well and is already in a housing with battery and USB-C connection for charging and programming.
Some built-in hardware like switches, display, micro-sd card, Bluetooth or IMU also work very well with Flowcode 10.
In addition, it also has various ports with these small common Groove 4-pin connectors.
You can connect a CAN module there, for example. But I don't know anything about CAN (yet).
The module is built in such a way that you can also draw your own board and install it.
I would also give you a little "hello world" programme if you like.
regards
Stefan
K007-V26 M5Stack | Mouser
https://www.mouser.com/ProductDetail/M5 ... XB7w%3D%3D
Modul with a dockingstation (included) Modul Open
Can Modul:
U085 M5Stack | Mouser
https://www.mouser.com/ProductDetail/M5 ... kyog%3D%3D
- Attachments
-
- Snag_e36a33.png (115.6 KiB) Viewed 1688 times
Re: ESP32 Noobs Begineers Guide
Hi,
What are the current recommended version of softwares for a working ESP Toolchain?
Is it still
esp-idf-tools-setup-2.3.exe
ESP-IDF V4.1
Git 2.21.0
Python 3.7
Thanks, J.
What are the current recommended version of softwares for a working ESP Toolchain?
Is it still
esp-idf-tools-setup-2.3.exe
ESP-IDF V4.1
Git 2.21.0
Python 3.7
Thanks, J.
-
- Valued Contributor
- Posts: 1042
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 107 times
- Been thanked: 538 times
Re: ESP32 Noobs Begineers Guide
v5 and v5.0.1 now seem to work pretty well. Not sure if there are many benefits to changing if you have a stable setup. The newer versions will allow you to use other variants of the esp32 (such as the c3)
Martin
Martin
Re: ESP32 Noobs Begineers Guide
Hi, Thanks.
Stuggling to get any combination to work to be honest...Achieved different levels of success with various methods.
No matter how closesly I follow the install guides from either ESP or FC there seems to be various steps that just dont reflect what I get during the install process.
After a uninstall and reinstall of ESP-IDF 4.1.4, it seems upset with the Python install.
Appreciate this is not strictly FC related issues but any help is appreciated.
J.
Stuggling to get any combination to work to be honest...Achieved different levels of success with various methods.
No matter how closesly I follow the install guides from either ESP or FC there seems to be various steps that just dont reflect what I get during the install process.
After a uninstall and reinstall of ESP-IDF 4.1.4, it seems upset with the Python install.
Honestly, I've been through many pages of the ESP guides and have no idea how to check the python packages.Checking if Python packages are up to date...
The following Python requirements are not satisfied:
click>=5.0
pyserial>=3.0
future>=0.15.2
cryptography>=2.1.4,<35
pyparsing>=2.0.3,<2.4.0
pyelftools>=0.22
idf-component-manager~=1.0
esp-windows-curses; sys_platform == 'win32'
Please follow the instructions found in the "Set up the tools" section of ESP-IDF Getting Started Guide
Appreciate this is not strictly FC related issues but any help is appreciated.
J.
Re: ESP32 Noobs Begineers Guide
Hi,
I could not get it to install at all with Win7, swapped to a Win10 PC and it installed fine. I use the WROOM32, I think I got it from Amazon and that works fine. I am not sure about the wifi range but seems OK for around 8mts.
Bob
I could not get it to install at all with Win7, swapped to a Win10 PC and it installed fine. I use the WROOM32, I think I got it from Amazon and that works fine. I am not sure about the wifi range but seems OK for around 8mts.
Bob
-
- Valued Contributor
- Posts: 1213
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 297 times
- Been thanked: 429 times
Re: ESP32 Noobs Begineers Guide
Hi
I've just installed ESP 5.0.1 on W10 using a guide by Martin
viewtopic.php?p=11340#p11340
One of the files I downloaded warns that it won't run on pre W10 machines.
Regards
I've just installed ESP 5.0.1 on W10 using a guide by Martin
viewtopic.php?p=11340#p11340
One of the files I downloaded warns that it won't run on pre W10 machines.
Regards
Re: ESP32 Noobs Begineers Guide
Hi,
I've uninstalled all previous versions and re downloaded everything and spent time too work closly to the instructions given, It still will not compile and is throwing the same errors regarding Python. "Python requirements are not satisfied"
On checking further I think the ESP toolchain it is using its embedded python. which is version 3.8.7
this look too old so installed python 3.11.3 manually.
Does anyone know how can I make ESP IDF use an alterative version of python or update its embedded version?
The ESP toolchain seems just as shambolic as the Pi PICO...they all assume your a experianced Linux Coder, by definition as a Flowcode user I am neither! J.
I've uninstalled all previous versions and re downloaded everything and spent time too work closly to the instructions given, It still will not compile and is throwing the same errors regarding Python. "Python requirements are not satisfied"
On checking further I think the ESP toolchain it is using its embedded python. which is version 3.8.7
this look too old so installed python 3.11.3 manually.
Does anyone know how can I make ESP IDF use an alterative version of python or update its embedded version?
The ESP toolchain seems just as shambolic as the Pi PICO...they all assume your a experianced Linux Coder, by definition as a Flowcode user I am neither! J.