Difference between revisions of "SPI LCD"

From BitWizard WIKI
Jump to: navigation, search
(Redirected page to LCD)
 
Line 1: Line 1:
[[File:SPI_LCD.jpg|thumb|300px|alt=The SPI_LCD board|The SPI_LCD board]]
+
#REDIRECT [[LCD]]
 
 
This is the documentation page for the SPI_LCD board by changing a solder-jumper.
 
 
 
== Overview ==
 
 
 
 
 
== Assembly instructions ==
 
 
 
The board comes fully assembled.
 
 
 
=== Possible Configurations ===
 
 
 
The board can also be configured for I2C operation.
 
 
 
The second SPI port can be used as an ICSP connector.
 
 
 
== External resources ==
 
 
 
 
 
=== Datasheets ===
 
The fets:
 
http://www.irf.com/product-info/datasheets/data/irlml2244pbf.pdf
 
 
 
The CPU:
 
http://www.atmel.com/dyn/resources/prod_documents/doc8006.pdf
 
 
 
== Additional software ==
 
 
 
 
 
=== Related projects ===
 
 
 
 
 
== Pinout ==
 
 
 
The SPI_LCD board has two SPI connectors. [[SPI connector pinout]]
 
 
 
=== LEDs ===
 
 
 
none.
 
 
 
== Jumper settings ==
 
 
 
There are two solder jumpers. The one between the two 6-pin SPI connectors controls the function of the SPI connector furthest from the CPU. <br>
 
 
 
In the default configuration the second SPI connector is a daisy-chain connector for the SPI bus. <br>
 
In the other configuration, the second SPI connector is the ICSP connector. <br>
 
 
 
The second solder jumper connects "rs" and "vo" of the LCD together (and to one pin of the attiny44 controller on the board) in the default configuration. <br>
 
In the other configuration, the pin used for SPI slave select can be used as the RS pin. This is used in the I2C configuration. <br>
 
 
 
There is a 10 mil (very small) PCB trace in the solder jumper in the default configuration. You'll have to cut this trace to move the solderjumper to the other position. If you later decide you want the other configuration again, some solder-wick can be used to remove the solder from one position and then it can be added to the other position.
 
 
 
== Programming ==
 
 
 
To display things on the LCD, you need to send things over the SPI bus to the PCB. The [[spi_lcd 1.3_protocol|protocol is explained here]]. If you have an older version, 1.2, [[spi_lcd_1.2_protocol|the protocol is explained here]]
 
 
 
An example application is called "demo_lcd" and is available at [[http://www.bitwizard.nl/software the bitwizard software download directory]] . This appplication was written for the ftdi_atmega board from bitwizard, but can also be used on an arduino. But you'll have to download the hex to your board by hand after compiling.
 
 
 
For arduino, a sample PDE is available, called ardemo_lcd.pde, also at [[http://www.bitwizard.nl/software the bitwizard software download directory]] .
 
 
 
== The software ==
 
 
 
 
 
== Future hardware enhancements ==
 
 
 
 
 
== Future software enhancements ==
 
 
 
* Lock the address. (require a sequence of commands to change the address).
 
* Allow setting of the current eeprom address.
 
* Allow reading/writing of the eeprom.
 
 
 
== Changelog ==
 
 
 
 
 
=== 1.2 ===
 
* Initial public release
 

Latest revision as of 15:51, 21 May 2012

Redirect to: