Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 08, 2016, 01:06:23 01:06


Login with username, password and session length


Pages: [1]
Print
Author Topic: req: basic programmes for 8051  (Read 4315 times)
0 Members and 1 Guest are viewing this topic.
fire
Junior Member
**
 Muted
Offline Offline

Posts: 54

Thank You
-Given: 28
-Receive: 23


« on: November 05, 2007, 08:24:39 08:24 »


 plz give me the following basic programmes
1. display a strings in lcd (LCD interface)
2. Analog to Digital conversion
3. Serial communication
4. keypad scanning

 i am beginner in microcontrollers( starting with 8051)
 i expect help from others...
Logged
abbas1707
Junior Member
**
Offline Offline

Posts: 76

Thank You
-Given: 15
-Receive: 25



WWW
« Reply #1 on: November 05, 2007, 11:22:39 11:22 »

which language u r using??? if it is c ,i can help Wink Wink
Logged

A Thousand Miles Journey Starts With a Single Step
ktl
V.I.P
Newbie
*****
Offline Offline

Posts: 32

Thank You
-Given: 6
-Receive: 18


« Reply #2 on: November 05, 2007, 11:54:09 11:54 »

i think he uses assembly.
some basic books always have that kind of examples.
Logged
pomidor
Junior Member
**
 Muted
Offline Offline

Posts: 48

Thank You
-Given: 36
-Receive: 90


« Reply #3 on: November 05, 2007, 11:12:21 23:12 »

http://www.8052.com/codelib.phtml
Logged
fire
Junior Member
**
 Muted
Offline Offline

Posts: 54

Thank You
-Given: 28
-Receive: 23


« Reply #4 on: November 06, 2007, 09:36:05 09:36 »

 i would like to know the program in both assembly and c language
plz help...
Logged
ktl
V.I.P
Newbie
*****
Offline Offline

Posts: 32

Thank You
-Given: 6
-Receive: 18


« Reply #5 on: November 06, 2007, 12:22:49 12:22 »

check this..  Wink

http://www.sonsivri.com/forum/index.php?topic=6237.0
Logged
sam_des
Active Member
***
Offline Offline

Posts: 221

Thank You
-Given: 47
-Receive: 111


« Reply #6 on: November 06, 2007, 06:24:45 18:24 »

Hello Fire,

Are you a complete beginner for micro ?
If so, it will be foolish to jump & write programs you asked for. It will be far better for you start with simple programs first like - LED blinking etc.

Also read the Original Intel 8051 handbook.It has wealth info & newer datasheets simply donot mention these points as 8051 is so well known. But 8051 architecture has some quirks you better understand now. There are couple of introductory texts on MCS-51, read them.

Just try some basic programs first.
If you get stuck, many in this forum will be glad to help.(including me Grin).

regards
sam_des
Logged

Never be afraid to do something new. Remember Amateurs built the Ark, Professionals built the Titanic !
abbas1707
Junior Member
**
Offline Offline

Posts: 76

Thank You
-Given: 15
-Receive: 25



WWW
« Reply #7 on: November 07, 2007, 04:53:37 16:53 »

yes first start with led blinking program if u r a begginer.
if u face any problem , we r here to help u.
then when u complete first step ,we will move to the next one.
in this way u will learn in a better style Grin
Logged

A Thousand Miles Journey Starts With a Single Step
kukumar
Junior Member
**
Offline Offline

Posts: 42

Thank You
-Given: 21
-Receive: 28


« Reply #8 on: November 15, 2007, 11:36:22 11:36 »

some basic programs:

http://rapidshare.com/files/69850058/Keil_C51code.rar.html

pass: kukumar
Logged
chen
Junior Member
**
Offline Offline

Posts: 59

Thank You
-Given: 2
-Receive: 5



« Reply #9 on: December 30, 2007, 06:52:00 18:52 »

hello fire...

try this book

"he 8051 Microcontroller and Embedded Systems using Assembly and C"
second edition

by
Muhammad Ali Mazidi
Janice Gillispie Mazidi
Rolin D. McKinlay

you will get everything you need in this book from a led blinking program to lcd, a/d, serial and keypad programs in both assembly and C

chen...
Logged
verde321
Junior Member
**
Offline Offline

Posts: 93

Thank You
-Given: 79
-Receive: 39



« Reply #10 on: December 30, 2007, 09:46:43 21:46 »

Fire, if you're begginer, I think that a good start point is use basic compiler Bascom 8051, for example; for display a message on 2X16 LCD using 8051 microcontrollers the routine is very simple:

Config Lcdpin = Pin , Db4 = P1.4 , Db5 = P1.5 , Db6 = P1.6 , Db7 = P1.7 , E = P1.3 , Rs = P1.2 'Pines to use
Config Lcd = 16 * 2     'Type of LCD:  2 lines for 16 characters

Cls                                                           'clear the LCD display
Locate 1 , 6                                              'Set cursor on first line and 6th position
Lcd "Hello"                                                'Message to display
Locate 2 , 3                                             'Set cursor on second line and 3th position
Lcd "sonsivri.com"                                     'Message to display
end                                                       'End of program

You can simulate the circuit using proteus.

Proteus and Bascom 8051 software are in this great forum for download it.

Best regards.

 Cheesy Cheesy Cheesy Cheesy Cheesy Cheesy Cheesy Cheesy Cheesy Cheesy Cheesy Cheesy Cheesy Cheesy
Logged
MAXPAYNE
Hero Member
*****
Offline Offline

Posts: 604

Thank You
-Given: 320
-Receive: 313


It's a little funny......


« Reply #11 on: January 02, 2008, 06:39:52 06:39 »

hello fire...

try this book

"he 8051 Microcontroller and Embedded Systems using Assembly and C"
second edition

by
Muhammad Ali Mazidi
Janice Gillispie Mazidi
Rolin D. McKinlay

you will get everything you need in this book from a led blinking program to lcd, a/d, serial and keypad programs in both assembly and C

chen...

If someone have this book please upload. I got only first 4 chapters......
Logged

Whats the Craziest Project u have done lately...?
sndey85
Inactive

Offline Offline

Posts: 5

Thank You
-Given: 6
-Receive: 0


« Reply #12 on: October 12, 2010, 07:28:31 19:28 »

hello fire...

try this book

"The 8051 Microcontroller and Embedded Systems using Assembly and C"
second edition

by
Muhammad Ali Mazidi
Janice Gillispie Mazidi
Rolin D. McKinlay

you will get everything you need in this book from a led blinking program to lcd, a/d, serial and keypad programs in both assembly and C

chen...

Could you please help me to find this book. Upload it to rapidshare if possible.
Thanks Smiley
Logged
tokyo_emb
Junior Member
**
Offline Offline

Posts: 91

Thank You
-Given: 144
-Receive: 44


« Reply #13 on: January 22, 2011, 06:58:14 18:58 »

The 8051 Microcontroller and Embedded Systems Using Assembly and C-2nd-ed
here is the link
http://rapidshare.com/files/443975765/The_8051_Microcontroller_2nd-ed.rar

    this book is really good with details for biggeners
Logged
forter
Active Member
***
Offline Offline

Posts: 117

Thank You
-Given: 449
-Receive: 21


« Reply #14 on: January 25, 2011, 06:45:57 06:45 »

Hi, tokyo_emb!
Your link is not working,
Logged
tokyo_emb
Junior Member
**
Offline Offline

Posts: 91

Thank You
-Given: 144
-Receive: 44


« Reply #15 on: January 25, 2011, 04:11:51 16:11 »

this is wired that rapid deleted it in a short time....here it is uploaded again.....

http://rapidshare.com/files/444471611/The_8051_Microcontroller_and_Embedded_Systems_Using_Assembly_and_C-2nd-ed.rar
Logged
nikhilele
Junior Member
**
Offline Offline

Posts: 83

Thank You
-Given: 2
-Receive: 22


WWW
« Reply #16 on: July 25, 2011, 10:31:28 22:31 »

www.8052.com has almost all codes
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC