ESP8266 as target chip

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

User avatar
Benj
Matrix Staff
Posts: 15157
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4753 times
Been thanked: 4285 times
Contact:

Re: ESP8266 as target chip

Post by Benj »

Things are now up here. https://www.flowcode.co.uk/

We will be making an official announcement soon once the site is a bit more polished.

stefan.erni
Posts: 646
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 178 times
Contact:

Re: ESP8266 as target chip

Post by stefan.erni »

Hi Ben

Thank you very much Ben.
I have installed FC9 and the ESP toolchain.
A small program written and everything looks fine.
Now I have to get some ESP boards and try the hardware.
It's brilliant!

regards

Stefan
FC9_ESP32_2020-12-02_12-10-39.png
FC9_ESP32_2020-12-02_12-10-39.png (12.07 KiB) Viewed 906 times

gavin mack
Posts: 28
Joined: Wed Sep 26, 2018 2:15 pm
Has thanked: 3 times
Been thanked: 3 times
Contact:

Re: ESP8266 as target chip

Post by gavin mack »

will there be an ESP32 eblock 2 upstream board with ghost available?

User avatar
AbhijitR
Posts: 199
Joined: Fri Nov 07, 2014 12:48 pm
Location: Pune, India
Has thanked: 190 times
Been thanked: 49 times
Contact:

Re: ESP8266 as target chip

Post by AbhijitR »

Hello! Stefan
stefan.erni wrote:
Wed Dec 02, 2020 12:25 pm

A small program written and everything looks fine.

FC9_ESP32_2020-12-02_12-10-39.png
wOw! happy to hear that everything works well, I will also try to install this weekend.

Thank you.

Abhi

User avatar
Benj
Matrix Staff
Posts: 15157
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4753 times
Been thanked: 4285 times
Contact:

Re: ESP8266 as target chip

Post by Benj »

Glad it's working well and compiling ok. Let us know if you spot anything that doesn't compile.
will there be an ESP32 eblock 2 upstream board with ghost available?
We don't have any solid plans for this yet but yes this might be on the cards for development in 2021.

Alkaline
Posts: 143
Joined: Mon Aug 20, 2018 11:04 am
Has thanked: 42 times
Been thanked: 41 times
Contact:

Re: ESP8266 as target chip

Post by Alkaline »

Hi

I would like to ask you some questions about esp32.

Which chips are supported?

Which modules are supported?

Is i2s supported or is support planned in the future?

User avatar
Benj
Matrix Staff
Posts: 15157
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4753 times
Been thanked: 4285 times
Contact:

Re: ESP8266 as target chip

Post by Benj »

Hello,

For the list of chips and modules currently included see this post earlier in the topic.
viewtopic.php?p=104063#p104063

No i2s at the moment but might not be too hard to add. I can get it on the list to investigate for you.

Alkaline
Posts: 143
Joined: Mon Aug 20, 2018 11:04 am
Has thanked: 42 times
Been thanked: 41 times
Contact:

Re: ESP8266 as target chip

Post by Alkaline »

Hi Benj

sorry I had not seen the post!

As for i2s I would be very happy if you implement it. Willing to help the implementation in any way!

Kind Regards

stefan.erni
Posts: 646
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 178 times
Contact:

Re: ESP8266 as target chip

Post by stefan.erni »

Hi Ben

On the Heltec wifi-kit-32 is an OLED 128*64.
How can I use this OLED?

regards

Stefan



https://heltec.org/project/wifi-kit-32/
Heltec.png
Heltec.png (142.57 KiB) Viewed 861 times

User avatar
LeighM
Matrix Staff
Posts: 2143
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 480 times
Been thanked: 696 times
Contact:

Re: ESP8266 as target chip

Post by LeighM »

gLCD_SSD1306_i2c
I2C Channel 1
SDA PORTA.5
SCL PORTA.15

User avatar
Benj
Matrix Staff
Posts: 15157
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4753 times
Been thanked: 4285 times
Contact:

Re: ESP8266 as target chip

Post by Benj »

Nice board, think that's the first ESP32 board I bought :D

stefan.erni
Posts: 646
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 178 times
Contact:

Re: ESP8266 as target chip

Post by stefan.erni »

Hi Ben, Hi Leigh

Nice to hear that you have already chosen the same module.
It's working fine this Heltec Board together with the new FC9.

For my computer a have additionally to download and install this USB driver:

https://www.silabs.com/developers/usb-t ... cp-drivers

And for the Oled Display:
gLCD_SSD1306_i2c
I2C Channel 1
SDA PORTA.5
SCL PORTA.15
In the board I have, they moved the Pin from the Oled from SDA PORTA.5 to PORTA.4
and I have to set Oled RST on Pin16 to 1.

regards

Stefan
Attachments
FC9_heltec_esp32.fcfx
(10.45 KiB) Downloaded 17 times
New_WIFI_Kit_32_Schematic_diagram.pdf
(69.48 KiB) Downloaded 25 times

stefan.erni
Posts: 646
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 178 times
Contact:

Re: ESP8266 as target chip

Post by stefan.erni »

Hi Ben

Wlan accespoint is working, I can see the "heltec" network, but scanning SSID is scanning but all the string later are empty.

Bluetooth init gives an error.


regards

Stefan
FC9_heltec_esp32_wlan_ap_BT_SSP.fcfx
(17.87 KiB) Downloaded 24 times

User avatar
Benj
Matrix Staff
Posts: 15157
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4753 times
Been thanked: 4285 times
Contact:

Re: ESP8266 as target chip

Post by Benj »

Hi Stefan,

Thanks for the spot with the Bluetooth compilation error. I've now found and fixed this for you.

Let us know if you get anywhere with the WIFI scanning problem. Sounds odd. Was it working initially but then stops working after a while?

stefan.erni
Posts: 646
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 178 times
Contact:

Re: ESP8266 as target chip

Post by stefan.erni »

Hi Ben

It found 25 SSID and shows the counting up number but no SSID on the display.

regards

Stefan
FC9_heltec_esp32_wlan_scanning.fcfx
(17.63 KiB) Downloaded 28 times

User avatar
Benj
Matrix Staff
Posts: 15157
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4753 times
Been thanked: 4285 times
Contact:

Re: ESP8266 as target chip

Post by Benj »

Wow 25 is pretty impressive :D

I wonder if we are overflowing the size of the array or something?

stefan.erni
Posts: 646
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 178 times
Contact:

Re: ESP8266 as target chip

Post by stefan.erni »

Hi Ben

I went into the basement and there are only 9. But still no SSID in the display.

regards

Stefan

User avatar
LeighM
Matrix Staff
Posts: 2143
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 480 times
Been thanked: 696 times
Contact:

Re: ESP8266 as target chip

Post by LeighM »

Hi Stefan,
I've now fixed the SSID reading, I will ask Ben to push this out on the update system.
Please note that we currently limit the maximum SSID count to 8 (to conserve memory), but we can change this in the CAL if it becomes necessary.
Also the SSID information is an array so starts at 0, not 1.
So before your reading loop you need to set iidss_count = 0 (not = 1)
Regards,
Leigh

stefan.erni
Posts: 646
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 178 times
Contact:

Re: ESP8266 as target chip

Post by stefan.erni »

Hi Leigh

Thank you very much. Scanning is working now and I changed the array so it starts at 0.
For me is ok to work with 8 SSID.

regards

Stefan

Post Reply