caramoan tour package

caramoan tour package

Author Topic: Nokia 3310 LCD and Zilog Z8F0423  (Read 7129 times)

Offline clarkent

  • Lead Acid Battery
  • *******
  • Posts: 505
  • Pogi/Ganda Points: 20
  • Gender: Male
  • iehs
Re: Nokia 3310 LCD and Zilog Z8F0423
« Reply #20 on: March 29, 2009, 12:15:14 PM »
OT:

walang 3310 LCD ang proteus na gamit ko e. pwede po bang pahingi ng link para makapagdownload ako nito.TIA
if you think you can or think you can't, you're probably right -h.ford

Philippine Electronics Forum

Re: Nokia 3310 LCD and Zilog Z8F0423
« Reply #20 on: March 29, 2009, 12:15:14 PM »

Offline Embedded

  • Size C Battery
  • *****
  • Posts: 161
  • Pogi/Ganda Points: 8
  • Gender: Male
  • The only thing that is permanent is change.
    • Visit Me...
Re: Nokia 3310 LCD and Zilog Z8F0423
« Reply #21 on: March 30, 2009, 10:39:55 AM »
ayus ito sir YUS!!! SPI o bit bang gamit mo?
meron ako API library nito for zilog encore.

Philippine Electronics Forum

Re: Nokia 3310 LCD and Zilog Z8F0423
« Reply #21 on: March 30, 2009, 10:39:55 AM »

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: Nokia 3310 LCD and Zilog Z8F0423
« Reply #22 on: March 30, 2009, 12:28:53 PM »
...SPI o bit bang gamit mo?
..
bit bangbro banging lang sir.. :D
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Philippine Electronics Forum

Re: Nokia 3310 LCD and Zilog Z8F0423
« Reply #22 on: March 30, 2009, 12:28:53 PM »

Offline Embedded

  • Size C Battery
  • *****
  • Posts: 161
  • Pogi/Ganda Points: 8
  • Gender: Male
  • The only thing that is permanent is change.
    • Visit Me...
Re: Nokia 3310 LCD and Zilog Z8F0423
« Reply #23 on: March 30, 2009, 01:05:06 PM »
bit bangbro banging lang sir.. :D

ah ok, same lang din. SPI or Bitbang, parehas meron library.

Philippine Electronics Forum

Re: Nokia 3310 LCD and Zilog Z8F0423
« Reply #23 on: March 30, 2009, 01:05:06 PM »

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: Nokia 3310 LCD and Zilog Z8F0423
« Reply #24 on: March 30, 2009, 11:33:06 PM »
kunwari lang muna.. :D


'di pa maayos ang paggamit ko ng ADC..
mukhang sa opamp/hardware ang problem ko.. :(
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Philippine Electronics Forum

Re: Nokia 3310 LCD and Zilog Z8F0423
« Reply #24 on: March 30, 2009, 11:33:06 PM »

Offline beginner wan

  • Diesel Generator
  • *
  • Posts: 1451
  • Pogi/Ganda Points: 46
  • Gender: Male
  • Think Positive! Matutupad yang dream mo!
    • [im]Duino
Re: Nokia 3310 LCD and Zilog Z8F0423
« Reply #25 on: March 30, 2009, 11:35:29 PM »
pambihira sir yus! ang tindi mo.. enge naman ng kahit konting kasipagan oh.. ;D
i;0.?QrEpM?4DEZZ]bkH{w@F<38.Jq@92Ds3KPQj60?EA7U\3M<A84J|AI.H
R@>&?Ej,@;5H)o::7KE/:?QcXf?gX'39=,Z_Q[eYXc

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: Nokia 3310 LCD and Zilog Z8F0423
« Reply #26 on: April 03, 2009, 08:45:56 PM »
ayus, nabuo ko rin sa wakas ang function para gumawa ng vertical line,
given given 2 points (y1 & y2) lying on the same column x.

Code: [Select]
void lcd_vertical_line (char x, char y1, char y2)
{
char i, temp, line1, line2, data;
if( (x>83) || (y1>47) || (y2>47) ) return; //exit if out of range
if(y1>y2)
{
temp = y1;
y1 = y2; //swap variables
y2 = temp;
}
line1 = y1>>3; //divide by 8
line2 = y2>>3;
for(i=line1; i<=line2; i++)
{
data = 0xff;
lcd_gotoxy(x,i);
if(i==line1)
{
data = 0;
temp = 8 - (y1 % 8);
while(temp--) data |= (0x80>>temp);
}
if(i==line2)
{
temp = 7 - (y2 % 8);
while(temp--) data &= ~(0x80>>temp);
}
lcd_send(data, LCD_TDATA);
}
}
*magagamit ito sa "oscilloscope" project pang-interpolate ng dalawang points(i.e. "connect the dots")

two other useful functions:
Code: [Select]
void erase_column(char x)
{
char line;
if(x>83) return;
for(line=0; line<6; line++)
{
lcd_gotoxy(x, line);
lcd_send(0x00, LCD_TDATA);
}
}
void lcd_pixel (char x, char y)
{
char data;
if ((x > 83) || (y > 47)) return;
data = 0x01<<(y%8);
lcd_gotoxy(x, (y>>3));
lcd_send(data, LCD_TDATA);
}
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline jepo

  • CR2032 Battery
  • **
  • Posts: 20
  • Pogi/Ganda Points: 0
Re: Nokia 3310 LCD and Zilog Z8F0423
« Reply #27 on: April 29, 2010, 09:38:20 PM »
pwede po bang gamitin yung DIY board ni sir paranz para dito tanong lang tnx

Offline ask4m0re

  • LR44 Battery
  • *
  • Posts: 4
  • Pogi/Ganda Points: 0
  • Gender: Male
  • urdaman
Re: Nokia 3310 LCD and Zilog Z8F0423
« Reply #28 on: August 20, 2010, 09:41:39 AM »
sir yus,, pde po magask kunwari po ang ggmitin ko is LCD ng 1100 compatible po kea po xa d2? mgkaiba po kc ung size ng screen...

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: Nokia 3310 LCD and Zilog Z8F0423
« Reply #29 on: August 20, 2010, 12:21:27 PM »
@ask4m0re
magkaiba po na controller/driver yung lcd ng 1100 sa lcd ng 3310.
pero may nakagawa na ng driver (code) para dyan sa 1100 lcd, PIC ata yung ginamit nya.
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Philippine Electronics Forum

Re: Nokia 3310 LCD and Zilog Z8F0423
« Reply #29 on: August 20, 2010, 12:21:27 PM »

 

Privacy Policy

Contact Us: elabph@yahoo.com