Jump to content
43oh

43oh Nokia 1202 LCD Display BoosterPack


Recommended Posts

  • Replies 74
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Figured I'd post here for the hell of it ... After several days of trials & tribulations, I got the 1202 to show up reliably on the Hercules TMS570 LaunchPad using FreeRTOS--I actually wrote a dri

Ok I d/l'ed Eagle to view the schematic and .brd file, took a pic of the boosterpack and annotated it for quick reference:   Not too sure about the LCD reset line, it's attached to both P2.1 and t

Traditionally wouldn't you connect the mcu pin to the transistor base and the LED cathode to the collector (opposite of what is in the schematic)?  Unless there is a trick I don't know about transisto

Posted Images

@@reaper7 It's an analog solution to what would otherwise need a digital solution.

From what I understand, using analog dividers doesn't as require much de-bounce processing.

And if you're trying to make as many GPIO available as possible, it makes sense to use the ADC when you can.

 

Now, my disclaimer is that I do not know much about anything.

What I'm saying makes sense to me within the boundaries of what I know.

I could be wrong.

Link to post
Share on other sites

Sorry to disappoint you guys :), but my switches are not analog. Those RCs you see are for hardware denouncing. I didn't want to use analog for 2 reasons. It's easier for a beginner (target user for my board) to use digital IO and I you can press 2 switches at the same time.

 

If you want to use analog way, here are the values for a 5 switch setup, 4k7 from Vcc, 5 resistors to GND: 22k, 10k, 4k7, 2k2, 1k2.

This will give you Vcc/GND: 1/4, 1/3, 1/2, 2/3, 4/5

Link to post
Share on other sites
  • 2 weeks later...

I just received 10 LCDs for $10.5 shipped. If anyone is interested here is the link to the seller:

http://www.aliexpress.com/item/High-Quality-LCD-for-Nokia-1202-Free-Shipping/955830561.html

exactly 3 weeks from the payment to receiving goods. These LCDs are the ones with vias on flex.

Man these things are just like the nRF24L01+, dirt cheap & getting cheaper!!

Link to post
Share on other sites
  • 2 weeks later...

I just received 10 LCDs for $10.5 shipped. If anyone is interested here is the link to the seller:

http://www.aliexpress.com/item/High-Quality-LCD-for-Nokia-1202-Free-Shipping/955830561.html

exactly 3 weeks from the payment to receiving goods. These LCDs are the ones with vias on flex.

 

Has anyone used these with success? I have a batch, but they do not work as nice as my other batch.

Not sure if it's my config, reset, or else.

 

EDIT:

Found the answer, it was reset.

My first batch of LCDs works great with 30ms RC reset. The second batch doesn't.

I had to get rid of RC and connect reset to a pin. 

Reset sequence that works for both is: reset low, 100ms delay, reset high, 100ms delay, init LCD.

Link to post
Share on other sites

Figured I'd post here for the hell of it ... After several days of trials & tribulations, I got the 1202 to show up reliably on the Hercules TMS570 LaunchPad using FreeRTOS--I actually wrote a driver "task" that handles requests via a queue, so it can receive graphics or text from multiple threads.

 

The journey included finding a major omission/bug in HALCoGen's FreeRTOS implementation (several functions missing from the MPU port, which is funny cause the Hercules has an MPU and uses it by default!), learning some uglyness about the HALCoGen SPI functions' behavior and also discovering that TI interprets CPHA (SPI clock phase) opposite everyone else on the Hercules platform, just like they do on the MSP430 USCI platform.

 

Without further adieu, we have 0x55 written to all memory buffers (horizontal lines):

post-15991-0-00451900-1376510224_thumb.jpg

 

Code needs a lot of cleanup, plus text management & fonts aren't implemented (just writing direct graphics... I want the driver task to understand & manage text) so I'll wait a while before releasing.

 

The client task which generated the horizontal lines looks like this:

void LCD_test(void *pvParameters)
{
	Herc1202Handle lcd;
	uint8_t *scratchbuf;
	long i;

	scratchbuf = (uint8_t*)pvPortMalloc(16*6*9);
	lcd = Herc1202_Open();
	Herc1202_Invert(lcd, 1, scratchbuf);
	for (i=0; i < 16*6*9; i++) {
		scratchbuf[i] = 0x55;
	}
	Herc1202_Write(lcd, scratchbuf, 16*6*9);
	while(1)
		taskYIELD();
}
Link to post
Share on other sites
  • 1 month later...

edit: Uhm, accidentally put CS on P2.7 instead of P2.5, let me fix that ... Fixed.

 

Minor update on this boosterpack-

 

After reading through TI's new official Build-Your-Own-BoosterPack rules, http://www.ti.com/byob ... I've remapped some of the pins for a new v2.3 release of the boosterpack design:

 

SPI CS = P2.5 ("SPI_CS_Display")

Backlight LED transistor gate = P2.6 (PWM Output)

Pushbuttons = P2.0, P2.3 (GPIO (!))

Alternate RESET line goes to P1.3 (GPIO (!)), though it still connects to the LP's RESET line by default.

SPI MOSI connects to the USCI MOSI pin (P1.7) by default, not USI (P1.6).

 

With these changes, per the BYOB page, I can properly include the LaunchPad rocket logo and I added "remappable" to it to indicate as such.

 

post-15991-0-68074900-1379957434_thumb.png

 

post-15991-0-17057400-1379957443_thumb.png

 

Schematic: DipTrace Schematic - Nokia1202_BPak_v2_3.pdf

Elecrow/Seeed/ITead gerbers: Elecrow_Nokia1202_v2_3_5x5.zip

OSHpark gerbers: OSH_Nokia1202_v2_3.zip

DipTrace Design Files (.dch schematic, .dip PCB design): Nokia1202_BPak_v2_3_DipTraceDesignFiles.zip

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...