Search found 7 matches

by AntonioBrito
Wed Aug 03, 2022 7:34 pm
Forum: ESP32 boards
Topic: connect mysql to esp32
Replies: 2
Views: 2312

Re: connect mysql to esp32

i have it on my sql database, can't I just send the value to my php code and then transfer it to micropython with urequests?
by AntonioBrito
Tue Aug 02, 2022 8:34 pm
Forum: ESP32 boards
Topic: ESP32 CRC16
Replies: 5
Views: 3697

Re: ESP32 CRC16

thank you Robert I figure it out with your help
by AntonioBrito
Tue Aug 02, 2022 8:25 pm
Forum: ESP32 boards
Topic: connect mysql to esp32
Replies: 2
Views: 2312

connect mysql to esp32

Hello everyone, currently I have an MySQL Database with some data from a sensor ,
I have a code who send data to mysql db
but I want my other esp to get acess to that values to execute some actions,
Basically I want to get the values from the DB into my micropython variables
how can I do that?
by AntonioBrito
Mon Aug 01, 2022 1:32 pm
Forum: ESP32 boards
Topic: ESP32 CRC16
Replies: 5
Views: 3697

ESP32 CRC16

hey guys, I'm using a esp32 to communicate with a sensor, im getting a response from the sensor (8 bits). For example, I get this: FF 03 02 15 28 9F 1E, I then use 0x15 * 256 + 0x28 = (humidity for example) The last 2 bits are the checksum. How do I put in the code for the CRC16 to check if everythi...
by AntonioBrito
Wed Jul 27, 2022 2:55 pm
Forum: ESP8266 boards
Topic: Connection between an esp8266 and a rs485 to get sensor values
Replies: 4
Views: 26677

Re: Connection between an esp8266 and a rs485 to get sensor values

i appreciate your answer im going to try to implement your idea, but how can I see what I am receiving from the sensor if uart0 is the repl ? Do you think esp32 is a better option for my project? with esp 32 can I use 2 uart at the same time, for example one for the repl and one for the communicatio...
by AntonioBrito
Wed Jul 27, 2022 11:16 am
Forum: ESP8266 boards
Topic: Connection between an esp8266 and a rs485 to get sensor values
Replies: 4
Views: 26677

Connection between an esp8266 and a rs485 to get sensor values

Hello guys, im currently working on a project where I need to get an array of hex decimal values, to do it I need to send via uart an array to ask for the values needed( temperature), my esp8266 is connected to max485 ( rs485 to TTL converter) , im gonna post the code below so I can figure out what ...