4D systems gen4-HMI Series Datasheet Download Page 12

gen4-HMI Display Modules

 

 

gen4-uLCD-50D                                                     Page 12 of 29                                       www.4dsystems.com.au 

Where  ‘pin’  is  the  GPIO  pin  compatible  with  this 
particular function, ‘mode’ is the type of trigger used 
to  count  on  such  as  Rising/Falling/Edge,  and 
‘OVFfunction’  is  the  user  function  to  call  when  the 
counter overflows, if desired. 
 
Please  refer  to  the  separate  document  titled 

'DIABLO16-4DGL-Internal-Functions.pdf'

  for  more 

information on how to use the Pin Counter functions, 
along with the separate document titled 

‘DIABLO16-

Processor-Datasheet-REVx.x.pdf’

4.10.

 

Quadrature In 

 

There are two Quadrature Input channels available on 
the DIABLO16 processor, which requires 2 GPIO pins 
each. 
 
Please  refer  to  the  table  on  the  previous  page  for 
details  on  which  GPIO  can  be  configured  for 
Quadrature Input. 
Quadrature Input allows a quadrature encoder to be 
connected, and the position counter and delta counter 
can be read at any time. 
 
To enable the Quadrature Input function on a set of 
GPIO  pins  (2  pins  required),  the  following  4DGL 
function is used: 
 
Qencoderx(PHApin, PHBpin, mode); 
 
Where ‘Qencoderx’ is substituted for Quencoder1 or 
Quencoder2  accordingly,  ‘PHApin’  is  the  pin 
connected to the A Phase of the Encoder, ‘PHBpin’ is 
the pin connected to the B Phase of the Encoder, and 
‘mode’ is not currently used so is to be set to zero (0).  
 
Please  refer  to  the  separate  document  titled 

'DIABLO16-4DGL-Internal-Functions.pdf'

  for  more 

information  on  how  to  use  the  Quadrature  Input 
functions,  along  with  the  separate  document  titled 

‘DIABLO16-Processor-Datasheet-REVx.x.pdf’

 
 
 
 
 
 
 
 
 
 
 
 
 

4.11.

 

Analog Inputs 

 
Please refer to the table in 

section 4.2

 for details on 

which GPIO can be configured to be analog inputs. 
The analog inputs on the DIABLO16 have a range of 0 
to 3.3V, each with a max resolution of 12-bits. 
 
The  analog  inputs  can  be  read  using  three  modes, 
standard mode, averaged mode or high speed mode. 
 
Standard Mode results in a sample being immediately 
read. Standard Mode can read over 40000 values per 
second. Operates at 12-bit. 
 
Averaged  Mode  results  in  a  16  sample  being 
immediately  read  and  their  average  returned. 
Averaged Mode can read approximately 20000 values 
per second. Operates at 12-bit. 
 
Highspeed Mode collects a user specified number of 
samples  at  a  user  specified  rate/frequency  and  can 
execute a user function when complete. The updated 
value updates approximately 250000 times across 1-4 
channels. Operates at 10-bit. 
 
To  enable  a  GPIO  to  be  used  as  an  Analog  Input  for 
Standard  or  Averaged  modes,  the  following  4DGL 
function is used to set the pin: 
 
pin_Set(mode, pin);

  

Where  ‘mode’  is  the  desired  mode  defined  above, 
either  Standard  or  Averaged,  and  ‘pin’  is  the  GPIO 
compatible with this function which is to become an 
Analog Input. 
 
For  highspeed  mode,  the  following  4DGL  function  is 
used to set the pin and define the parameters: 
 
ana_HS(rate, samples, 1buf, 2buf, 3buf, 4buf, func); 
 
Where  ‘rate’  is  the  number  of  samples  per  second, 
‘samples’  is  the  number  of  samples  to  collect  per 
channel, ‘1buf’ 

 ‘4buf’ are the buffer addresses for 

the 4 channels, and ‘func’ is the user function to call 
when  the  number  of  samples  specified  have  been 
collected. 
 
Please  refer  to  the  separate  document  titled 

'DIABLO16-4DGL-Internal-Functions.pdf'

  for  more 

information on the Analog Input functions, along with 
the separate document titled 

‘DIABLO16- Processor-

Datasheet-REVx.x.pdf’

 

Note: Analog Inputs are 0-3.3V tolerant only. Do not 
apply  voltages  outside  of  this  range  as  you  will 
damage Diablo16. 

Summary of Contents for gen4-HMI Series

Page 1: ...itive touch w CLB gen4 uLCD 50Dxx xxx SB Super Bright variants W W W 4 D S Y S T E M S C O M A U gen4 HMI Display Module Series DATASHEET DOCUMENT DATE 05th AUGUST 2019 DOCUMENT REVISION 1 8 Uncontrolled Copy when printed or downloaded Please refer to the 4D Systems website for the latest Revision of this document ...

Page 2: ... 11 4 9 Pin Counter 11 4 10 Quadrature In 12 4 11 Analog Inputs 12 5 Module Features 13 5 1 DIABLO16 Processor 13 5 2 Audio 13 5 3 SD SDHC Memory Cards 13 5 4 FAT16 13 5 5 Application PCB Support 14 5 6 RF EMI Shielding Support 14 6 Display Module Precautions 15 7 Hardware Tools 15 7 1 4D Programming Cable Adaptor 15 8 Software Overview Language 16 9 4D Systems Workshop 4 IDE 17 9 1 Workshop4 Desi...

Page 3: ...Spec 20 13 Mechanical Details Resistive Touch 21 14 Mechanical Details Capacitive Touch 22 15 Schematic Details HW REV 1 2 23 16 Schematic Details HW REV 1 3 24 17 Schematic Details HW REV 1 5 25 18 Specifications 26 19 Hardware Revision History 28 20 Datasheet Revision History 28 21 Legal Notice 29 22 Contact Information 29 ...

Page 4: ... to minimise the impact of display related circuitry and provide a platform suitable for integration into a product Application boards can sit flush on the back of the gen4 if required as the display related electronics sit inside the plastic mounting base leaving the application board surface clear for User circuitry 2 Features Powerful 5 0 Intelligent LCD TFT display module powered by DIABLO16 8...

Page 5: ...d as an Analog Input and is 3 3V tolerant only 6 PA9 I O General Purpose Input Output 3 3V Level 5V Tolerant 7 PA8 I O General Purpose Input Output 3 3V Level 5V Tolerant 8 PA7 I O General Purpose Input Output 3 3V Level 5V Tolerant 9 PA6 I O General Purpose Input Output 3 3V Level 5V Tolerant 10 PA5 I O General Purpose Input Output 3 3V Level 5V Tolerant 11 PA4 I O General Purpose Input Output 3 ...

Page 6: ...ontrol this pin via one of its port pins using an open collector drain arrangement 23 RX0 I Asynchronous Serial Receive pin TTL level Connect this pin to the Transmit Tx signal of other serial devices Used in conjunction with the TX pin for programming this microLCD This pin is tolerant up to 5 0V levels 24 TX0 O Asynchronous Serial Transmit pin TTL level Connect this pin to the Receive Rx signal ...

Page 7: ... is then available to the user application TX0 pin Serial Transmit COM0 Dedicated Asynchronous Serial port COM0 transmit pin TX0 Connect this pin to external serial device receive Rx signal This pin is 5 0V tolerant RX0 pin Serial Receive COM0 Dedicated Asynchronous Serial port COM0 receive pin RX0 Connect this pin to external serial device transmit Tx signal This pin is 5 0V tolerant TX1 pin Seri...

Page 8: ...ions using the BUS functions DIABLO16 Alternate Pin Configurations General Purpose I O Digital Input Digital Output Bus Read Bus Write Analog Read PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15 Please refer to the separate document titled DIABLO16 4DGL Internal Functions pdf for more information PA0 PA3 General purpose I O pins or can serve as Analog Input pins Each pin can ...

Page 9: ...ternally pulled up to 3 3V via a 10K resistor Only use open collector type circuits to reset the device if an external reset is required AUDENB Audio Enable Output Output dedicated to enable or disable and external amplifier where required AUDIO PWM Audio Output Output specifically for Audio This pin is a PWM output from the DIABLO16 Processor This pin is a 3 3V level PWM output to drive an extern...

Page 10: ...ous speeds from 78 125Khz to 17 5Mhz Please refer to the table on the previous page for details on which GPIO can be configured for SPI Note The additional SPI channel SPI0 is dedicated to memory cards and cannot be reconfigured for alternate uses To map an SPI channel to a set of GPIO pins the following 4DGL functions are used SPIx_SCK_pin pin Map the SCK pin SPIx_SDI_pin pin Map the SDI pin SPIx...

Page 11: ...in milliseconds Please refer to the separate document titled DIABLO16 4DGL Internal Functions pdf for more information on how to use the Pulse Out functions along with the separate document titled DIABLO16 Processor Datasheet REVx x pdf 4 8 PWM Out There are 6 PWM channels available to be configured by the user with 4 time bases available for selection The PWM can be configured to be used in Servo...

Page 12: ...PIO can be configured to be analog inputs The analog inputs on the DIABLO16 have a range of 0 to 3 3V each with a max resolution of 12 bits The analog inputs can be read using three modes standard mode averaged mode or high speed mode Standard Mode results in a sample being immediately read Standard Mode can read over 40000 values per second Operates at 12 bit Averaged Mode results in a 16 sample ...

Page 13: ...o be used as general purpose storage for data logging applications Support is available for off the shelf micro SD 4GB and high capacity HC memory cards 4GB and above Memory cards up to 32GB is size can be used however it must be noted that only a portion of this can be utilised by the FAT16 file system See section below for more details Note A microSD card capable of SPI is a requirement for all ...

Page 14: ...ottom and then into the application board as depicted above The micro SD socket is a latch type so it is accessible from the top rather than a push push or push pull style which is accessible from the side 5 6 RF EMI Shielding Support As per what is written in section 5 5 Application PCB Support there is an option for extended RF shielding and EMI protection on this module On the back of the gen4 ...

Page 15: ...ite life which is typically dictated by the display itself more specifically the backlight The backlight contains LED s which fade over time In the Specifications section is a figure for the typical life of the display and the criteria are listed Resistive Touch model features a touch sensitive film over the display which is sensitive to pressure Take note when mounting the display module in an en...

Page 16: ...GL 4D Graphics Language was specifically developed from ground up for the EVE engine core It is a high level language which is easy to learn and simple to understand yet powerful enough to tackle many embedded graphics applications 4DGL is a graphics oriented language allowing rapid application development and the syntax structure was designed using elements of popular languages such as C Basic Pa...

Page 17: ...r details explained in section 9 3 A Serial environment is also provided to transform the display module into a slave serial module allowing the user to control the display from any host microcontroller or device with a serial port The Workshop 4 IDE is available from the 4D Systems website www 4dsystems com au For comprehensive manuals on the Workshop 4 IDE Software the language and its environme...

Page 18: ...essional set of features to the Visi Genie environment called Genie Magic The added features allow the user to add in 4DGL scripts which can be activated from the display itself from an interfacing Host or from an external sensor or device These PRO set of features of Genie Magic allow the User to create an immensely powerful GUI system with a fraction of the effort required by other systems 9 4 W...

Page 19: ...e need to use Workshop4 to program the display modules are available for commercial customers requiring batch programming or production line programming These solutions are practical for production staff and minimize the chance of unwanted or unauthorised modifications on the production line Three solutions come with the Workshop4 IDE which can be separated out for production line computers if req...

Page 20: ...ter Kits typically include gen4 Integrated Display Module gen4 Interface Module gen4 IB 4D Universal Programming Adaptor 4D UPA 4GB micro SD Card 5 way cable for easy connection to a breadboard or host via the gen4 IB 150mm 30 way FFC cable for connecting gen4 display to gen4 IB or 4D UPA Quick Start Guide Please refer to the 4D Systems website for current components included in the Starter Kit Si...

Page 21: ...gen4 HMI Display Modules gen4 uLCD 50D Page 21 of 29 www 4dsystems com au 13 Mechanical Details Resistive Touch ...

Page 22: ...gen4 HMI Display Modules gen4 uLCD 50D Page 22 of 29 www 4dsystems com au 14 Mechanical Details Capacitive Touch ...

Page 23: ...gen4 HMI Display Modules gen4 uLCD 50D Page 23 of 29 www 4dsystems com au 15 Schematic Details HW REV 1 2 ...

Page 24: ...gen4 HMI Display Modules gen4 uLCD 50D Page 24 of 29 www 4dsystems com au 16 Schematic Details HW REV 1 3 ...

Page 25: ...gen4 HMI Display Modules gen4 uLCD 50D Page 25 of 29 www 4dsystems com au 17 Schematic Details HW REV 1 5 ...

Page 26: ...pply required 4 0 5 0 5 5 V Processor voltage VP 3 3 V Operating Temperature 10 60 C Input Low Voltage VIL all pins 0 0 2VP V Input High Voltage VIH non 5V tolerant pins 0 8VP 3 3 V Input High Voltage VIH PA4 PA13 RX0 and TX0 pins 0 8VP 5 5 V Reset Pulse External Open Collector 2 0 µs Operational Delay Power Up or External Reset 500 3000 ms GLOBAL CHARACTERISTICS BASED ON OPERATING CONDITIONS Para...

Page 27: ...Contrast 15 485 cd m2 gen4 uLCD 50DT Contrast 15 400 cd m2 gen4 uLCD 50DCT CLB Contrast 15 475 cd m2 gen4 uLCD 50D SB Contrast 15 820 cd m2 gen4 uLCD 50D CLB SB Contrast 15 735 cd m2 gen4 uLCD 50DT SB Contrast 15 650 cd m2 gen4 uLCD 50DCT CLB SB Contrast 15 705 cd m2 Display Contrast Ratio Typical 500 1 Display Viewing Angles Above Centre 70 Degrees Below Centre 50 Degrees Left of Centre 70 Degree...

Page 28: ...hange Only Regulator U3 changed to AP7361C 33ER 13 Revision Number Date Description 0 1 xx xx 2015 Internal Use Only 1 0 10 12 2015 Initial Public Release Version 1 1 22 12 2015 Cosmetic Changes to gen4 Datasheet range 1 2 13 06 2016 Drawing and Specification updates other minor changes 1 3 28 09 2016 Addition of Super Bright variant information 1 4 05 05 2017 Addition of HW REV 1 2 and REV 1 3 sc...

Page 29: ...raphics used are possible to be displayed on the 4D Systems range of products however the quality may vary In no event shall 4D Systems be liable to the buyer or to any third party for any indirect incidental special consequential punitive or exemplary damages including without limitation lost profits lost savings or loss of business opportunity arising out of or relating to any product or service...

Page 30: ... CLB SB gen4 uLCD 50DT SB AR gen4 uLCD 50D CLB AR gen4 uLCD 50DCT CLB SB PI SK gen4 50D SB AR gen4 uLCD 50D CLB SB PI gen4 uLCD 50DT SB SK gen4 50D CLB SB PI SK gen4 50D SB PI SK gen4 50DCT CLB SB AR gen4 uLCD 50DCT CLB gen4 uLCD 50D SB gen4 uLCD 50D CLB SK gen4 50DT SB SK gen4 50DCT CLB AR SK gen4 50DT SB PI SK gen4 50DCT CLB SB PI SK gen4 50D SB SK gen4 50DCT CLB PI SK gen4 50D CLB SB AR gen4 uL...

Reviews: