I am integrating the ESP-WROOM-32 into an existing controller design (commercial) that previously used the RN-131 WiFly module. I have attached the schematic for the ESP-WROOM-32. I have connected a USB to Serial adapter (FTDI) that has been verified and is working fine. I power up the prototype board and using Putty, connect to the serial port (COM8) and can see traffic going between the host and the ESP-WROOM-32 module. The issue I am having is that the communications are garbled. I expect to see normal human readable ASCII but I get what is shown in the attached picture. The communications parameters are: 115200, N81 No handshaking.
The ESP-WROOM-32 module SSID shows up, and I can connect to it fine on the wireless side. It connects and assigns an IP Address of 192.168.4.xx The ESP-WROOM-32 module has the IP Address of 192.168.4.1. Is there a way to TELNET into the module over the wireless interface? I tried the standard TELNET port. What ports are available? The module was purchased and assembled on the prototype board by the assembly house, Laritech, Inc. How are these modules delivered by Espressif? What is the default configuration?
My goal is to set this module up as a Serial to WiFi bridge. It would be great if it worked that way out of the box.
Any information or help in resolving this communications issue would be greatly appreciated
Jerry Hubbell
Explore Scientific, LLC.
Prototype circuit design ESP-WROOM-32
-
- Posts: 7
- Joined: Thu Jun 08, 2017 3:47 pm
Prototype circuit design ESP-WROOM-32
- Attachments
-
- ESP-WROOM-32 Schematic1.jpg (435.61 KiB) Viewed 10457 times
-
- ESP-WROOM-32 Putty 115200 N81 Connection.jpg (256.24 KiB) Viewed 10457 times
-
- Posts: 7
- Joined: Thu Jun 08, 2017 3:47 pm
Re: Prototype circuit design ESP-WROOM-32
I am curious if anyone sees anything obvious with my circuit design or has an opinion about what would cause an issue resulting in the garbled traffic on the port.
Thanks
Thanks
-
- Posts: 7
- Joined: Thu Jun 08, 2017 3:47 pm
Re: Prototype circuit design ESP-WROOM-32
I have attached the UTF-8 encoded serial stream that I get out of the module when booting. Perhaps that will give a clue as to what is going on.
- Attachments
-
- ESP-WROOM-32 SerialStartupStream.txt
- (14.33 KiB) Downloaded 828 times
-
- Posts: 7
- Joined: Thu Jun 08, 2017 3:47 pm
Re: Prototype circuit design ESP-WROOM-32
I figured out that the circuit did not have the required TX and RX inverter gate, that is why the data looked garbled. I researched it a bit and found that the FTDI FT232R chip I was using has a way to invert the signals on TX and RX so I did that and now the data look great. I hope this helps others in the future.
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: Prototype circuit design ESP-WROOM-32
Erm... you're not using an USB to RS232 converter, are you? Because these output signals at +/-12V and feeding these into the ESP32 can/will damage it. Use an USB to TTL-level (well, 3.3V-level) serial instead; you shouldn't have to need to invert any signals with these.
-
- Posts: 7
- Joined: Thu Jun 08, 2017 3:47 pm
Re: Prototype circuit design ESP-WROOM-32
No, the adapter I am using is 3.3 v to the ESP-WROOM-32. The problem was that the signals were inverted out of the FTDI adapter, so I inverted them in the FT-232R EEPROM setup, it works fine now.
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: Prototype circuit design ESP-WROOM-32
Okay, cool inverting the signals is also what happens in a 'real' RS232 converter, but that also makes the signals into +12/-12V, which worried me for a bit.
Who is online
Users browsing this forum: No registered users and 65 guests