USB & serial LCD backpack

From DP

(Difference between revisions)
Jump to: navigation , search
(Overview)
(Download)
 
(47 intermediate revisions not shown)
Line 1: Line 1:
-
{{Prototype
+
[[Image:pic-lcd-backpack-cover2.jpg]]
-
|codename=PIC LCD backpack
+
 
 +
The USB and Serial LCD backpack connects HD44780-compatible character LCD screens to your USB port.
 +
 
 +
'''[[USB and serial enabled LCD backpack design overview|Read about the design]]'''.
 +
 
 +
'''[http://www.seeedstudio.com/depot/usb-and-serial-enabled-lcd-backpack-p-908.html?cPath=163_169 Available for $16.95] at Seeed Studio.'''
 +
 
 +
==Features==
 +
{{Project
 +
|manufacturing=Shipping
|status=Test production
|status=Test production
-
|devthread=http://dangerousprototypes.com/forum/viewtopic.php?f=19&t=825&hilit=pic+lcd+backpack&start=150#p12032
+
|forum=http://dangerousprototypes.com/forum/viewforum.php?f=60
 +
|purchase=http://www.seeedstudio.com/depot/usb-and-serial-enabled-lcd-backpack-p-908.html?cPath=163_169
 +
|price=$16.95
}}
}}
-
[http://dangerousprototypes.com/store/index.php?main_page=product_info&cPath=8&products_id=23 Prototype PCBs are available in the free PCB drawer].
+
Small character LCDs can show new mail stats, system performance, news feeds and more. The USB and Serial LCD backpack connects HD44780-compatible character LCD screens to your USB port. It has a few nice features that set it apart from the serial-only LCD backpacks available for the same price:
-
 
+
-
This is a USB and serial backpack for simple HD44780 character LCD screens. It has a few nice features that set it apart from the serial-only LCD backpacks at SparkFun and Adafruit:
+
* USB and serial control of characters LCDs
* USB and serial control of characters LCDs
-
* Supported in common software (LCD Smartie) as 'matrix orbital' display
+
* Supported in common software (LCD Smartie, LCD Proc) as 'matrix orbital' display
-
* Adjust contrast and backlight from software
+
* Adjust backlight from software, optionally contrast
* Couple extra pins for buttons
* Couple extra pins for buttons
* 500mA fuse
* 500mA fuse
* USB upgradable
* USB upgradable
-
 
-
We like this project, but we probably won't produce it because HD44780 LCDs aren't very popular anymore. If you'd like a PCB (and plan to build it) please let us know in the comments.
 
-
 
-
[[PIC LCD backpack|Slightly more on the wiki]]. [http://code.google.com/p/dangerous-prototypes-open-hardware/source/browse/#svn%2Ftrunk%2FLCD_Backpacks%2FHD44780-USB-PIC Firmware and hardware] are in SVN.
 
-
 
-
 
-
 
-
==Overview==
 
-
 
-
History and related links
 
-
 
-
==Download==
 
-
*[http://code.google.com/p/dangerous-prototypes-open-hardware/downloads/detail?name=LCD_Backpack_PIC_HD44780.v1a.zip LCD Backpack PIC HD44780.package.v1a]
 
-
*[http://code.google.com/p/dangerous-prototypes-open-hardware/downloads/detail?name=LCD_Backpack_PIC_HD44780.source.r 1121.v1a.zip LCD Backpack PIC HD44780.source.r1121.v1a]
 
-
*[http://code.google.com/p/dangerous-prototypes-open-hardware/source/browse/#svn%2Ftrunk%2FLCD_Backpack_PIC_HD44780 Browse LCD Backpack PIC HD44780 SVN]
 
-
 
-
==Prototypes==
 
-
 
-
[[Image:pic-lcd-backpackv2_.jpg|490px]]
 
==Hardware==
==Hardware==
 +
[[Image:pic-lcd-backpackv4_.jpg|250px]]
 +
*[[USB and serial enabled LCD backpack design overview]]
-
[[Image:cct-LCD-Backpack-PIC-HD44780-v1a.png|480px]]
+
==How-to==
 +
*[[USB & Serial LCD: Attach a display|Attach an LCD]]
 +
*[[USB and serial LCD backpack setup for LCD Smartie|Setup LCD Smartie]]
 +
*[[USB & Serial LCD backlight and contrast adjustment|Backlight and contrast adjustment]]
-
Click for a full size schematic image. Schematic and PCB were designed with the freeware version of [http://www.cadsoft.de Cadsoft Eagle], download the latest project files from our [http://code.google.com/p/dangerous-prototypes-open-hardware/ Google Code project page].
+
==Software==
-
 
+
[[Image:pic-lcd-backpack-cover.jpg|250px]]
-
===Microcontroller section===
+
*[http://lcdsmartie.sourceforge.net/ LCD Smartie] (Windows)
-
 
+
*[http://lcdproc.org/ LCDproc] (Linux, FreeBSD, OpenBSD, NetBSD, Darwin and Solaris)
-
[[Image:project-section-diagram-490.jpg]]
+
-
 
+
-
*Microcontroller
+
-
*Power and decoupling
+
-
*Oscillator
+
-
*Programming and reset support
+
-
*LEDs
+
-
 
+
-
===Another part of it===
+
-
 
+
-
[[Image:project-section-diagram-490.jpg]]
+
-
 
+
-
==PCB==
+
-
 
+
-
[[Image:PIC-lcd-backpack-pcb.jpg]]
+
-
 
+
-
We used the freeware version of [http://www.cadsoft.de/ Cadsoft Eagle] to make the schematic and PCB. Download the latest designs and firmware from the project [http://code.google.com/p/dangerous-prototypes-open-hardware/ Google Code page].
+
-
 
+
-
*PCB and placement notes
+
-
*soldering advise
+
-
 
+
-
===Partslist===
+
-
[[image:PIC-lcd-backpack-HD44780-v1a-brd.png|480px]]
+
-
 
+
-
{| class="wikitable" border="1"
+
-
|+ PIC HD44780 LCD backpack
+
-
!Part!!Quantity!!Value!!Package
+
-
|-
+
-
|BACKLIGHT||1||100R||B25P
+
-
|-
+
-
|C1,C2||2||27pf||C0805
+
-
|-
+
-
|C3||1||220nF||C0805
+
-
|-
+
-
|C4||1||0.1uF||C0805
+
-
|-
+
-
|CONTRAST||1||10K||B25P
+
-
|-
+
-
|D1||1||BAS16J||SOD2514X100N
+
-
|-
+
-
|F1||1||500mA||RCL_L1812
+
-
|-
+
-
|IC1||1||PIC18F2550_28W||SO28W
+
-
|-
+
-
|ICSP||1||||1X05
+
-
|-
+
-
|J1||1||USBSMD||USB-MINIB
+
-
|-
+
-
|LCD||1||||1X16
+
-
|-
+
-
|Q1||1||20MHz||HC49UP
+
-
|-
+
-
|R1||1||10k||R0805
+
-
|-
+
-
|R2||1||1K||M0805
+
-
|-
+
-
|RB4,RB5||2||||1X01
+
-
|-
+
-
|SJ1||1||||SJ_2
+
-
|-
+
-
|T1||1||BC818||SOT23-BEC
+
-
|-
+
-
|UART,USB||2||||1X04
+
-
|}
+
==Firmware==
==Firmware==
 +
*[[USB and serial enabled LCD backpack firmware updates]]
-
The firmware is written in C and compiled with the free [http://www.microchip.com/c18 Microchip C18 compiler]. You can download the latest files from our [http://code.google.com/p/dangerous-prototypes-open-hardware/ Google Code project page].
+
==Development resources==
-
*Operating modes
+
The controller implements a (subset) of the serial interface used by common Matrix Orbital Serial LCDs.
-
*extra software required
+
*[[USB and serial LCD backpack commands]]
-
We used the [http://www.microchip.com/usb Microchip USB stack] to run the 18F2550 as a virtual serial port. Microchip's code is open but not redistributable. If you want to compile the source, download the stack from Microchip, then drag the source code into the install directory. See the detailed instructions in the [[Compiling_PIC_projects |PIC compiler how-to]].
+
==Download==
 +
*[https://github.com/DangerousPrototypes/Downloads/blob/master/LCD_Backpack_PIC_HD44780.package.v1a.zip LCD Backpack PIC HD44780.package.v1a]
 +
*[https://github.com/DangerousPrototypes/Downloads/blob/master/LCD_Backpack_PIC_HD44780.source.r1121.v1a.zip LCD Backpack PIC HD44780.source.r1121.v1a]
 +
*[https://github.com/DangerousPrototypes/LCD_Backpack_PIC_HD44780 Browse LCD Backpack PIC HD44780 GitHub]
-
===.inf installation===
+
==Resources==
-
 
+
* [http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010280 PIC 18F2550 datasheet]
-
The virtual serial port (CDC) is an open standard, it should work on any modern operating system.  
+
* [http://ww1.microchip.com/downloads/en/DeviceDoc/39500a.pdf PIC 18F reference manual] [PDF!]
-
 
+
* [http://www.microchip.com/c18 Microchip C18 C compiler]
-
You don't need a driver, but you will need a .inf file to tell Windows how to use the device. A suitable .inf is included in the project archive.
+
* [http://www.microchip.com/usb Microchip USB stack]
-
 
+
* [http://www.diolan.com/pic/bootloader.html Diolan USB PIC bootloader]
-
===Commands===
+
* [[PIC LCD Backpack manufacturing resources]]
-
 
+
-
The controller implements a (subset) of the serial interface provided by Matrix Orbital Serial LCDs.  
+
-
 
+
-
To send a command, first send the START_COMMAND byte (0xFE), followed by the command (with any parameters), followed by the END_COMMAND byte (0x9A).  
+
-
 
+
-
For example, to turn on the backlight, send 0xFE, 0x42, 0x00, 0x9A.
+
-
 
+
-
{| class="wikitable" border="1"
+
-
|-
+
-
! Name !! Decimal !! Hex !! Parameters
+
-
|-
+
-
| MATRIX_ORBITAL_COMMAND || 254 || 0xFE || None
+
-
|-
+
-
| BACKLIGHT_ON || 66 || 0x42 || 1 (minutes, 00=forever)
+
-
|-
+
-
| BACKLIGHT_OFF || 70 || 0x46 || None
+
-
|-
+
-
| CLEAR || 88 || 0x58 || None
+
-
|-
+
-
| HOME || 72 || 0x48 || None
+
-
|-
+
-
| POSITION || 71 || 0x47 || 2 (col, row)
+
-
|-
+
-
| UNDERLINE_CURSOR_ON || 74 || 0x4A || None
+
-
|-
+
-
| UNDERLINE_CURSOR_OFF || 75 || 0x4B || None
+
-
|-
+
-
| BLOCK_CURSOR_ON || 83 || 0x53 || None
+
-
|-
+
-
| BLOCK_CURSOR_OFF || 84 || 0x54 || None
+
-
|-
+
-
| BACKLIGHT_BRIGHTNESS || 152 || 0x98 || 1 (brightness)
+
-
|-
+
-
| CUSTOM_CHARACTER || 78 || 0x4E || 9 (character #, 8-byte bitmap)
+
-
|-
+
-
| NETWORK_CONFIG || 153 || 0x99 || None
+
-
|-
+
-
| END_COMMAND || 154 || 0x9A || None
+
-
|}
+
-
 
+
-
===Bootloader===
+
-
[[Image:project-pcb.png|490px]]
+
-
 
+
-
Source and license
+
-
 
+
-
*[[Firmware upgrade instructions]]
+
-
 
+
-
 
+
-
==Taking it further==
+
-
 
+
-
Here's some ideas for the future:
+
-
*List
+
-
 
+
-
We'll post the most recent firmware updates on our blog. You can also join the discussion in the [forum].
+
-
 
+
-
==Get one!==
+
-
 
+
-
You can [get one for $00], including worldwide shipping.
+
-
 
+
-
Your purchases at Seeed Studio keep the open source project coming, we sincerely appreciate your support!
+
-
 
+
-
==Links==
+
-
*[[PIC LCD Backpack manufacturing resources]]
+
==License==
==License==
 +
*Hardware: CC-BY-SA
 +
*Software: CC-BY-SA
 +
*Firmware: CC-BY-SA
 +
*Bootloader: GPL
-
 
+
[[Category: Projects]]
-
 
+
-
 
+
-
 
+
[[Category: PIC LCD Backpack]]
[[Category: PIC LCD Backpack]]

Latest revision as of 08:22, 15 June 2016

Pic-lcd-backpack-cover2.jpg

The USB and Serial LCD backpack connects HD44780-compatible character LCD screens to your USB port.

Read about the design.

Available for $16.95 at Seeed Studio.

Contents

Features

Project Summary
Name: USB & serial LCD backpack
Buy it: Get one for $16.95 at Seeed Studio
Price: $16.95
Status: Test production
Manufacturing: Shipping
Forum: USB & serial LCD backpack Forum

Small character LCDs can show new mail stats, system performance, news feeds and more. The USB and Serial LCD backpack connects HD44780-compatible character LCD screens to your USB port. It has a few nice features that set it apart from the serial-only LCD backpacks available for the same price:

  • USB and serial control of characters LCDs
  • Supported in common software (LCD Smartie, LCD Proc) as 'matrix orbital' display
  • Adjust backlight from software, optionally contrast
  • Couple extra pins for buttons
  • 500mA fuse
  • USB upgradable

Hardware

Pic-lcd-backpackv4 .jpg

How-to

Software

Pic-lcd-backpack-cover.jpg

Firmware

Development resources

The controller implements a (subset) of the serial interface used by common Matrix Orbital Serial LCDs.

Download

Resources

License

  • Hardware: CC-BY-SA
  • Software: CC-BY-SA
  • Firmware: CC-BY-SA
  • Bootloader: GPL