Giter VIP home page Giter VIP logo

arduino-goodix's People

Contributors

hx2003 avatar nik-sharky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

arduino-goodix's Issues

Unable to connect to I2C

Tried a lot of times but it cannot be connected to I2C.

10331721307181_ pic

I used an oscilloscope and that's what I saw.

_goodix_irq_handler not declared error

when i try to run it on my arduino mega my arduino show
////////////////////////////////////////////////////////////////////
C:\Users\sa\Documents\arduino\libraries\arduino-goodix-master\Goodix.cpp: In member function 'void Goodix::armIRQ()':

C:\Users\sa\Documents\arduino\libraries\arduino-goodix-master\Goodix.cpp:150:27: error: '_goodix_irq_handler' was not declared in this scope

attachInterrupt(intPin, _goodix_irq_handler, RISING);
/////////////////////////////////////////////////////////////////////
how can i fix it?
thank you;

GT911 + pro mini

Hi!
I want to test the driver but when I check the sketch in Arduino IDE I get a stuck on log.h. where I can find it? Or I do something wrong?

ESP32

Hey,

thanks for your work.
I just now try to get it running with ESP32 Arduino.

The I2C communication is ok, but gt911 don´t send int when it is press. but sometimes he send a lot int without different data.

i don´t know where i should start to search ?.

what´s going on with your firmware file. do i need this ?

thanks arnold

Registers' values

Hello
I am starting to work with a 9 inch gt911 touch panel, just wanted to know if this code is configuring the values of the registers, such as command register Or I should do that on my own?
It seems like it's using the touch panel after giving a start condition and it's not sending data for the registers to make it ready.

Thanks

Incorrect X and Y touch points

Hi, Thanks for the awesome effort you put into this library. I tried to run this code. however, I'm getting very large numbers for X and Y positions. I have called the readInfo() function and it returned the correct resolution as 320 x 480.

This is the screen I'm using - http://www.lcdwiki.com/3.5inch_LCD_MODULE-Capacitive_Touch

This is what I'm getting when I touch the screen,

C0: #0 X = 65280 Y = 12032 s:0
C0: #0 X = 65280 Y = 12032 s:0
C0: #0 X = 65280 Y = 12032 s:0
C0: #0 X = 65280 Y = 12032 s:0
C0: #0 X = 65280 Y = 12032 s:0
C0: #0 X = 65280 Y = 12032 s:0
C0: #0 X = 65280 Y = 12032 s:0

What could be the issue here?

No data Received with GT9110 Touch panel

Hi, I connect GT9110 TP with Arduino Nano with I2C and the other two pins connection and uploaded your AVR code from the Examples folder, and open Serial monitor and I receive these logs from Serial monitor.

-> Goodix GT911x touch driver
-> Module reset OK
-> Check ACK on addr request on 0x5D: SUCCESS

END. No Coordinate values are printed.

Please correct me if I'm doing something wrong. and I also try this same with ESP32 and the results are the same.

see few images for reference.
image

image

I added 2.2k ohm pull-up for I2C and 10k ohm Pull-up with RST pin (as suggested in datasheet)

Expected behavior when writing firmware to the device

I still must admit, that I may have some hardware issues, so take this with a grain of salt.

After re-wiring my WEMOS, I finally got some readings from the sensor, which I consider a bit strange. I got stable results including the sensing of 1 to 5 fingers, but for the different contact points I got for instance a changing for the x-axis with values ranging from about 10000 to 60000 with a nearly constant y-axis-value. For other points x or y was always 0. My first guess was some sort of register misalignement and I wanted to check this later.

Then I decides to make some tests with the firmware. I dumped the current firmware with your helper function and wrote g911xFW[] from GoodixFW.h to the device with:
touch.write(GOODIX_REG_CONFIG_DATA, g911xFW, sizeof(g911xFW));

This firmware did not survive a device reset but I could see the change in memory with a register dump before and after writing. My strange readings did not change.

Then I gave your g911xLenovoTab-FW a chance and added a 0x01 at the end. This firmware survives a reset and stopped all readings from the sensor immediatly. I can still do a register dump without a problem.

So my concrete question is:
Should g911xFW[] from GoodixFW.h be writable to the chip and stay persistent in memory? And should it be possible to write different firmwares back and forth?

Touch Release

Hello!

how can i detect a touch release of the touch panel? so far I only have interrupts that signal that I touched the panel, but I would also like to have interrupts when I release the panel after touching it!

How can I have this second kind of interrupt?
thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.