pe0mgb / SI4735-Radio-ESP32-Touchscreen-Arduino

SI4735 Radio
126 stars 36 forks source link

Touch calibration #7

Closed codeput closed 3 years ago

codeput commented 3 years ago

I have problems with entering frequencies directly, the touch is not perfectly centered, is it possible to draw the keyboard slightly to the right?

pe0mgb commented 3 years ago

Hello,

Normally with a 2.8 inch display I have never seen a problem. I think you are using a screen with another size. What will help is calibrating the screen.

In the TFT_eSPI library in examples/Generic there is a calibration program called Touch calibrate. Here you can calibrate the display. Think about the rotation !!! This is very important.

The found figures you have to fill in in the setup part of my sketch. See line 774 and 780

I have never checked the sketch with an other display . But I think it is possible the give an offset. I will check it the coming days. But it will work only for the main screen.

Let me know if it works or not..

Regards,

Gert PE0MGB

Van: codeput @.*** Verzonden: maandag 26 april 2021 13:05 Aan: pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino CC: Subscribed Onderwerp: [pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino] Touch calibration (#7)

I have problems with entering frequencies directly, the touch is not perfectly centered, is it possible to draw the keyboard slightly to the right?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino/issues/7 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVBG5I5263X46EG6ZBHR5DTKVCF5ANCNFSM43SU2HCQ . https://github.com/notifications/beacon/AEVBG5PE6MNWTCIWZGMLOTDTKVCF5A5CNFSM43SU2HC2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4M5WHCVA.gif

-- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. https://www.avast.com/antivirus

codeput commented 3 years ago

You are right, my display is 2.4 inches so it is not possible to correct the position of the touch?

Il lun 26 apr 2021, 15:59 Gert PE0MGB @.***> ha scritto:

Hello,

Normally with a 2.8 inch display I have never seen a problem. I think you are using a screen with another size. What will help is calibrating the screen.

In the TFT_eSPI library in examples/Generic there is a calibration program called Touch calibrate. Here you can calibrate the display. Think about the rotation !!! This is very important.

The found figures you have to fill in in the setup part of my sketch. See line 774 and 780

I have never checked the sketch with an other display . But I think it is possible the give an offset. I will check it the coming days. But it will work only for the main screen.

Let me know if it works or not..

Regards,

Gert PE0MGB

Van: codeput @.*** Verzonden: maandag 26 april 2021 13:05 Aan: pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino CC: Subscribed Onderwerp: [pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino] Touch calibration (#7)

I have problems with entering frequencies directly, the touch is not perfectly centered, is it possible to draw the keyboard slightly to the right?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino/issues/7> , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AEVBG5I5263X46EG6ZBHR5DTKVCF5ANCNFSM43SU2HCQ> . < https://github.com/notifications/beacon/AEVBG5PE6MNWTCIWZGMLOTDTKVCF5A5CNFSM43SU2HC2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4M5WHCVA.gif>

-- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. https://www.avast.com/antivirus

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino/issues/7#issuecomment-826857960, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEZDIISV2HIHI5JAH5BUCDTKVWSZANCNFSM43SU2HCQ .

pe0mgb commented 3 years ago

No, the program is written for 2.8 inch. With 2.4 of course it is posible. You only have to rewrite a part of the programma. Forget it. Buy a 2.8 and your problemen are solved.

⁣BlueMail voor Android downloaden ​

Op 26 apr. 2021 17:23, om 17:23, codeput @.***> schreef:

You are right, my display is 2.4 inches so it is not possible to correct the position of the touch?

Il lun 26 apr 2021, 15:59 Gert PE0MGB @.***> ha scritto:

Hello,

Normally with a 2.8 inch display I have never seen a problem. I think you are using a screen with another size. What will help is calibrating the screen.

In the TFT_eSPI library in examples/Generic there is a calibration program called Touch calibrate. Here you can calibrate the display. Think about the rotation !!! This is very important.

The found figures you have to fill in in the setup part of my sketch. See line 774 and 780

I have never checked the sketch with an other display . But I think it is possible the give an offset. I will check it the coming days. But it will work only for the main screen.

Let me know if it works or not..

Regards,

Gert PE0MGB

Van: codeput @.*** Verzonden: maandag 26 april 2021 13:05 Aan: pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino CC: Subscribed Onderwerp: [pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino] Touch calibration (#7)

I have problems with entering frequencies directly, the touch is not perfectly centered, is it possible to draw the keyboard slightly to the right?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <

https://github.com/pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino/issues/7> , or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AEVBG5I5263X46EG6ZBHR5DTKVCF5ANCNFSM43SU2HCQ> . <

https://github.com/notifications/beacon/AEVBG5PE6MNWTCIWZGMLOTDTKVCF5A5CNFSM43SU2HC2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4M5WHCVA.gif>

-- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. https://www.avast.com/antivirus

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub

https://github.com/pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino/issues/7#issuecomment-826857960, or unsubscribe

https://github.com/notifications/unsubscribe-auth/AEEZDIISV2HIHI5JAH5BUCDTKVWSZANCNFSM43SU2HCQ .

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino/issues/7#issuecomment-826927210

pe0mgb commented 3 years ago

When your 2.4 tft had 240*320 pickels Just calibrate and it will work the same as a 2.8

⁣BlueMail voor Android downloaden ​

Op 26 apr. 2021 17:23, om 17:23, codeput @.***> schreef:

You are right, my display is 2.4 inches so it is not possible to correct the position of the touch?

Il lun 26 apr 2021, 15:59 Gert PE0MGB @.***> ha scritto:

Hello,

Normally with a 2.8 inch display I have never seen a problem. I think you are using a screen with another size. What will help is calibrating the screen.

In the TFT_eSPI library in examples/Generic there is a calibration program called Touch calibrate. Here you can calibrate the display. Think about the rotation !!! This is very important.

The found figures you have to fill in in the setup part of my sketch. See line 774 and 780

I have never checked the sketch with an other display . But I think it is possible the give an offset. I will check it the coming days. But it will work only for the main screen.

Let me know if it works or not..

Regards,

Gert PE0MGB

Van: codeput @.*** Verzonden: maandag 26 april 2021 13:05 Aan: pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino CC: Subscribed Onderwerp: [pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino] Touch calibration (#7)

I have problems with entering frequencies directly, the touch is not perfectly centered, is it possible to draw the keyboard slightly to the right?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <

https://github.com/pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino/issues/7> , or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AEVBG5I5263X46EG6ZBHR5DTKVCF5ANCNFSM43SU2HCQ> . <

https://github.com/notifications/beacon/AEVBG5PE6MNWTCIWZGMLOTDTKVCF5A5CNFSM43SU2HC2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4M5WHCVA.gif>

-- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. https://www.avast.com/antivirus

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub

https://github.com/pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino/issues/7#issuecomment-826857960, or unsubscribe

https://github.com/notifications/unsubscribe-auth/AEEZDIISV2HIHI5JAH5BUCDTKVWSZANCNFSM43SU2HCQ .

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino/issues/7#issuecomment-826927210

codeput commented 3 years ago

Thanks a lot Gert, I solved it using the calibration utility in the library. Now it works perfectly.

Il giorno mar 27 apr 2021 alle ore 07:50 Emanuele Principi < @.***> ha scritto:

Thanks a lot Gert, I solved it using the bookmark utility in the library. Now it works perfectly.

Il giorno mar 27 apr 2021 alle ore 07:45 Gert PE0MGB < @.***> ha scritto:

When your 2.4 tft had 240*320 pickels Just calibrate and it will work the same as a 2.8

⁣BlueMail voor Android downloaden ​

Op 26 apr. 2021 17:23, om 17:23, codeput @.***> schreef:

You are right, my display is 2.4 inches so it is not possible to correct the position of the touch?

Il lun 26 apr 2021, 15:59 Gert PE0MGB @.***> ha scritto:

Hello,

Normally with a 2.8 inch display I have never seen a problem. I think you are using a screen with another size. What will help is calibrating the screen.

In the TFT_eSPI library in examples/Generic there is a calibration program called Touch calibrate. Here you can calibrate the display. Think about the rotation !!! This is very important.

The found figures you have to fill in in the setup part of my sketch. See line 774 and 780

I have never checked the sketch with an other display . But I think it is possible the give an offset. I will check it the coming days. But it will work only for the main screen.

Let me know if it works or not..

Regards,

Gert PE0MGB

Van: codeput @.*** Verzonden: maandag 26 april 2021 13:05 Aan: pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino CC: Subscribed Onderwerp: [pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino] Touch calibration (#7)

I have problems with entering frequencies directly, the touch is not perfectly centered, is it possible to draw the keyboard slightly to the right?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <

https://github.com/pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino/issues/7

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AEVBG5I5263X46EG6ZBHR5DTKVCF5ANCNFSM43SU2HCQ

. <

https://github.com/notifications/beacon/AEVBG5PE6MNWTCIWZGMLOTDTKVCF5A5CNFSM43SU2HC2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4M5WHCVA.gif

-- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. https://www.avast.com/antivirus

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub

< https://github.com/pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino/issues/7#issuecomment-826857960 , or unsubscribe

< https://github.com/notifications/unsubscribe-auth/AEEZDIISV2HIHI5JAH5BUCDTKVWSZANCNFSM43SU2HCQ

.

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub:

https://github.com/pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino/issues/7#issuecomment-826927210

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino/issues/7#issuecomment-827329454, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEZDIOXNUF7J4WFACMEWR3TKZFQ5ANCNFSM43SU2HCQ .

yo2ldk commented 3 years ago

Hi Gert, when I touch the broad band, or input freq I can see that window, then my display frozen and need to reset work fine in FM start. also agc and volume. my board is wemos D1 R32 wifi&bluetooth please any tips / advice

best regards,

  de yo2ldk - alexander
pe0mgb commented 3 years ago

Hello Alexander, It looks like the program stopped. No Idea what happen. I have no experience with the Wemos device. It looks like the problem is there. I use always the 30 pin ESP32. I realize this is a bad answer but I really don't know and I can not simulate the problem. If posible try a 30 pin ESP32 and it will work.

Regards, Gert PE0MGB

⁣BlueMail voor Android downloaden ​

Op 27 apr. 2021 09:20, om 09:20, alexander - yo2ldk @.***> schreef:

Hi Gert, when I touch the broad band, input freq I can see that window, then my display frozen and need to reset work fine in FM start. please any tips / advice

best regards,

 de yo2ldk - alexander

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/pe0mgb/SI4735-Radio-ESP32-Touchscreen-Arduino/issues/7#issuecomment-827376209

yo2ldk commented 3 years ago

Thank you Gert a lot, for your answer and your version for SI4735. the rotary knob also running in a very strage way some time good, sometime after 3-5 rotations, so, I change the pinouts of the encoder to D25 and D25, sw to D39, and now the radio is ALIVE! :) I cannot explain what it was, but I'm happy with him running..

all the best and 73,

yo2ldk -alexander
TNX AGN !