Tft failure

Répondre
spice
Messages : 5
Enregistré le : 22 déc. 2019 09:13

Tft failure

Message par spice »

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
mstrens
Messages : 2611
Enregistré le : 27 févr. 2018 12:58

Re: Tft failure

Message par mstrens »

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.
spice
Messages : 5
Enregistré le : 22 déc. 2019 09:13

Re: Tft failure

Message par spice »

I have 5v between vcc and grd but only .2v at LCD pin
mstrens
Messages : 2611
Enregistré le : 27 févr. 2018 12:58

Re: Tft failure

Message par mstrens »

So there is probably a bad soldering (or a bad contact in the connector between the esp32 board and the tft)
spice
Messages : 5
Enregistré le : 22 déc. 2019 09:13

Re: Tft failure

Message par spice »

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
mstrens
Messages : 2611
Enregistré le : 27 févr. 2018 12:58

Re: Tft failure

Message par mstrens »

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?
Avatar du membre
HTheatre
Messages : 5962
Enregistré le : 31 mars 2019 08:21
Localisation : Rivesaltes

Re: Tft failure

Message par HTheatre »

spice a écrit : 16 déc. 2020 20:46 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
Does the switch of the spindle on ? Does the spindle connected to the relay of the 32bits GRBL board ?
spice
Messages : 5
Enregistré le : 22 déc. 2019 09:13

Re: Tft failure

Message par spice »

$30=1 in easel, changed to $30=0 all ok
Thank you for your help
spice
Messages : 5
Enregistré le : 22 déc. 2019 09:13

Re: Tft failure

Message par spice »

Sorry i should have said $32 not $30
Avatar du membre
HTheatre
Messages : 5962
Enregistré le : 31 mars 2019 08:21
Localisation : Rivesaltes

Re: Tft failure

Message par HTheatre »

spice a écrit : 22 déc. 2020 20:07 Sorry i should have said $32 not $30
Yeap, you disactivated the laser mode.

See ya
Répondre