Codesys Esp32

0 views
Skip to first unread message

Tarja Hempton

unread,
Aug 3, 2024, 5:41:40 PM8/3/24
to ticiripi

Good afternoon, I am interested in such a question as how to write a driver for configuring a plc for the ST language for the esp32 chip so that the plc can be configured from the Codesys environment.

Also an idea, what about a simple app using app.inventor to send an SMS to this board and according to the SMS it checks a specific sensor and then it sends an SMS back, so the board gets the message and the phone number that sends the request to know the status of a sensor, for example someone wants to know the humidity or the temperature of a far away garden, or send a command to open a valve for 5 seconds for water, and with this we can send commands without the need of a router, which is GREAT !!!! THANKS AGAIN

Can you please make a tutorial on how to use sim800l (of TTGO T-Call) to control gpio pins instead of esp32 for controlling led or realy.
I really liked your tutorials and thanks for such good tutorials.

Estou usando a TTGO TCall a algum tempo sem usar a biblioteca TinyGSM que vem apresentando problemas, contudo venho fazendo requisicoes HTTP GET com sucesso, contudo, preciso fazer POST em vez de GET e no estou tendo exito com os comandos:

Excellent as usual
Congratulations.
I was thinking on doing something very similar but with yur tutorial, things will be much easier and fast.
Great saved me hours and hours.
carlos Frondizi

Thanks for the very good tutorial. I recently purchased a t-call and was a bit fazed by the documentation. This has spelled it out perfectly. One thought I have had is, if it takes up to one minute to connect to the internet, the esp32 could be awake for up to 50% of the time. Depending on the currency of the data required, it could simply take a reading once a minute, for say 10 minutes and then connect to upload all 10 data points.

A big thanks for your very informative and well organised instruction videos!
At present I am working with the TTGO T-Call unit, and sending data works perfect. I am very interested to know how data can be sent using JSON; do you plan an introductory video on that in the (hopefully near) future?

As per other comments, this device and the variants of the Sim 900 are 2G devices and this service is no longer available in my country (Australia) and several others so please also include projects that use 3G or 4G as well
Regards
Phil

Hi Sara and Rui!
Congratulations for your tuto.
Im asking about make a mesh network using this module as root node, avoiding to use a router.
It would be posible?
Thanks for your Job.?

Ol Eduardo, se voc no modificou o cdigo, verifique alm de onde est sua placa, num hub usb ou na USB do computador, o chip precisa de muita corrente pra funcionar. Pelo log parece que seu programa no pode ser gravado totalmente. Sei que tem um plugin para Arduino que interpretar esse backtrace e indica onde est o erro no cdigo.

So i will use a small switch to trigger when the mailbox receives mail
Question : how do i set it up that it triggers IFTTT, or will you do a tutorial on that ?
I use Domoticz and that can receive triggers from IFTTT

Many thanks Rui and Sara for another great tutorial, you have taught me a lot about the TTGO T-Call in an easy and understandable manner. My first remote air quality system using this module has been running well and collecting data.
With my new knowledge I have now successfully migrated over to using a SIM7000G module with NB IoT and an ESP32.
Eagerly awaiting another project!

Like Sara said, you can use the 5V pin to power your device. There is one downside to this though. Powering your TTGO ESP32 SIM800L this way does not allow charging of the battery via the on-board battery connector. This feature is only available when powered via USB-C.

Having said that though, with my limited coding knowledge, I have been trying to replace the HTTP post method above to rather work with a MQTT broker that requires a username and password. Any pointers you can give me here on how to do this to the example above would be greatly appreciated.

Greetings, thanks for the tutorial.
Can I connect two 18650 lithium batteries in parallel to the module (TTGO T-Call ESP32 SIM800L)? Can the power manager supply enough current to charge the two batteries in parallel?

In the examples, you say not to use the default I2C pins as these are used by power management. Why would this pose a problem, seeing as I2C connected devices each have their own unique address? I am asking this because I have run into some strange behaviour trying exactly this, even with external discreet pull-up resistors added on the default SCL and SDA. It is easy enough to create a second I2C interface (thanks to your example!), but I would like to understand what the problem is.

This module also contains charting circuit for the connected LiPo battery through USB-C connector. Are there any way to connect e.g. a solar panel directly to the board for charging? Is the USB-C connector the only way to use the charging feature?

Hello Rui & Sara, Thanks very much for this great tutorial. I was thinking if there is a way how I can set up the data connection credentials (apn, gprs user, gprspass) through smart config instead of pre-programming the details. Do you have a tutorial on this?
Thanks very much for your support!

I made a schedule based on this to connect to Wunderground, but I am trying a problem, after a while the message sending stops. If you restart the ESP32 via USB, the sending returns, but by programming it remains locked and without sending messages. I realized that the connection step with the operator is the step that presents the error. Have you seen anything like that?

So, SIMXX00 is literally the only way to publish the data. In this respect thank you very much for your advice with the external antenna. It is astonishing how good the board works with the antenna that you mentioned. I was able to transfer data very realiable even from inside conrete basements, when my phone ceased to work.

hi sara Arduino:
GPS_Tracker_with_ttgoesp32:26:74: fatal error: BlynkSimpleSIM800.h: No such file or directory
when i try to upload my coding its showing like this where i have inserted this library in the ide, but still getting this error. do u have this library with u?TQ

Thanl you for great tutorial.I have question. According to the schematic Spi pins mosi:gpio23 cs:gpio5 and sim800l uses 5 and 23 ,does it mean I can t use spi and sim800l at the same time?So,I have to remap spi pins ,right?

Hello, I used part of the code to send data from other sensors to thingspeak, but I only manage to send integer values and no decimal places, I have the variables in floating type and I also tried to pass them to string type, but I still cannot send numbers with decimals, any solution ? Thanks in advance

Ol Rui e Sara,
Desejo-vos bom 2022
Gostaria de talvez usar o mdulo TTGO-Call s que necessito saber quantos pinos de entradas e para sadas esto disponveis na placa assim existe alm das Uarts usadas, se est disponvel uma terceira. Paro o meu projeto necessito 5 pinos para sada e 12 pinos para entradas. Caso possam dar essa informao fico grato.

Hey, I am a fan of your YouTube channel and page, I am trying to transfer some data from PC (CodeSys or TIA portal) to nodemcu (ESP8266) using an ethernet module (ENC28J60). I have tried many times and failed. Since you are an expert in these, can you help me out if you have the time? much appreciated. thanks

Thank you very much for your excelent work. I would like to ask you about using DHT22 sensor with this module. I have a problem when I start the tcall module by feeding it. Once I feed it, it does not start untill I put away the DHT22 sensor (I mean to unplug the feed of DHT22 sensor which is using the 5V output PIN of the tcall and I did also use the 3.3V PIN with the same results). Once the tcall is on I can connect again the DHT22 and it works perfectly forever. I have a lot of different ideas about how to solve it, but all of them include hardware modifications or power supply modification like powering the module and the sensor from the same power source and do not use the module power PINs.

I made a webserver using TTGO TCall, but I like to server some html pages from GSM to permit i access a html page of the ttgo, like inside WiFi network.
To use the sim8000L I need use the tinyGSM only?

Ol Dionne. Saudaes do Brasil. O SIM800L at onde sei um chip 2G. Acredito que em Portugal as redes 2G foram banidas s restando 3G. Pergunta a qualquer operadora em Portugal para ter resposta. No Brasil ainda possvel usar 2G. uma preocupao que um dia o 2G ser desativado no Brasil. Como existe milhes de modems 2G em uso aqui, duvido que desativem no Brasil no mdio prazo.

Hi,
thanks for an amazing tutorial .
i am trying to read the battery status level with i2c address 0X78
but i always get 0 as output.
do you have any tutorial for knowing the battery status ?

Hi,
thank you for your amazing tutorial. I gave question regarding deep sleep. By default 3600 sec. When I change it to 10800 (3 hours) nothing happening. Device still sleep for 3600 (1 hour) or even start glitch and do two readings per hour. I wan to do 3 or 4 hours deep sleep. How I can do that?
Thank you,
Aday

Thank you for the project, I followed the course and the project works very well on my side, on the other hand I added a battery on the esp so that it is independent if there is a power cut, that said I would like to know if it is possible to raise the battery level to follow its loading and unloading?
Amine

hi , the tutorial you provide is useful. but i face an issue which is after the project function well for a month, I get a block by the server and get error 400 . The error last for 3 weeks. Do you face the same issue with me and do u have any solution for this ?

I tried your manual , with TTGO T-Call ESP32 SIM800H ( not SIM800L) but I have still issue with my sim card. I added the sim card tracking code and show me that : SIM card status: 1
I want to ask for advice, how to fix this issue ?

c80f0f1006
Reply all
Reply to author
Forward
0 new messages