A tft addin for pbp3


Closed Thread
Results 1 to 40 of 142

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,645


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    hi barry


    the address dup messages come from having coff file generation turned on when using dt_ints , don't know why ,wish it wouldn't
    see the attached screen shot to remedy that

    the syntax error i think comes from not using the latest tft-spi.pbpmod file

    I have uploaded the latest just incase I stuffed up
    Attached Images Attached Images  
    Attached Files Attached Files

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,645


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    I did stuff up , seems I forgot to upload the latest version with fillcircle command in it .
    apologies to all,

  3. #3
    Join Date
    Jan 2011
    Location
    Sydney, Australia
    Posts
    172


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    Thanks Richard - that did the trick!
    Everything compiles and programs.
    Now to breadboard it and make it work

    Cheers
    Barry
    VK2XBP

  4. #4
    Join Date
    Jan 2011
    Location
    Sydney, Australia
    Posts
    172


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    Hi Richard,

    I have had a small amount of success getting this thing going but still having a few problems.
    Firstly, your .pdf circuit diagram appears to have another mistake (apart from the MCLR issue)
    You show the LED connection on J2 as being Pin 9 however I believe it should be Pin 8 - or at least that's what is printed on the PCB silkscreen.
    I made the necessary adjustments but still nothing. I am getting a nice 50% duty cycle PWM signal (~7.8kHz) on CCP1.
    In frustration I connected the LED connection (J2 Pin 8) to the wiper of a 10k pot and adjusted it between 0V and 3.3V.
    Once I got to around 3V the screen came to life - or at least half of it did
    I think I might have a dodgy TFT screen.
    I can see the elapsed timer counting and some of the reset button but most of the right side of the screen is scrambled with a big black ovoid shape in the middle.

    Looks like I need to do another eBay purchase but don't really want to have to wait 3-4 weeks for it to arrive!

    Thanks for all your help thus far. I will be in touch again once I have a new screen to play with.

    Cheers
    Barry
    VK2XBP

  5. #5
    Join Date
    May 2013
    Location
    australia
    Posts
    2,645


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    your right about the schematic I have uploaded a correct version , I have replaced the transistor with a pch mosfet (saves two resistors) but it still loses a little brightness and is no better than the transistor version

    most of the right side of the screen is scrambled with a big black ovoid shape in the middle.
    I had similar issues with mine , turns out the sil connector was very poorly soldered a bit of rework fixed it
    Attached Images Attached Images
    Last edited by richard; - 9th September 2015 at 22:25.

  6. #6
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    Quote Originally Posted by richard View Post
    your right about the schematic I have uploaded a correct version , I have replaced the transistor with a pch mosfet (saves two resistors) but it still loses a little brightness and is no better than the transistor version
    Thanks for the schematic update. Now I have to start gathering all needed components.
    Why you have selected BS250, which has quite huge Rds(on), it is round 10 Ohm or more @3.3V. Why not go with a good PFET like IRLML9301TRPbF, which has ~100-200mOhm Rds(on) @3.3V. Also price is half of the BS250. With this FET you will not burn energy in transistor -> LED will be brighter.

  7. #7
    Join Date
    Oct 2013
    Posts
    41


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    I tried to test the repetitively button, it works but not as expected.

    When I touch the button the counter starts counting, and its value increases every 300ms for one and then suddenly accelerate and in few mS in increase his value very quikly and then slow down.

    If it happens to someone else or just me?

Similar Threads

  1. Replies: 0
    Last Post: - 25th September 2013, 18:33
  2. code examples / libraries for ILI9320 2.8" TFT LCD Module
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 6th June 2013, 08:50
  3. I really need some help with PBP3
    By Ramius in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th February 2012, 16:05
  4. What's with PBP3?
    By BrianT in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 10th August 2011, 17:09
  5. Experience of driving TFT screens?
    By isaac in forum General
    Replies: 1
    Last Post: - 26th September 2008, 00:15

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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