Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| pmod:pmodoledrgb:reference-manual [2021/05/14 23:03] – ↷ Page moved from reference:pmod:pmodoledrgb:reference-manual to pmod:pmodoledrgb:reference-manual Arthur Brown | pmod:pmodoledrgb:reference-manual [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 48: | Line 48: | ||
| As a graphical display interface, users may light up any individual pixel on the %%OLED%%, display predefined characters, or even load bitmaps onto the screen. Each pixel can be set to one of the 65,535 colors that are available in a 5-6-5 bit RGB format. The %%OLED%% display has a specific power-up and power-down sequence to ensure the longevity of the device. | As a graphical display interface, users may light up any individual pixel on the %%OLED%%, display predefined characters, or even load bitmaps onto the screen. Each pixel can be set to one of the 65,535 colors that are available in a 5-6-5 bit RGB format. The %%OLED%% display has a specific power-up and power-down sequence to ensure the longevity of the device. | ||
| - | There are two field-effect transistors (FETs) that control the display’s two power supplies. The VCCEN control ([[:reference:pmod: | + | There are two field-effect transistors (FETs) that control the display’s two power supplies. The VCCEN control ([[pmod: |
| ==== Quick Data Acquisition ==== | ==== Quick Data Acquisition ==== | ||
| **Power-on Sequence** where the bytes provided are in the format of (command, data) | **Power-on Sequence** where the bytes provided are in the format of (command, data) | ||
| - | - Bring Data/ | + | - Bring Data/ |
| - | - Bring the Reset pin ([[:reference:pmod: | + | - Bring the Reset pin ([[pmod: |
| - | - Bring the Vcc Enable ([[:reference:pmod: | + | - Bring the Vcc Enable ([[pmod: |
| - | - Bring Pmod Enable ([[:reference:pmod: | + | - Bring Pmod Enable ([[pmod: |
| - | - Bring RES ([[:reference:pmod: | + | - Bring RES ([[pmod: |
| - Wait for the reset operation to complete; this takes a maximum of 3 us to complete. | - Wait for the reset operation to complete; this takes a maximum of 3 us to complete. | ||
| - Enable the driver IC to accept commands by sending the unlock command over SPI (0xFD, 0x12).\\ < | - Enable the driver IC to accept commands by sending the unlock command over SPI (0xFD, 0x12).\\ < | ||
| Line 81: | Line 81: | ||
| - Disable Scrolling.\\ < | - Disable Scrolling.\\ < | ||
| - Clear the screen by sending the clear command and the dimensions of the window to clear (top column, top row, bottom column, bottom row).\\ < | - Clear the screen by sending the clear command and the dimensions of the window to clear (top column, top row, bottom column, bottom row).\\ < | ||
| - | - Bring VCCEN ([[:reference:pmod: | + | - Bring VCCEN ([[pmod: |
| - Turn the display on.\\ < | - Turn the display on.\\ < | ||
| - Wait at least 100 ms before further operation. | - Wait at least 100 ms before further operation. | ||
| Line 90: | Line 90: | ||
| **Power-off Sequence** | **Power-off Sequence** | ||
| - Turn the display off.\\ < | - Turn the display off.\\ < | ||
| - | - Bring Vcc Enable ([[:reference:pmod: | + | - Bring Vcc Enable ([[pmod: |
| - Delay 400 ms. | - Delay 400 ms. | ||
| - Disconnect the positive voltage supply to the Pmod OLEDrgb. | - Disconnect the positive voltage supply to the Pmod OLEDrgb. | ||
| **Graphics funtions** | **Graphics funtions** | ||
| - | The SSD1331 display controller comes with a number of predefined graphical commands for the user to take advantage of and Digilent provides a few additional graphics functions (such as the displaying of ASCII characters and setting the cursor location) for use. The commands and associated parameters for the predefined functions are nicely outlined on pages 28 through 33 of the [[https:// | + | The SSD1331 display controller comes with a number of predefined graphical commands for the user to take advantage of and Digilent provides a few additional graphics functions (such as the displaying of ASCII characters and setting the cursor location) for use. The commands and associated parameters for the predefined functions are nicely outlined on pages 28 through 33 of the [[https:// |
| ==== Pinout Description Table ==== | ==== Pinout Description Table ==== | ||
| Line 107: | Line 107: | ||
| | 6 | VCC | | 6 | VCC | ||
| - | Although users are welcome to create their own interface code for the Pmod OLEDrgb if they so desire, pre-constructed libraries that provide functions for initializing the display and rendering simple text and graphics onto the screen exist. They are available on the %%Pmod OLEDrgb%% [[reference:pmod: | + | Although users are welcome to create their own interface code for the Pmod OLEDrgb if they so desire, pre-constructed libraries that provide functions for initializing the display and rendering simple text and graphics onto the screen exist. They are available on the %%Pmod OLEDrgb%% [[pmod: |
| Any external power applied to the %%Pmod OLEDrgb%% must be within 2.7V and 3.5V; however, it is recommended that Pmod is operated at 3.3V. | Any external power applied to the %%Pmod OLEDrgb%% must be within 2.7V and 3.5V; however, it is recommended that Pmod is operated at 3.3V. | ||
| Line 117: | Line 117: | ||
| The schematics of the %%Pmod OLEDrgb%% are available {{reference: | The schematics of the %%Pmod OLEDrgb%% are available {{reference: | ||
| - | Example code demonstrating how to get information from the %%Pmod OLEDrgb%% can be found [[reference:pmod:pmodOLEDrgb: | + | Example code demonstrating how to get information from the %%Pmod OLEDrgb%% can be found [[pmod:pmodoledrgb: |
| If you have any questions or comments about the %%Pmod OLEDrgb%%, feel free to post them under the appropriate section (" | If you have any questions or comments about the %%Pmod OLEDrgb%%, feel free to post them under the appropriate section (" | ||

