mstrens/grbl_controller_esp32

Problem with TFT operation

maximius opened this issue · 3 comments

Good afternoon

I'm trying to assemble the device you designed. ESP32 successfully firmware through Arduino IDE.

If after loading ESP 32 to include without connected TFT, the serial monitor works according to the program.
1

If I connect a TFT, a cyclic error appears in the serial monitor.
2

Tried different versions of boards and memory volumes. Tried other boards as well. The result is the same. TFT 3.2" 320x240 ILI9341.
Connection according to the following scheme
readme
image share

The program works for sure. There are several users.

Continuous reset with ESP32 can occur when power supply is not strong/stable enough.
Wifi consumes a lot but only by peak.
Perhaps you are at the limit.
You can try

  • disabling the wifi (one parameter in config file)
  • changing the power supply
  • adding condensators on the 5V

Manufactured a Circuit Board to eliminate bad contact. Added the capacitor, turned off Wi-Fi configuration.
IMG-20191118-093937
IMG-20191118-093955
Bought a new Esp32. Here is the log from the serial monitor:
1
png в jpg

09: 37: 10 I reboot esp32, without connecting to the printed circuit Board
09: 37:31 connect the included Esp 32 to the PCB without the connected tft display. From a critical error.
After I disconnect esp 32, after reboot regular start of esp 32.

Checked the correctness of the Board, the presence of jumpers. All according to the scheme. Sending photo esp32. The problem appears immediately after I connect an empty Board. I conclude that I'm connecting something wrong... Please help to understand. I can share the circuit of one-sided PCB for CNC.
15740594581951130408931738749358
2
15740594278915871653323092868541
3

Found the cause of the error. It turned out that one GND pin next to the V5 pin did not connect to the rest of the GND. He squandered the tension. Thanks for the help.