Tft failure
Tft failure
Can anyone help me, i have had a rs-cnc32 for about 18 months, using 3-4 days a week with no problems. I now have a blank tft screen, i have tried a new screen, a new stm32 programmed using st link 32, a new esp32 programmed using aurdino, but still not working, I have tried new usb cables and also different computers any ideas.
Steve
Steve
Re: Tft failure
To identify the issue, you can make different tests:
- measure the voltage on the ESP32 board. Do you have 5V (between vcc and gnd)?
- you can disconnect the ESP32 board from the STM32 board and connect the ESP32 board to the PC (via a usb cord). If the tft is not working, you have an issue with the esp32 or with the tft.
Then to test if the ESP32 is still ok (and so if the issue is only the tft), you can flash in the ESP32 a modified version of the esp32 firmware.
To do so, change in the file grbl_controller_esp32.ino, in line 124 there is currently:
uint8_t statusPrinting = PRINTING_STOPPED ;
You can change it to:
uint8_t statusPrinting = PRINTING_FROM_USB ;
When this version is flashed in the ESP32, it will work like you manually entered in the print using USB mode.
So, il you connect the ESP32 board to the PC (via USB) and to the STM32 board, you should be able to communicate directly from pc to GRBL using e.g. the Arduino serial terminal (e.g. to send a command like $$ to get the GRBL parameter). Do not forget to set the baudrate in arduino serial terminal on 115200 baudrate.
If this work, it means the ESP32 is OK and the issue is on the TFT (perhaps a bad soldering).
If you have a module usb/serial (FTDI) that can work on 3.3V, it is also possible to test the STM32 apart. But I do not expect an stm32 issue if you have a blank tft.
- measure the voltage on the ESP32 board. Do you have 5V (between vcc and gnd)?
- you can disconnect the ESP32 board from the STM32 board and connect the ESP32 board to the PC (via a usb cord). If the tft is not working, you have an issue with the esp32 or with the tft.
Then to test if the ESP32 is still ok (and so if the issue is only the tft), you can flash in the ESP32 a modified version of the esp32 firmware.
To do so, change in the file grbl_controller_esp32.ino, in line 124 there is currently:
uint8_t statusPrinting = PRINTING_STOPPED ;
You can change it to:
uint8_t statusPrinting = PRINTING_FROM_USB ;
When this version is flashed in the ESP32, it will work like you manually entered in the print using USB mode.
So, il you connect the ESP32 board to the PC (via USB) and to the STM32 board, you should be able to communicate directly from pc to GRBL using e.g. the Arduino serial terminal (e.g. to send a command like $$ to get the GRBL parameter). Do not forget to set the baudrate in arduino serial terminal on 115200 baudrate.
If this work, it means the ESP32 is OK and the issue is on the TFT (perhaps a bad soldering).
If you have a module usb/serial (FTDI) that can work on 3.3V, it is also possible to test the STM32 apart. But I do not expect an stm32 issue if you have a blank tft.
Re: Tft failure
I have 5v between vcc and grd but only .2v at LCD pin
Re: Tft failure
So there is probably a bad soldering (or a bad contact in the connector between the esp32 board and the tft)
Re: Tft failure
Checked all solder joints, all ok. Reprogrammed esp32 and now tft is working but now the spindle is not switching on, could there be a setting in the stm32 software
Re: Tft failure
Normally there is no special setting to activate the spindle.
Do you use a spindle with variable speed controlled via the Gcode or do you use control the speed manually?
Do you use a spindle with variable speed controlled via the Gcode or do you use control the speed manually?
Re: Tft failure
Does the switch of the spindle on ? Does the spindle connected to the relay of the 32bits GRBL board ?
Gilles, aéromodéliste (RC aeromodeller)
Contributions sur thingiverse (contributions on thingiverse)
Assembly manual of the RS-CNC32
Service de dépannage / Troubleshooting service
Contributions sur thingiverse (contributions on thingiverse)
Assembly manual of the RS-CNC32
Service de dépannage / Troubleshooting service
Re: Tft failure
$30=1 in easel, changed to $30=0 all ok
Thank you for your help
Thank you for your help
Re: Tft failure
Sorry i should have said $32 not $30
Re: Tft failure
Yeap, you disactivated the laser mode.
See ya
Gilles, aéromodéliste (RC aeromodeller)
Contributions sur thingiverse (contributions on thingiverse)
Assembly manual of the RS-CNC32
Service de dépannage / Troubleshooting service
Contributions sur thingiverse (contributions on thingiverse)
Assembly manual of the RS-CNC32
Service de dépannage / Troubleshooting service