Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 8 of 8

Thread: Interfacing PIC microcontroller to small touch screen

  1. #1
    Junior Member
    Join Date
    Dec 2017
    Posts
    2

    Interfacing PIC microcontroller to small touch screen

    Hi,

    I'm using a PIC microcontroller with bare-metal c-code and assembly (i.e not OS or RTOS). I'm looking for a touch screen to adopt to my project. Any practical recommendation ?

    Thanks

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    6,377
    As a forum for PJRC's Teensy products - not sure if there will be feedback for PIC usage. For the 32 bit Teensy's the ILI9341 display has great performance and touch support over SPI. That is the one PJRC carries in the store and most generally used. Teensy relies on the Arduino build system - but is all but bare metal as other than the standard giving it uniform program/processor support following the Arduino model that doesn't impart any real overhead or restriction for normal use.

  3. #3
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    2,685
    Quote Originally Posted by omaraminous View Post
    Hi,

    I'm using a PIC microcontroller with bare-metal c-code and assembly (i.e not OS or RTOS). I'm looking for a touch screen to adopt to my project. Any practical recommendation ?

    Thanks
    You might want to search for a forum that people use PIC microcontrollers. This forum is where people using the Teensy controllers from PJRC.COM hang out. There might be one or two people here that also code PICs, but it is not likely.

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    17,481
    Quote Originally Posted by omaraminous View Post
    Any practical recommendation ?
    Save your sanity, abandon the PIC and use a modern ARM chip (ideally Teensy).

  5. #5
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    1,590
    Quote Originally Posted by PaulStoffregen View Post
    Save your sanity, abandon the PIC and use a modern ARM chip (ideally Teensy).
    I second that! PICs are so 1990...

  6. #6
    Junior Member
    Join Date
    Dec 2017
    Posts
    2
    Hi Friends,
    PICs has many peripherals .

  7. #7
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    6,377
    The common bus peripheral interfaces are standards with hardware support in all controllers that could be used: PIC, AVR and the ARM cortex family represented on Teensy.

    The utility comes in having the software to bridge the controller<>peripheral gap and how well the controller architecture supports that access.

    All the controller manufacturers offer a bare metal programming kit in some fashion - folks here on the PJRC Forum have adopted the standardized Arduino interface PJRC has worked on for years as a robust, tremendous 32 bit upgrade to the 8 bit AVR's that Arduino was first built around.

    As noted in post #2 - a good display used here is the ILI9341.

  8. #8
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    17,481
    This is the screen we normally use with Teensy 3.x boards.

    https://www.pjrc.com/store/display_ili9341_touch.html

    Here's a little demo showing why you might consider using a faster processor with FIFO-based SPI.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •