-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random touch read #34
Comments
@LilyGO do you have any solution for this problem |
@fundix |
Yes, we have several Long units, the one I have on my desk now gerates random clicks in this area relatively frequently for around 2minutes. We are using the LVGL library from your example. I'll take a look at issue #30 you advise there |
@fundix |
Im having the same issue. Random touch in the same area without touching. |
Do you use WiFi in your project? Try disabling it and test if the random clicking remains. In my project, it seems that when I removed the code that manages the wifi, the clicking either disappeared or hasn't appeared yet. But with wifi it was quite partial. update: [107915][I][Display.cpp:297] my_touchpad_read(): [Display] fingers_number: 2, touch event 8 |
No wifi no bluetooth. Just the display and touch. i tried using interrupts as suggested to only read i2c when theres touch. Didnt really affect anything. I suspect its something to do with the power. Its very sensitive. The issue got worse with a noisy power supply. Its better when powered by battery. But problem still persist every few seconds. |
I suspect something to do with the power supply. Its a very power sensitive display. Not sure if my theory makes sense. When its white, a small voltage is applied to the pixel to turn all the film to transparent. This small voltage might have leak to the capacitive panel causing it to detect touch input. |
But mine is clicking randomly even with all black. |
@malexnurazhar |
I'll try to get the project to compile without our other libraries [196146][I][Display.cpp:297] my_touchpad_read(): [Display] fingers_number: 2, touch event 8 |
@Llgok I added you to our repository branch Touch-test the display goes off after about 30sec sometimes it lights up again
The problem is that 2 finger click I can filter out, but in other conditions it also throws out the classic event click. |
@fundix touch.test.mp4 |
All 3 of my unit is showing the same issue even with filters. So i disabled the touch input at the problematic area for the time being. |
Thank you for the test. The problem for me arises later The display turns itself off after 30sec (the time can be changed in the swipe up settings) and lights up at different time intervals. I shortened the video, it took around 1min till the light up. img_9382-480.mov |
I got the new unit and the random touch isnt there on the new unit. Does it mean the one with the random touch has hardware issue??. Now the new unit has a new issue, i need to manually press boot and reset every single time to upload my code. |
@fundix Touch-test branch bool WriteC8D8(uint8_t c, uint8_t d)
{
if (Wire.write(c) == false)
{
log_e("->Write(c) fail");
return false;
}
if (Wire.write(d) == false)
{
log_e("->Write(d) fail");
return false;
}
return true;
}
bool IIC_WriteC8D8(uint8_t device_address, uint8_t c, uint8_t d)
{
Wire.beginTransmission(device_address);
if (WriteC8D8(c, d) == false)
{
log_e("->WriteC8D8(c, d) fail");
return false;
}
if (!(Wire.endTransmission()) == false)
{
log_e("->EndTransmission() fail");
return false;
}
return true;
} Touch-test branch //Disable the ILIM pin and set the input current limit to maximum.
IIC_WriteC8D8(0x6A, 0x00, 0B00111111);
//Turn off the BATFET without using the battery.
IIC_WriteC8D8(0x6A, 0x09, 0B01100100); Check if the random touch issue disappears after adding the above code. |
@Llgok |
I need to solve the random clicking on the display. I have several boards and they all do it at different intervals. the click area is always just from this area
The text was updated successfully, but these errors were encountered: