Subversion Repositories svn.mios

Rev

Rev 1031 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1031 Rev 1113
Line 24... Line 24...
24
    <TR>
24
    <TR>
25
      <TD CLASS=TABCOLOR2><B>MIOS8 Connectivity:</B> During the design phase of the core module I took focus on easy soldering and tried to place as less bridges as possible on the board. As an side effect, the pin assignments of the LCD interface J15 unfortunately aren't 1:1. So, you have to take special care for the interconnections.<BR>Following schematic show, how to connect a LCD 162C display from <A HREF="http://www.displaytech.com.hk/" TARGET="_blank">Displaytech</A> to the interface. <I>Please note, that the pin assignments are different on some other displays!</I> Sometimes the pins are mirrored, sometimes the backlight pads are on another place. Fortunately the order of the bus pins is the same on every display! So, before you buy one, try also to get a datasheet from the display: consult <A HREF="http://www.google.com" TARGET="_blank">www.google.com</A>, keywords: "displayname datasheet".<BR>
25
      <TD CLASS=TABCOLOR2><B>MIOS8 Connectivity:</B> During the design phase of the core module I took focus on easy soldering and tried to place as less bridges as possible on the board. As an side effect, the pin assignments of the LCD interface J15 unfortunately aren't 1:1. So, you have to take special care for the interconnections.<BR>Following schematic show, how to connect a LCD 162C display from <A HREF="http://www.displaytech.com.hk/" TARGET="_blank">Displaytech</A> to the interface. <I>Please note, that the pin assignments are different on some other displays!</I> Sometimes the pins are mirrored, sometimes the backlight pads are on another place. Fortunately the order of the bus pins is the same on every display! So, before you buy one, try also to get a datasheet from the display: consult <A HREF="http://www.google.com" TARGET="_blank">www.google.com</A>, keywords: "displayname datasheet".<BR>
26
<B>Wiring Diagram:</B> <A HREF="mbhp/mbhp_lcd_mios8.pdf">mbhp_lcd_mios8.pdf</A><BR>
26
<B>Wiring Diagram:</B> <A HREF="mbhp/mbhp_lcd_mios8.pdf">mbhp_lcd_mios8.pdf</A><BR>
27
If a PIC18F4685 is used in the project (-> <A HREF="midibox_sid.html">MIDIbox SID V2</A>), the LCD is accessed in 4bit mode. Accordingly, the data pins D0/D1/D2 and D3 should be left open at core and LCD side (don't connect them to ground!) - see <A HREF="mbhp/mbhp_lcd_4bit_mios8.pdf">mbhp_lcd_4bit_mios8.pdf</A></TD>
27
If a PIC18F4685 is used in the project (-> <A HREF="midibox_sid.html">MIDIbox SID V2</A>), the LCD is accessed in 4bit mode. Accordingly, the data pins D0/D1/D2 and D3 should be left open at core and LCD side (don't connect them to ground!) - see <A HREF="mbhp/mbhp_lcd_4bit_mios8.pdf">mbhp_lcd_4bit_mios8.pdf</A></TD>
28
      <TD CLASS=TABCOLOR2><B>MIOS32 Connectivity:</B> thanks to the double sided PCB layout, the pinning is 1:1 (*)!<BR>Following schematic shows, how to connect a LCD 162C display from <A HREF="http://www.displaytech.com.hk/" TARGET="_blank">Displaytech</A> to the interface. <I>Please note, that the pin assignments are different on some other displays!</I> Sometimes the pins are mirrored, sometimes the backlight pads are on another place. Fortunately the order of the bus pins is the same on every display! So, before you buy one, try also to get a datasheet from the display: consult <A HREF="http://www.google.com" TARGET="_blank">www.google.com</A>, keywords: "displayname datasheet".<BR>
28
      <TD CLASS=TABCOLOR2><B>MIOS32 Connectivity:</B> thanks to the double sided PCB layout, the pinning is 1:1 (*)!<BR>Following schematic shows, how to connect a LCD 162C display from <A HREF="http://www.displaytech.com.hk/" TARGET="_blank">Displaytech</A> to the interface. <I>Please note, that the pin assignments are different on some other displays!</I> Sometimes the pins are mirrored, sometimes the backlight pads are on another place. Fortunately the order of the bus pins is the same on every display! So, before you buy one, try also to get a datasheet from the display: consult <A HREF="http://www.google.com" TARGET="_blank">www.google.com</A>, keywords: "displayname datasheet".<BR>
29
<B>Wiring Diagram:</B> <A HREF="mbhp/mbhp_lcd_mios32.pdf">mbhp_lcd_mios32.pdf</A><BR>
29
<B>Wiring Diagram for 2x16:</B> <A HREF="mbhp/mbhp_lcd_mios32.pdf">mbhp_lcd_mios32.pdf</A><BR>
-
 
30
<B>Wiring Diagram for 2x20 (and 2x40):</B> <A HREF="mbhp/mbhp_lcd_2x20_mios32.pdf">mbhp_lcd_2x20_mios32.pdf</A><BR>
30
<B>(*) it's 1:1 and mirrored</B> to simplify the cabling of common 2x40 displays (and partly due to historical reasons - it's originated from the so called "UltraPCB").<BR> Pictures of LCD cable for 2x40 displays:</B> <A HREF="mbhp/mbhp_core_stm32_lcd_cable1.jpg">Image1</A> <A HREF="mbhp/mbhp_core_stm32_lcd_cable2.jpg">Image2</A></TD>
31
<B>(*) it's 1:1 and mirrored</B> to simplify the cabling of common 2x40 displays (and partly due to historical reasons - it's originated from the so called "UltraPCB").<BR> Pictures of LCD cable for 2x40 displays:</B> <A HREF="mbhp/mbhp_core_stm32_lcd_cable1.jpg">Image1</A> <A HREF="mbhp/mbhp_core_stm32_lcd_cable2.jpg">Image2</A></TD>
31
    </TR>
32
    </TR>
32
33
33
    <TR>
34
    <TR>
34
      <TD COLSPAN=2 CLASS=TABCOLOR1><FONT SIZE=3><STRONG>2 x Character LCDs</STRONG></FONT></TD>
35
      <TD COLSPAN=2 CLASS=TABCOLOR1><FONT SIZE=3><STRONG>2 x Character LCDs</STRONG></FONT></TD>
Line 52... Line 53...
52
    <TR>
53
    <TR>
53
      <TD CLASS=TABCOLOR2>MIOS8: A special driver module is available which allows to connect up to 8 CLCDs to a single core (<A HREF="http://svnmios.midibox.org/listing.php?repname=svn.mios&path=%2Ftrunk%2Fmodules%2Fapp_lcd%2Fclcd_multi%2F" TARGET="_blank">clcd_multi</A>). Displays have to be selected with the USER_LCD_Select function by the application.<BR>
54
      <TD CLASS=TABCOLOR2>MIOS8: A special driver module is available which allows to connect up to 8 CLCDs to a single core (<A HREF="http://svnmios.midibox.org/listing.php?repname=svn.mios&path=%2Ftrunk%2Fmodules%2Fapp_lcd%2Fclcd_multi%2F" TARGET="_blank">clcd_multi</A>). Displays have to be selected with the USER_LCD_Select function by the application.<BR>
54
<B>Connectivity:</B> any free pin of the PIC can be used for the enable line. For instance, if your application doesn't use the analog pins at J5 of the core module, you are able to connect 8 additional LCDs. You could also program a multiplexer interface in order to address even more LCDs by routing the enable line to one PIC pin.<BR>
55
<B>Connectivity:</B> any free pin of the PIC can be used for the enable line. For instance, if your application doesn't use the analog pins at J5 of the core module, you are able to connect 8 additional LCDs. You could also program a multiplexer interface in order to address even more LCDs by routing the enable line to one PIC pin.<BR>
55
<B>Wiring Diagram:</B> <A HREF="mbhp/mbhp_nxclcd_mios8.pdf">mbhp_nxclcd_mios8.pdf</A><BR></TD>
56
<B>Wiring Diagram:</B> <A HREF="mbhp/mbhp_nxclcd_mios8.pdf">mbhp_nxclcd_mios8.pdf</A><BR></TD>
56
      <TD CLASS=TABCOLOR2>MIOS32: the standard CLCD driver is prepared for controlling up to 256 devices selected via MIOS32_LCD_DeviceSet(). Please understand this value as a theoretical possibility, physical parameters (like cable capacities) have to be considered as well. ;-) <BR>
57
      <TD CLASS=TABCOLOR2>MIOS32: the standard CLCD driver is prepared for controlling up to 256 devices selected via MIOS32_LCD_DeviceSet(). Please understand this value as a theoretical possibility, physical parameters (like cable capacities) have to be considered as well. ;-) <BR>
57
<B>Connectivity:</B> any free pin of the STM32 and LPC17 can be used for the enable line. For instance, if your application doesn't use the analog pins at J5A/B/C of the core module, you are able to connect 12 additional LCDs. You could also program a multiplexer interface in order to address even more LCDs by routing the enable line to one PIC pin.<BR>
58
<B>Connectivity:</B> see <A HREF="midibox_ng_manual_lcd.html">this MIDIbox NG Manual Chapter</A>.<BR>
58
<B>Wiring Diagram:</B> <A HREF="mbhp/mbhp_nxclcd_mios32.pdf">mbhp_nxclcd_mios32.pdf</A><BR></TD>
59
<B>Wiring Diagram:</B> <A HREF="mbhp/mbhp_nxclcd_mios32.pdf">mbhp_nxclcd_mios32.pdf</A><BR></TD>
59
    </TR>
60
    </TR>
60
61
61
    <TR>
62
    <TR>
62
      <TD COLSPAN=2 CLASS=TABCOLOR1><FONT SIZE=3><STRONG>EA DOGM26xx-A LCDs</STRONG></FONT></TD>
63
      <TD COLSPAN=2 CLASS=TABCOLOR1><FONT SIZE=3><STRONG>EA DOGM26xx-A LCDs</STRONG></FONT></TD>
Line 82... Line 83...
82
    </TR>
83
    </TR>
83
    <TR>
84
    <TR>
84
      <TD CLASS=TABCOLOR2><B>MIOS8 Connectivity:</B> the bus interface is similar to a character based LCD, but every 128x64 block needs a CS (chip select) line. Since these lines are gated through the E (enable) pin, it was possible to share the CS lines with other PIC outputs. The MIOS driver takes care for possible conflicts.<BR>
85
      <TD CLASS=TABCOLOR2><B>MIOS8 Connectivity:</B> the bus interface is similar to a character based LCD, but every 128x64 block needs a CS (chip select) line. Since these lines are gated through the E (enable) pin, it was possible to share the CS lines with other PIC outputs. The MIOS driver takes care for possible conflicts.<BR>
85
All graphical LCDs require a negative voltage to drive the Liquid Crystal cells. Some LCDs provide an inbuild DC converter, some others not. The schematic below shows a MAX759 voltage converter which can be used if a Vout pin is not provided by the GLCD.<BR>
86
All graphical LCDs require a negative voltage to drive the Liquid Crystal cells. Some LCDs provide an inbuild DC converter, some others not. The schematic below shows a MAX759 voltage converter which can be used if a Vout pin is not provided by the GLCD.<BR>
86
<B>Wiring Diagram:</B> <A HREF="mbhp/mbhp_lcd_ks0108_mios8.pdf">mbhp_lcd_ks0108_mios8.pdf</A> and <A HREF="mbhp/mbhp_lcd_64240a_mios8.pdf">mbhp_lcd_64240a_mios8.pdf</A> (Displaytech 64240A)</TD>
87
<B>Wiring Diagram:</B> <A HREF="mbhp/mbhp_lcd_ks0108_mios8.pdf">mbhp_lcd_ks0108_mios8.pdf</A> and <A HREF="mbhp/mbhp_lcd_64240a_mios8.pdf">mbhp_lcd_64240a_mios8.pdf</A> (Displaytech 64240A)</TD>
87
      <TD CLASS=TABCOLOR2><B>MIOS32 Connectivity:</B> the bus interface is similar to a character based LCD, but every 128x64 block needs a CS (chip select) line which is available at J5C by default, but can optionally be changed to other pins.<BR>
88
      <TD CLASS=TABCOLOR2><B>MIOS32 Connectivity:</B> the bus interface is similar to a character based LCD, but every 128x64 block needs a CS (chip select) line which is available at J28 (MBHP_CORE_STM32: J5C).<BR>
88
All graphical LCDs require a negative voltage to drive the Liquid Crystal cells. Some LCDs provide an inbuild DC converter, some others not. The schematic below shows a MAX759 voltage converter which can be used if a Vout pin is not provided by the GLCD.<BR>
89
All graphical LCDs require a negative voltage to drive the Liquid Crystal cells. Some LCDs provide an inbuild DC converter, some others not. The schematic below shows a MAX759 voltage converter which can be used if a Vout pin is not provided by the GLCD.<BR>
89
<B>Wiring Diagram:</B> <A HREF="mbhp/mbhp_lcd_ks0108_mios32.pdf">mbhp_lcd_ks0108_mios32.pdf</A></TD>
90
<B>Wiring Diagram:</B> <A HREF="mbhp/mbhp_lcd_ks0108_mios32.pdf">mbhp_lcd_ks0108_mios32.pdf</A></TD>
90
    </TR>
91
    </TR>
91
    <TR>
92
    <TR>
92
      <TD COLSPAN=2 CLASS=TABCOLOR2><B>Photos:</B> <A HREF="mbhp/mbhp_glcd0_photo.jpg">follow this link</A><BR>or see the MIDIbox LC in Action: <A HREF="midibox_lc/mblc_lcd_page1.jpg">[1]</A> <A HREF="midibox_lc/mblc_lcd_page2.jpg">[2]</A> <A HREF="midibox_lc/mblc_lcd_page3.jpg">[3]</A></TD>
93
      <TD COLSPAN=2 CLASS=TABCOLOR2><B>Photos:</B> <A HREF="mbhp/mbhp_glcd0_photo.jpg">follow this link</A><BR>or see the MIDIbox LC in Action: <A HREF="midibox_lc/mblc_lcd_page1.jpg">[1]</A> <A HREF="midibox_lc/mblc_lcd_page2.jpg">[2]</A> <A HREF="midibox_lc/mblc_lcd_page3.jpg">[3]</A></TD>
Line 143... Line 144...
143
    <TR>
144
    <TR>
144
      <TD COLSPAN=2 CLASS=TABCOLOR1><FONT SIZE=3><STRONG>DOGM and DOGL Displays</STRONG></FONT></TD>
145
      <TD COLSPAN=2 CLASS=TABCOLOR1><FONT SIZE=3><STRONG>DOGM and DOGL Displays</STRONG></FONT></TD>
145
    </TR>
146
    </TR>
146
    <TR>
147
    <TR>
147
      <TD COLSPAN=2 CLASS=TABCOLOR2>This 128x64 graphical LCD allows to add a touchscreen panel which can be scanned with two ADC channels as demonstrated in <A HREF="http://svnmios.midibox.org/listing.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Ftutorials%2F022_glcd_touchpanel%2F">this application</A>.<BR>
148
      <TD COLSPAN=2 CLASS=TABCOLOR2>This 128x64 graphical LCD allows to add a touchscreen panel which can be scanned with two ADC channels as demonstrated in <A HREF="http://svnmios.midibox.org/listing.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Ftutorials%2F022_glcd_touchpanel%2F">this application</A>.<BR>
148
Up to 8 DOGM displays can be (natively) controlled by a MIOS32 based core, they are accessed via 4-wire serial interface.</TD>
149
Up to 8 DOGM displays can be (natively) controlled by a MIOS32 based core, they are accessed via 4-wire serial interface.<BR>
-
 
150
<A HREF="midibox_ng_manual_lcd.html">MIDIbox NG</A> even supports up to 64 SSD1306 displays!<BR>
-
 
151
<B>IMPORTANT:</B> please power-cycle the MBHP_CORE_LPC17 module whenever the lcd_type has been changed, otherwise the GLCD won't be initialized correctly (it has to be reset!)</TD>
149
    </TR>
152
    </TR>
150
    <TR>
153
    <TR>
151
      <TD CLASS=TABCOLOR2><B>MIOS8 Wiring Diagrams:</B> not adapted (yet)</TD>
154
      <TD CLASS=TABCOLOR2><B>MIOS8 Wiring Diagrams:</B> not adapted (yet)</TD>
152
      <TD CLASS=TABCOLOR2><B>MIOS32 Wiring Diagrams:</B> <A HREF="mbhp/mbhp_lcd_dogm128_mios32.pdf">mbhp_lcd_dogm128_mios32.pdf</A></TD>
155
      <TD CLASS=TABCOLOR2><B>MIOS32 Wiring Diagrams:</B> <A HREF="mbhp/mbhp_lcd_dogm128_mios32.pdf">mbhp_lcd_dogm128_mios32.pdf</A></TD>
153
    </TR>
156
    </TR>
Line 158... Line 161...
158
    <TR>
161
    <TR>
159
      <TD COLSPAN=2 CLASS=TABCOLOR1><FONT SIZE=3><STRONG>SSD1306 based OLED</STRONG></FONT></TD>
162
      <TD COLSPAN=2 CLASS=TABCOLOR1><FONT SIZE=3><STRONG>SSD1306 based OLED</STRONG></FONT></TD>
160
    </TR>
163
    </TR>
161
    <TR>
164
    <TR>
162
      <TD COLSPAN=2 CLASS=TABCOLOR2>The tiny OLEDs which are available today provide high resolution and nice looking colours for an attractive price of typically 4..8 EUR. If you are searching for OLEDs, take care that they come with a breakout board, because soldering the pads on a veroboard is almost impossible, and some caps for the integrated DCDC to generate higher voltages have to be added as well... no fun! I found an attractive OLED/PCB combination from Alientek at <A HREF="http://item.taobao.com/item.htm?id=6239945991" TARGET="_blank">Taobao</A> which is recommendable. Buy it via <A HREF="http://www.yoybuy.com" TARGET="_blank">Yoybuy</A> for easier handling if you don't like shops w/o english translations.<BR>
165
      <TD COLSPAN=2 CLASS=TABCOLOR2>The tiny OLEDs which are available today provide high resolution and nice looking colours for an attractive price of typically 4..8 EUR. If you are searching for OLEDs, take care that they come with a breakout board, because soldering the pads on a veroboard is almost impossible, and some caps for the integrated DCDC to generate higher voltages have to be added as well... no fun! I found an attractive OLED/PCB combination from Alientek at <A HREF="http://item.taobao.com/item.htm?id=6239945991" TARGET="_blank">Taobao</A> which is recommendable. Buy it via <A HREF="http://www.yoybuy.com" TARGET="_blank">Yoybuy</A> for easier handling if you don't like shops w/o english translations.<BR>
163
Up to 8 OLEDs can be (natively) controlled by a MIOS32 based core, they are accessed via 4-wire serial interface.</TD>
166
Up to 8 OLEDs can be (natively) controlled by a MIOS32 based core, they are accessed via 4-wire serial interface.<BR>
-
 
167
<A HREF="midibox_ng_manual_lcd.html">MIDIbox NG</A> even supports up to 64 SSD1306 displays!<BR>
-
 
168
<B>IMPORTANT:</B> please power-cycle the MBHP_CORE_LPC17 module whenever the lcd_type has been changed, otherwise the GLCD won't be initialized correctly (it has to be reset!)</TD>
164
    </TR>
169
    </TR>
165
    <TR>
170
    <TR>
166
      <TD CLASS=TABCOLOR2><B>MIOS8 Wiring Diagrams:</B> not adapted (yet)</TD>
171
      <TD CLASS=TABCOLOR2><B>MIOS8 Wiring Diagrams:</B> not adapted (yet)</TD>
167
      <TD CLASS=TABCOLOR2><B>MIOS32 Wiring Diagrams:</B> <A HREF="mbhp/mbhp_lcd_ssd1306_single_mios32.pdf">mbhp_lcd_ssd1306_single_mios32.pdf</A>, <A HREF="mbhp/mbhp_lcd_ssd1306_multiple_mios32.pdf">mbhp_lcd_ssd1306_multiple_mios32.pdf</A></TD>
172
      <TD CLASS=TABCOLOR2><B>MIOS32 Wiring Diagrams:</B> <A HREF="mbhp/mbhp_lcd_ssd1306_single_mios32.pdf">mbhp_lcd_ssd1306_single_mios32.pdf</A>, <A HREF="mbhp/mbhp_lcd_ssd1306_multiple_mios32.pdf">mbhp_lcd_ssd1306_multiple_mios32.pdf</A></TD>
168
    </TR>
173
    </TR>