Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

help in 8051 microcontroller

Status
Not open for further replies.

mohanrajkumar

Newbie level 2
Joined
Oct 27, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
Please tell me how to approach and solve the following program. I am new to 8051 microcontroller

" Write a C program to control and use the RTC chip 8583.
First program to set date and time to a known value.
The second program to read time and date and display on the
LCD module. Each of these programs are invoked depending
On the value in the dip switch. "

Thank you for your help in advance
 

Basically,
You have to write a code/ driver for I2C bus connected to RTC chip to read and control the chip.
Once read you can display it on LCD.
LCD code you can directly get it form Ayla Book.
Other thinks you must try bye your own.
Try it. Best of Luck.
 

do you know I2C. if yes then write the code to load the values to the hh.mm,ss date, month, etc all registers, and then in an infinite loop keep reading.

connect SDA, SCL pins to microcontroller and write the i2c code. if you are not aware of i2c , you cannot develop the code. there are already rtc programs shaerd in the forum, you can search for that.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top