App Developer (SCADA Slave) API devices for ESP32

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
stefan.erni
Valued Contributor
Posts: 756
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

App Developer (SCADA Slave) API devices for ESP32

Post by stefan.erni »

Hi Ben

I guess it still needs a firmware for the ESP32 to use it as a slave.
Is this already available? Or is one already planned?

https://www.flowcode.co.uk/wiki/index.p ... ed_Devices

regards

Stefan

medelec35
Matrix Staff
Posts: 1450
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 509 times
Been thanked: 472 times

Re: App Developer (SCADA Slave) API devices for ESP32

Post by medelec35 »

Hi Stefan.
Have you seen this wiki page?
Martin

BenR
Matrix Staff
Posts: 1733
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 439 times
Been thanked: 602 times

Re: App Developer (SCADA Slave) API devices for ESP32

Post by BenR »

Hi Stefan,

The firmware is available here.
https://www.flowcode.co.uk/wiki/index.p ... e_Devices)

Let us know if you have any problems.

Aha Martin beat me to it :D

stefan.erni
Valued Contributor
Posts: 756
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App Developer (SCADA Slave) API devices for ESP32

Post by stefan.erni »

Hi Martin, Hi Ben

Many thanks.

I found the ZIP Folder with two program for the ESP32
ESP32_API_Comp.fcfx
ESP32_API_Firmware.fcfx

So I loaded the ESP32_API_Firmware.fcfx to my esp32 board an I can connect it to my network already.

For the App Developer I found some template .
But which of these is for the ESP32?

regards
Stefan
api_ESP32_2022-03-28_16-12-35.jpg
api_ESP32_2022-03-28_16-12-35.jpg (35.51 KiB) Viewed 1748 times

stefan.erni
Valued Contributor
Posts: 756
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App Developer (SCADA Slave) API devices for ESP32

Post by stefan.erni »

Hi Martin, Hi Ben

I used the ATOM Matrix with a mpu6886. This mpu6886 is working with bluetooth nice on Port A25 and A21 with Flowcode.
https://www.digikey.co.uk/en/products/d ... B/12088569

I made the config for the pin in the ESP32_API_Firmware_post in the same way.
For the App I wrote a small program.
Unfortunately the init from the mpu6886 is not working.
I noticed that the wifi connection is fine, RX and TX blink when the Atom module is running and rx tx stop blinking when I turn off the Atom module
I suspect I'm doing something wrong with the I2C

regards
Stefan
Attachments
App_for_API_ESP32.fcsx
(23.4 KiB) Downloaded 72 times
ESP32_API_Firmware_post.fcfx
(167.61 KiB) Downloaded 81 times

Post Reply