Re: GPIO.input voltage levels vs edge detection
Posted: Fri Oct 05, 2018 2:36 pm
I am a little bit confused.
Is it true that your FTDI USB to TTL UART serial cable is noisy therefore your LUA script uploading using ESPlorer is not reliable?
As I mentioned earlier, one TaoBao shop said that many people have noisy USB to TTL cable and one solution is to buy their cable with a big 1000uF cap on board.
I actually bought their cable but not using it, because it is using the 8 pin connector which is standard for ESP01 board, but not for my ESP12 board.
For my ESP12 board, my PL230x USB to TTL cable seems OK, but I am not too sure, because I am playing with very short LUA programs.
Actually most of the time I am using a plain USB cable, because my ESP12 board has CH340 USB to TTL converter chip on board. I guess the on board converter is very clean and does not have noticeable noise problem.
I don't understand what you are saying below. Are you using telnet/ftp instead of using ftdi cable to upload the script? Or are you testing WiFi uploading/downloading your 24VDC pump status data Rpi to/from ESP8266?
RE: GPIO.INPUT VOLTAGE LEVELS VS EDGE DETECTION Postby petermeigs » 2018-Oct-05 Fri 9:15 pm
Earlier, I have posted a script to let you telnet to the esp and that will help a lot but does not solve the upload issue.
If you find a proper ftp to be able to upload (and download) please post it here. That would be super useful.