3 Attachment(s)
Pretty cool display and development board PIC_LCD3310
I ran across the Olimex PIC_LCD3310 some time ago, but since the PIC18F67J50 was a bit greek to me, and had more pins than I could solder, I did not read much more. Later I was searching for PIC18 chips that had USB, and two serial ports, the PIC18f67j50 and a couple other J devices kept coming up.
http://www.picbasic.co.uk/forum/atta...3&d=1237607147http://www.picbasic.co.uk/forum/atta...2&d=1237607129
I searched for the board a couple different ways on the forum, but I don't see anyone talking about it. It is a pretty good deal for $50.95 at sparkfun.com. (I am not affiliated with them in any way). Some graphic LCD's alone cost more than this! The board has:
Description: PIC-LCD3310 is development board with a PIC18F67J50, NOKIA 3310 BW 84x48 pixels LCD, joystick, and 3 axis accelerometer. The board has a SD-MMC connector and all PIC ports available on two extension connectors. It's perfect for motion datalogging and analysis. The USB port allows for logged data to be easily transferred to PC.
Features:
* MCU: PIC18F67J50 with 128KB Flash memory, 3904B SRAM, 10-bit 8-channel ADC module, PWM, SPI, I2C, EUSART, 2 Analog comparators and 8/16-bit Timer/Counters
* ICSP connector for PIC-ICD2/PIC-ICD2-POCKET debugger/programmer
* LCD NOKIA 3310 black/white 84x48 pixels
* Two status LEDs
* Joystick with LEFT, RIGHT, UP, DOWN and CENTER action
* mini USB connector
* SD/MMC card connector
* MMA7260 3 axis accelerometer
* Extension connectors for all PIC ports
* +4.5–6.0V battery connector
* PCB: FR-4, 1.5 mm (0,062''), soldermask, silkscreen component print
I bought a couple to program. Their pins stick out the bottom for easy breadboarding, or making your own pcb adapter.
3 Attachment(s)
Hello World! example for Olimex board
Here is an include file from the forum that has been modified/updated to work with the Olimex PIC_LCD3310 PIC18F67J50 board. Also included an example.
Here is the LCD_3310ex.txt:
Code:
DEFINE OSC 48
include "modedefs.bas"
include "LCD_3310.pbp"
start:
pause 100
gosub Lcd_Init 'Initialize LCD
gosub Lcd_Clear 'Clear contents of screen
pause 50
PosX = 30 'position 30 of 84 in the x direction
PosY = 1 'row 1 (of 0-5)
gosub Lcd_GotoXY
Lcd_Data = "H"
gosub Lcd_SendChar
Lcd_Data = "E"
gosub Lcd_SendChar
Lcd_Data = "L"
gosub Lcd_SendChar
Lcd_Data = "L"
gosub Lcd_SendChar
Lcd_Data = "O"
gosub Lcd_SendChar
PosX = 30 'position 30 of 84 in the x direction
PosY = 4 'row 4 (of 0 to 5)
gosub Lcd_GotoXY
Lcd_Data = "W"
gosub Lcd_SendChar
Lcd_Data = "O"
gosub Lcd_SendChar
Lcd_Data = "R"
gosub Lcd_SendChar
Lcd_Data = "L"
gosub Lcd_SendChar
Lcd_Data = "D"
gosub Lcd_SendChar
Lcd_Data = "!"
gosub Lcd_SendChar
pause 5000
end