LINKS: Ian's (g3vpx) Trxavrb web pages
|
sample only ! Page created on 9th April, 2010. Last updated on May 11, 2022 some build info added.
Background These pages are general information
for the TFT pcb, for use with Trxavrb to control PIC-a-STAR. It is primarily
intended for members of the The PCB is available through Gerard, VK3GRS see QRZ.com for email address. TFT
PCB for Trxavrb & PIC-a-STAR
You can also use TftA pcb for your own projects, see details below.
|
||||||||||||||||||||
LINKS: Ian's (g3vpx) Trxavrb web pages |
TftA PCB was developed by Chris S. specifically for using a TFT colour display (480x272pixels). Software is by Gerard, VK3CG or VK3GRS. The PCB is available from Gerard. Contact him directly. Email is at www.qrz.com Cost at time of writing, is a very reasonable AUS$5.00???? plus shipping (TBA) TFT displays can most commonly be found in 4.3" (diagonal) and 5". The 4.3" for example, is commonly sold on eBay as a replacement screen for Sony PSP 1000. It has no touch screen. Typical cost is about US$20-25. The 5" types are harder to find, but can be obtained in touchscreen or non-touchscreen versions. Picture below is without touchscreen (TS). A home made pcb carries switches to emulate TS. 2013: both 5" and 4.3" types with TS can now be found on ebay for around $20-30. Make sure you get a compatible type though ! Refer to the list on the Yahoo TFT_central group for details. Display still has protective covering. Actual view is much better. The interesting part of the TFT development is that it is not limited to use on Picastar. If you have the inclination and some software skills, it can be used as a colour display for any project you wish. VK3PE has been playing with the display using a Motorola Micro (HC9S08QG8) to 'talk' to it, using assembler language. Examples are shown on this page. The display uses I2C communications (2 wire serial) and the commands will be available shortly. I changed to the QG8 from Freescale as it has an IIC port which simplifies things a bit. It might also be possible to use some of the Micro's that support programming in BASIC. eg PICAXE Playing with text sizes This is my setup, above. Top left is a little PCB with a real time clock (RTC) on it. To the right is the 9S08QG8 Micro built on proto perf board. Just the micro and a 78L05 voltage regulator. It has 8kb of flash memory, plenty for this project. In the middle is the TftA pcb and below is the 4.3" Tft display from a Sony PSP1000 handheld playstation. As you can see, I have drawn a few lines, some text, and implemented a clock using the RTC pcb (from Futurlec). The Tft and the RTC are connected using the serial I2C lines. (ie data and clock) The RTC is read and the date and time etc are extracted from it in BCD format then re-formatted into text to display on the TFT in the bottom half. This is only the tip of the iceberg on what can be done. Just up to our imagination really, what can be displayed. vk3pe TftA Build information:- Known problems None UPDATE 11th May 2022: This is a very old project and unfortunately all of the build information was on a Yahoo Group which is defunct now. I have tried to find as much information as I can and it's linked below. (Some other info/links on this page may be obsolete. ) Bill of materials (BOM) Right click Mouse to download XLS file Schematic Right click to download pdf file. Software Integration see below ZIP. All info ZIP file. 5Mb file Right click to download.
VK3PE's "Manual" for TftA PCB v2.2 This "manual" is for the assembly and commissioning of the TftA PCB v2.2 Last update on June 3, 2010 At end of page, 5" display types clarified June 2, 2010 Added font load screen pictures May 27, 2010 removed D2 in table at end. Overlay by value updated. May 24th, added information on alternate programmer May 15th, 2010: corrected fonts name and location Please note, this is a draft procedure written by VK3PE. Some of the documents below are by VK3PE. It is NOT the official build procedure, but was derived from two builds by VK3PE. What you need for this project:- 1) A suitable TFT display of 480x272, either
4.3" or 5" (details in Appendix C) 9) An existing (assembled and working) TrxAVRB
control board. 17th May, 2010: New drawings:- I have uploaded two new drawings to the Tft_Central group, files area (build info). These are for interconnecting Four Encoders and 2x6 keypads to the Tft PCB.
Documents in above list, in blue text, were produced by VK3PE. Components: The official BOM listed above gives typical part numbers and reference to Farnell items as an aid in purchasing. For many parts, there are also other alternatives that will work. General assembly information. TftApcb can be built with several variations, to suit the type of TFT display and touchscreen or not. Also, Encoders 8 can be used instead of Trxavrb. Details are included in the BOM, schematic and this 'manual'. It is suggested that low height parts are fitted first, including regulators, then power up and check voltages, before fitting the IC's. Do not fit any tall parts adjacent to the 2 large IC's initially either, like connectors or electrolytic, on the top of the PCB. Since your TrxAVRB assembly included fitting devices with many fine pitched leads, it is assumed you will have little difficulty fitting the two devices on TftA PCB v2.2. If you are using touchscreen, then an FSA2467 device will be fitted. Most will not be familiar with soldering this type of package. Gerard offers this advice for soldering the FSA2467 (only required for touch screen). As this is a package without gull wing pins, use plenty of flux and use the soldering iron to heat the pad until the solder reflows to the chip pins. Or use solder paste and heat appropriately. (with a heat gun perhaps) NOTE:- Do NOT fit a link into the "K1" position adjacent to P6 If you are using a TFT display with touch screen, then resistors marked as "TBA" on the schematic will need to be calculated to ascertain the correct value to be used. Refer to Appendix "B" for details. Also, for touch screen, an additional Capacitor should be fitted in parallel with C37. It will need to be soldered over the top of C37. See BOM for value. The value of R9 needs to be calculated for the display type being used. It depends upon the backlight current allowed for the display. Refer to the data sheet for the display used. The Formula is R = 300 / BL current (mA) For example, a Truly branded display is rated at 2x15mA max. So, R9 = 300/30 = 10R For other types, check the data sheet. Typical values though will be given in Appendix C Fitting of R14 and D2: See Appendix C also.
(And Tft_Central group) The links shown above are for the VK3PE build only, which was for a "Truly " branded TFT display. You must only install the links required for the actual TFT display type you are using. Please refer to the "Integration drawing" for more details. Although this Truly display has touch screen capability, it has not been optioned onto the TftA PCB build shown here, so some parts on the left side (and on the bottom) have not been fitted. Refer to the BOM for details of touch screen parts fitting. Fitting of "L1". There are two holes available for fitting L1 at the end adjacent to P9. If a touch screen TFT is NOT being used, then use the inner hole as per the picture above. Conversely, if touch screen IS being used, fit L1 into the outer hole. This is also shown on the schematic. I have used 'jumpers' from an old PC motherboard. Because it is very easy to get the connections wrong if the jumpers are removed again, it is better to use wire links. For some options, it is not possible to use the links anyway as the connection is not the right spacing. The above picture may NOT be applicable to YOUR build. Check the documents ! Please refer to the Tft_Central files Interconnect+ts.pdf and Interconnect-ts.pdf for information on PCB loading options for the various types of TFT display that can be used. Commissioning: Power up the completed PCB initially from
a 12v supply connected to P4- pin 3, GND to pin 2. Do not use pin 1.
NOTE: a genuine (see below) Atmel AVRISP2 is required to program the device. It can also be used to program the Trxavrb. The AVRISP2 is available from:- 1) Farnell , part# 1135517 Pre-programmed devices (Atxmega128A1) might
be available from the TFTa v2.2 group. Obviously, this will mean that
your TftA pcb will only have the software version current at that time. Depending on whether you use the source code
or the tftavr.HEX file, then you may need to compile the source code initially.
(Details for compiling are not included here) Programming however, follows
this routine, assuming the use of the HEX file:- The green LED on the USB side of the AVRISP should be ON. If not, then AVRISP2 is not installed correctly. If the TftA PCB is off, then a red LED will be lit on the 6 way cable side. Otherwise, it will be green. {It will change to red while programming though} In Studio4, click
Menu | Tools | Program AVR | Auto connect (or click on the IC symbol
with "AVR" in the menu bars.)
Then, click on the "Program" button.
At the bottom of the screen, you should see the progress of the programming. You should now be greeted with a message on your TFT display near the top and centre of the screen "tftavr v 2.xx" (or later) As this is the 1st time programmed, a further message to "power cycle" will be displayed. Turn power off then on. This time, only the version message should appear. If you don't see this, check the "bling" LED on the top of the PCB: (See Appendix A for meanings of the LED flashing) If the LED is NOT flashing, you may have a problem with soldering a pin or similar on one of the IC's. If all is OK so far, you can now connect the TftA PCB to TrxAVRB board. An I2C cable is required for this. Full details of the cable assembly are in drawing:- Tft_cable_200410.pdf (by VK3PE) Shown below is the cable, but please construct it per the drawing! TftA PCB "J6" TrxAVRB "Jx1" TrxAVRB needs to be set up to communicate
with the TftA PCB using the I2C cable, in the hardware set-up area of
Hobcat. (ie you need a USB connection from TrxAVRB to the PC and Hobcat
running) The assumption is that you already have another type of display fitted and will be changing over to the TftA PCB v2.2 ie, you are basically familiar with using Hobcat and Trxavr. The top of Ian's page is applicable here. It is reproduced here for reference. For "EA320" substitute "TftA PCB V2.2" {non-applicable sections have been removed} TrxAVR_Picastar setup instructions
- Configuring via USB
SCREEN SHOT TO COME
Now, on power cycle, your TftA PCB v2.2 should briefly flash up "tft v2.xx" (or later) then a nice full screen of colour should appear ! You may notice that some text appears to be the wrong size. Eg the A and B VFO frequencies will be quite small. Using Hobcat again, the fonts need to be
uploaded to TftA PCB v2.2. This only needs to be done once. This is
detailed on Ian's pages also at Power cycle your TrxAVRB/TftApcb again and the screen should now have the fonts correctly sized. You can set up the back lighting maximum brightness and dimmed levels to suit your own preferences. Again, refer to Ian's pages for details: Many parameters can be changed and the colour
screen brings a new dimension to using PICaSTAR.
ENCODERS 8 Fitting TFT to your STAR project. TFT displays are usually specified for 6 o'clock viewing. This is because most displays of this type were originally intended for hand held devices that are held in such a way in normal use that viewing is from the bottom or 6 o'clock position. TftA PCB v2.2 has provision to 'invert' the display but the software has been written to give the best viewing angle, with the TFT flex cable at the top. See the integration drawing. Briefly, a link can be fitted on P12 at the "A" position to invert the text and graphics written to the display. The magic of software. Try it out. You must power down, then fit (or remove) the link first. This determines how your display and TftA PCB v2.2 is physically fitted to your project so take it into account before making a new panel for fitting the TFT. If your new TFT display does not have touch screen capability, then the soft keys (TP1-TP12, see picture below) visible on the display down each side, will require separate switches on the front panel, to emulate the softkey function. Paul, M1PVC and Glenn, VK3PE, for example, made a simple PCB to hold 12 switches, 6 down each side. Tactile switches and small knobs were fitted. The extra keys need to be called up in Hobcat as "6x6" matrix. Details of the connections are in the drawing listed at the start of this document.. M1PVC:- http://www.carnut.info/singleboard/Ver_B/BUILDERS/M1PVC/Paul_M1PVC.htm#paul VK3PE:- http://www.carnut.info/singleboard/Ver_B/BUILDERS/vk3pe/vk3pe.htm In the Hobcat hardware set-up, the "6x6" keypad matrix is used. The switches have to be allocated the functions of the appropriate softkey using the Menu encoder. Eg, in the picture below, the softkey "TP1" is first given a function like NF/IP3, then the switch is allocated the keypad matrix (ie X, Y value) mapping. The mapping letter ("o" to "z") into the X,Y keypad is shown in the drawing. More details to follow. NEW ! It is also possible now, to fit the 2x6 keys directly to the TftA PCB instead of Trxavrb. This will be simpler in most cases.. Refer to my drawing in the TftA files area for build info:- "TftA-pcb_with_2x6_keypad.pdf" There is also a drawing for the connection of the Encoders. Note you can also fit up to 4 encoders if you have fitted the 2x6 keypad as advised in the drawing.
Enjoy !
Diagnostics using "bling" LED: < Refer also to the official Doc "TftA_Bling_LED_Codes.DOC" on TftA_Central > 1) Normal - on (0.5S) off (0.5S) Touch screen resistors
Touch screen calibration Details to follow in next revision. Display types. The TftA PCB V2.2 can be used with 4.3"
or 5" types that are 480x272 RGB. 1) Truly (4.3") TFT1N4633-E(4.3)V0.1.pdf
(has touchscreen) Note supplied by VK7MX, 3rd June, 2010:- AT050TN33 comes in two versions. AT050TN33 has an integral touchscreen,
The AT050TN34 has an integrated touchscreen but we are not supplying that particular TFT. We were originally trying to obtain it but it proved too elusive. That is why no data sheet can be found for it on the group pages. Best to confirm your TFT
type with others on Cheers VK3PE
Backlight typical values for the displays above only.
LINKS: NEW Homebrew group covers Picastar/TFT display etc.
Ian's (g3vpx) Trxavrb web pages
|
||||||||||||||||||||
Hosted by vk3pe |
|||||||||||||||||||||