Home

Digital Solutions

image

Contents

1. in DRBBBB ee oe 4 B are X Y left top X Y right oo EGEDE Arduino use width 820 and height CCBBBB Draw a CirCle 4 B are X Y radius filled or not drawCircle x y r f AN meang Miled drawDisc x y r circel DPBBB Draw a Pixel 3 B are x y and color drawPixel x y color Page 4 e e Digole Digital Solutions Serial Character Graphic LCD OLED User Manual i drawHLine drawiine Oy Ly horizontal line LNBBBB Draw a Line from x y to x1 y1 4 B are x y x1 y1 drawHLine x y width drawVLine x y height MWL veritcal line LTBB Draw a Line from Tast position to x y 2 B are x y drawLineTo x y The y pixels moved TRT Move text cursor to next line call Text ReTurn nextTextLine depending one font size current using Set Font follow by the font number preloaded font number is 6 10 18 51 120 123 0 default user font We already map number is 200 201 202 203 maps to 4 user font SFB i i setFont 0 preloaded font to 0 memory sections you can combine adjacent sections to 5 in arduino lib together is the font size gt 4kb each section has 4kb in size SCB Set Color for following drawing setColor 1 0 and MAE Diack white screen MABBBBB Move rectangle Area on screen to another place the 6 B hovede so T B are represent x y left top w h width height tyoffset xoffset yoffset 2 i Enhanced set the current Text position Back to last ETB char
2. e e Digole Digital Solutions Serial Character Graphic LCD OLED User Manual Digole Serial UART I2C SPI Character Graphic LCD OLED Display Module User Manual This manual will describe most common futures for our Serial LCD OLED displays and modules each particular products may have different looks size and material but all interface to your master circuits and control commands are same that means you can switch Digole Serial display in your application without any modification of you master circuit and software Our Serial display products are list in figure 1 you can purchase them with lowest price at http www digole com index php categoryID 153 What benefits you if using these products in you electronic projects e Save lots of the I O resources these products only need 1 to 3 I O pins from your master controller that depends on the communication type you want e Easy to use the commands sending to products are easy to remember and understand On Graphic serial products e Save huge memory space to store font and start screen on graphic display in graphic product there are 7 preloaded fonts ready for your application and also have 16KB memory space for your user fonts once you uploaded the start screen or user fonts it will stored in products e Using user fonts function you can display any graphs or characters in any language e These products already integrated graphic functions such as draw line rectangle circle image
3. he Universal Graphic adapter work with 128 x 64 dots LCD which LCD controller is ST7920 or KS0108 or ST7565 We didn t sell adapters with a LCD due to you might already have LCDs or can easy to get one at low price from somewhere so this way gives you more flexible options on your project How to set up the communication mode There are 3 different communication modes on all products UART I2C and SPI what you need is just use solder to short the I2C SPI jumper on adapter and make it works at I2C or SPI if both jumpers are open it works at UART you can find a similar jumper like this Protocols e UART 8 N 1 8bits No parity bit 1 stop bit e 2C Slave Mode 7 bit address default address is Hex 27 change able This mode may give you a headache due to more signal options in I2C but we make it works as standard you just need setup your I2C on master controller as Standard Master Mode e SPI 8 bits MSB first data on raise edge of SCK sampled this is Standard setting on SPI too Character Graphic Display Shared Command B one byte B Bytes Command Description Arduino lib function note The module will not execute this command until other command CLear screen and set the display position to first CL Column and first Row x 0 y 0 for graphic LCD it clearScreen also set the font to default and turn off the cursor received enableCursor CSB set CurSor on off disableCursor i backLigh
4. mat ended by 0x00 or 0x0D received print double the out put drawStr x y string Manual CommanD send command B to display Use it if you want to MCDB bypass the adapter directCommand 0xaf control the display directly MDTB Manual DaTa send data B to display bypass the directData 0x88 Same as above adapter Graph Display Command B one byte B Bytes Command Description Arduino lib function note Set the Display Mode for on coming command the DMB avallable values Oran Laut nes a ee n E setMode Like the Bitwise and this means the next drawing pixel will logic Operator in C operation with pixel already on screen Display Image ist B is x postion 2 4 is y 3 4B is image a i DIMBBBB Width bas helse then following daa na drawBitmap x y width h B Each byte present 8 pixels if the image width not divide igh data a 8 the last byte of a row only contain few pixels eg For 8 width of 9 to 16 you need 2 bytes for a row fee The setRotation SDB Send graphic fuction Direction the value of B is 0 to 3 setRot90 will accept 0 to 3 representO to 270 degree respectively setRot180 0 represent0 to 270 setRot270 degree respectively CTB Set display ConTrast only for some models setContrast 30 In order to i i compatible with FRBBBB w o Rectangle 4 B are X Y left top X Y right e u8g drawBox in i Arduino use width and height i i drawFrame
5. r adapter For Universal B 0 or 0 for ST7920 i REN Graphic Serial LCD ene B 1 or 1 for KS0108 PRLDE hip Adapter only B 2 or 2 for ST7565 Pinout of this module connect to MCU PIN Description PIN Description SS SPI mode only E PeO 2 chip select control in low active UART mode I2C and SPI mode SCK SCL Clock in Connect with your master circuit UART RX X Serial Display Your Controller Serial Display Your Controller SPI 2 Wire SPI 3 Wire Serial Display Your Controllef Serial Display Your Controller Page 6
6. send few bytes of instruction to products it will do it for you that also save your lots of code space e You can display contents in 4 different directions 02 902 1802 2702 clockwise on same screen the product will map the coordinate accordingly FEATURES e Communication mode UART I2C SPI e Low power consumption less than 4mA for adapter detect your setting automatically only completed module may higher depends on the e Receiving buffer 64 256 bytes backlight power consumption e Work with all microcontroller and e Simple command sets easy to remember microprocessor e Simple graphic engine integrated Graphic Products e Communication signal can work on 3 3V e 7 preloaded fonts font s data structure full and 5 0V TTL compatible with U8Glib Graphic Products e Default setting UART baud 9600bps 12C UART baud bps 300 1200 2400 4800 9600 0x27 address 14400 19200 28800 38400 57600 115200 Page 1 Digole Digital Solutions Serial Character Graphic LCD OLED User Manual S elelelelelelelelelelelelele DEFAULT sucpi2964 3 UART 3688 240x64 Dots Serial LCD ses 00000 ONS to www digole com to wwe digole com 128x64 Serial COG LCD 128x64 Serial OLED Blue White 1 1 3 Figure 1 Page 2 e e Digole Digital Solutions Serial Character Graphic LCD OLED User Manual What are adapters used for Character adapters can work with most 1602 1604 2002 2004 and 4002 character LCDs T
7. tOn Nor available on BLB Set Back Light ON OFF B 0 or 1 0 off 1 on backLightOff Character Adapter V1 Display Config on off the factory default set is on so when the module is powered up it will display displayConfig 0 DCB current communication mode on LCD after you displayConfig 1 design finished you can turn it off Set UART Baud B are ASCII characters the available When adapterpowerup SBB values are 300 1200 2400 4800 9600 Set BAUD when initial or reset always start 14400 19200 28800 38400 the class 57600 115200 with 9600 Baud SI2CAB Fer Het Address the default address 13 0x27 the setI2CAddress 0x34 Change address to 0x34 adapter will store the new address in memory Page 3 e e Digole Digital Solutions Serial Character Graphic LCD OLED User Manual Set Text Columns and Rows this command will o config your LCD if other than 1602 and the chip is setLCDColRow 20 4 o a other than KS0066U F HD44780 This will affect the TPBB set Text Position for following display setPrintPos 6 1 following TT command print string display TexT string the text will wraped in next row print int The print function in TTB if the current row fulled the Text Postion will be print char Arduino also can print ii changed to the last char displyed this command print float other data and for
8. this function will allow you display multiple chars setTextPosBack at same position ETOBB Enhanced set Text position Offset the 2 B are xoffset setTextPosOffset xoffset then yoffset it will adjust the text position in pixels yoffset ETPBB Enhanced set Text Position as pixels on screen the 2 B setTextPosAbs x y are x y coordinate on screen Set Start Screen 1st B is the lower byte of data length The length of data 2d B is the higher byte of data length following by data should be screen SSSBBB a Width High 8 eg For 128x64 LCD the length is 1024 Set User Font 1st B is section of memory you want to SUEEBES upload 2 4B is the lower byte of data length 3rd B is a the higher byte of data length following by data DSSB Display Start Screen stored in memory also set up displayStartScreen 1 or Automatic start screen display or not on next power up 0 Send a Byte to output head on board the current ate The output head are ene driving ability for each pin is 25mA Sink Source eau ele vary from adapters Set Line Pattern when drawing line only for new setLinePattern pattern Old version not SLPB version firmware later than Jan 2013 support this eg B 0xAA is dot line B 0xFA is dash line i fucntion Page 5 Digole Digital Solutions Serial Character Graphic LCD OLED User Manual Special Command B one byte B Bytes Command Description Arduino lib function note Only for multi chip drive

Download Pdf Manuals

image

Related Search

Related Contents

intext:Bedienungsanleitung filetype:pdf  manual de usuario e instalacion  Philips DVD731/001 User's Manual  - Kathrein  EDITORIAL - Service Citroen  CP394AORG / CP395AORG / CP624AORG OWNER`S MANUAL  BDR Manual Version 2 Annex II- F  User manual - GenOuest BioInformatics Platform  Cesar Account Holder User Manual  

Copyright © All rights reserved.
Failed to retrieve file