Sonsivri

Electronics => Projects => Topic started by: samir_1982 on January 21, 2009, 06:17:47 06:17



Title: disply 4/7 segment with 2pin(7 segment 2 serial)
Post by: samir_1982 on January 21, 2009, 06:17:47 06:17
Hi
This project is very good for 7-segment.only 2pin use for 4/7 segment disply

source code
http://kavirkit.com/kavir/2007/projects/avr/Serial%20LCD-7-SEGMENT%2074164.v2.0.zip
password:www.kavirelectronic.ir
other version
http://kavirelectronic.ir/fa/modules.php?name=Content&pa=showpage&pid=4
 ;)


Title: Re: disply 4/7 segment with 2pin(7 segment 2 serial)
Post by: LEAS on January 24, 2009, 11:00:20 23:00
74164 shift register + 16x2 LCD 44780 based. 4-bit interface, but 1 pin of 8031 MCU needed. Proteus simulating picture and files. I program thise, but not build in reality.


Title: Re: disply 4/7 segment with 2pin(7 segment 2 serial)
Post by: LEAS on January 25, 2009, 07:06:27 07:06
Mega8+Ds1820+WinAVR C compiler to thise theme. It's my experiments.


Title: Re: disply 4/7 segment with 2pin(7 segment 2 serial)
Post by: samir_1982 on January 25, 2009, 08:02:00 08:02
Atmega8+3wire +Easy function+win avr
void LCDclr(void);
void LCDhome(void);
void LCDshiftRight(uint8_t);
void LCDshiftLeft(uint8_t);
void LCDcursorOn(void);
void LCDcursorOnBlink(void);
void LCDcursorOFF(void);
void LCDblank(void);
void LCDvisible(void);
void LCDcursorLeft(uint8_t);
void LCDcursorRight(uint8_t);
********
void sendByteToRegister(uint8_t);
void LCDenableCommand(void);
void LCDdisableCommand(void);
void LCDenableData(void);
void LCDdisableData(void);
void LCDsendChar(uint8_t); //forms data ready to send to 74HC164
void LCDsendCommand(uint8_t); //forms data ready to send to 74HC164
void LCDinit(void);
// write a byte to the LCD character generator or display RAM
void LCDwritebyte(uint8_t, uint8_t);
void LCDdefinechar(const uint8_t* ,uint8_t);
void LCDclr(void);
void LCDhome(void);
void LCDstring(uint8_t*, uint8_t);

void LCDGotoXY(uint8_t, uint8_t);
void LCDprintData(u32,u32);
void LCDcursorRight(uint8_t);   //shif cursor right by n
void CopyStringtoLCD(const uint8_t*, uint8_t, uint8_t);//copies flash string to LCD at x,y

void LCDshiftRight(uint8_t);   //shift by n characters Right
void LCDshiftLeft(uint8_t);   //shift by n characters Left
void LCDcursorOn(void);      //Underline cursor ON
void LCDcursorOnBlink(void);   //Underline blinking cursor ON
void LCDcursorOFF(void);      //Cursor OFF
void LCDblank(void);         //LCD blank but not cleared
void LCDvisible(void);         //LCD visible
void LCDcursorLeft(uint8_t);   //Shift cursor left by n
void LCDcursorRight(uint8_t);   //shif cursor right by n
------------------------------------------------------------------
http://kavirelectronic.ir/winavr/source/lcd3w/LCD3WIRE.zip


Title: Re: disply 4/7 segment with 2pin(7 segment 2 serial)
Post by: aamir on May 11, 2010, 03:40:08 15:40
Please upload it again


Title: Re: disply 4/7 segment with 2pin(7 segment 2 serial)
Post by: 9thwonder on June 24, 2010, 01:16:43 13:16
kindly upload 7 segment file again as there is some error in opening.
thanx


Title: Re: disply 4/7 segment with 2pin(7 segment 2 serial)
Post by: pushycat on June 24, 2010, 03:53:40 15:53
Please upload it again
Here it is: Re-uploaded
http://ifile.it/y49jkmt
http://ifile.it/y49jkmt/LCD3WIRE.zip
kindly upload 7 segment file again as there is some error in opening.
thanx
Yes...both the file links in the first post has some errors. Cannot view/download.