We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Touch Screen Shield with Arduino Dock



  • @György-Farkas Also if the graphics work on the screen, however not the touch functionality wouldn't that mean that pins 13-9 arent the problem (even though the Omega uses 11-13) as the graphics are displaying fine, rather that pin 8's functionality is not working?



  • @Angus-Ryan Omega2(+) uses Arduino UNO's analog pins 4, 5 (I2C) and digital pins 0, 1 (serial communication) and 11-13 (ICSP ie. the programmer) on Arduino Dock 2.
    Display Does the programming / flashing Arduino with Omega work well if this shield is plugged in?
    Touch Screen I don't have such Adafruit gadget - I have read its 'Technical Details' only. Do you have 'v2' ie. its second version indeed?



  • @György-Farkas The shield works perfectly when plugged into the dock and the example 'graphic test' is flashed wirelessly to the omega. However when I flash the 'touch test' the touch screen seems to just be black and white strips of light (clearly stuffing up and struggling).

    and yes I have v2.



  • @György-Farkas this is the example code I'm trying to run

    Example Touch Screen

    Appreciate your help by the way!



  • @György-Farkas 0_1551784520420_20190305_221342.jpg

    That is what it currently is displaying

    0_1551784556292_Screenshot_20190305-221409_Chrome.jpg

    This is what it's meant to display, which works when using my arduino uno.



  • @György-Farkas please read update at top of page.



  • @Angus-Ryan Try to run these commands on Omega's CLI (Command Line) please:
    (# Setting free Arduino's SPI bus)
    fast-gpio set-input 15
    fast-gpio set-input 16
    fast-gpio set-input 17
    (# Reset Arduino)
    fast-gpio set-output 19
    fast-gpio set 19 1
    fast-gpio set 19 0

    See also Using the Omega’s GPIOs



  • @György-Farkas kind of worked. If I touch it once, the whole screen keeps registering clicks everywhere continously. The project works on my arduino, one click turns a button on, again turns it off.

    On the omega i touch the button and it turns on and then continously flickers on and off without it being touched? It's as if im spamming my finger tapping everywhere.



  • @Angus-Ryan said in Touch Screen Shield with Arduino Dock:

    kind of worked. If I touch it once, the whole screen keeps registering clicks everywhere continously.
    The project works on my arduino, one click turns a button on, again turns it off.

    Does this mean "it worked well on your Arduino" or "it worked well on your Arduino Dock 2"?

    On the omega i touch the button and it turns on and then continously flickers on and off without it being touched? It's as if im spamming my finger tapping everywhere.

    Sorry, I don't fully understand this. 😞
    Does this mean whereas you typed the above commands "it did not work well on your Arduino Dock 2"?

    BTW your shield should work well on Arduino Dock 2 without Omega too. Switch the power off, remove Omega and try the shield on the Dock. What's going on?



  • @György-Farkas it seems setting the inputs 'fast-gpio set-input 15' as well as 16 and 17 makes the touch screen work in the dock (while omega is plugged in), but causes the touch screen to think its repeatedly being tapped without actually tapping it. The first touch works, but then the screen acts as if its being touched everywhere. For example I have three buttons which when tapped change colour, what happens is when I tap one button it changes colour and then all of a sudden the other buttons start changing colours and flickering (as if i am tapping them when I am not). (without the omega plugged in touch screen doesnt respond).

    WHEREAS in the Arduino Uno (not dock) touch screen works perfectly.



Looks like your connection to Community was lost, please wait while we try to reconnect.