Discussion in "Project Help" started by    kent    Oct 18, 2006.
Wed Oct 18 2006, 05:17 AM
#1
hi to all!!! i really nid some help, im KENT a graduating student. we were assign to make a 8051 microcontroller but we dont know what kind of microcontroller project we do. can u help us? any kind of project which is not too expensive hope u will help me. any kind of simple micorcontroller project. hope u will help me... (
Wed Oct 18 2006, 01:13 PM
#2
tell me what kind of simple project you are looking for..
simple.. normal or what.. i cna just provide you the idea.. to reach your destination. Implementing that idea.. will be your responsibility. yes, sure.. i will help u whenever u need.
Wed Oct 18 2006, 03:51 PM
#3
hi kent see before starting microcontroller based projects
u should first select the controller,as controller needs programmer ,u can use simple 4051 or 2051 controller to implement simple ideas but they requires programmeris it assassible to u,let us know then we will give u some help...
Thu Nov 09 2006, 09:38 AM
#4
Hi Rickey and all member!
I have the question: "I write program for 24C04 with 89S52, when ACK signal is master device (89S52) generate or slave device (24C04) generate???????"
I wrte program is:

//writing with I2C bus
void i2c_send(unsigned char d){
unsigned char i;//dem bit gui di
SCL=0;
for (i=0;i<=7;i++){
if (d&0x80)
SDA=1;
else SDA=0;
d<<=1;
_nop_();
SCL=1;
delay(i2c_delay);
SCL=0;
_nop_();
_nop_();
_nop_();
_nop_();
_nop_();
_nop_();
}
//send ACK
SDA=0;
_nop_();
SCL=1;
delay(i2c_delay);
SCL=0;
_nop_();
}

//read with I2C bus
unsigned char i2c_read(void){
unsigned char temp=0x00;
char i;
SDA=1;//thiet lap la cong vao
SCL=0;
for(i=0;i<=7;i++){
SCL=1;
_nop_();
_nop_();
temp = temp | SDA;
_nop_();
_nop_();
temp<<=1;
SCL=0;
_nop_();
_nop_();
_nop_();
_nop_();
_nop_();
_nop_();
}
//send ACK
SDA=0;
_nop_();
SCL=1;
delay(i2c_delay);
SCL=0;
_nop_();
}
:mad Rickey or some one repair this program for me? Thank you! all member can mail for me with address mail: [email protected] :mad :rose


Thu Nov 09 2006, 12:01 PM
#5
when controller sends data.. then it make the SDA line high and reciever pulls it down and acknowledges is.

where as.. when controller recieve data.. it make the SDA line low assuming the sender has made it high. so this way controller acknowledges.
so.. who so ever is recieving wil send the ack bit.
whether its a master or slave.
and in your program you forgot to add delay.. for write cycle. see the datasheet for more help
 Binu like this.
Thu May 31 2007, 10:08 AM
#6
Visit my website for free 8051 microcontroller based projects

Post content blocked, please see the advertising forum for more information.



[ Edited Thu May 31 2007, 02:15 PM ]
Thu May 31 2007, 12:53 PM
#7
thank you for sharing Binu
thats really nice. if you don't mind, can i host your projects on my website? will be helpful for others too and sure.. will be under your name

PS: your ASP server is very slow and some kind of error is coming in Microsoft Jet Database. Hope you will fix it soon. just told so that will help you.

Get Social

Information

Powered by e107 Forum System

Conversation

Sat May 15 2021, 11:47 AM
Derek Wolcott
Geometric Energy Corporation announced the dogecoin-funded mission on Sunday, with DOGE-1 representing a 40 kilogram cube satellite flying as a payload on a Falcon 9 rocket.
Thu May 13 2021, 07:18 PM
Rufus
Pretty section of content. I just stumbled upon your weblog and in accession capital to assert that I get actually enjoyed account your blog posts. Any way I will be subscribing to your augment and even I achievement you access consistently quickly. https://mkfinstitute.com Trisha Trisha
Wed May 12 2021, 01:23 PM
Jed Roan
Now you can promote your site all over the internet for FREE: http://www3.listofsitesthatacceptfreeads.club
Wed May 12 2021, 08:20 AM
Edgardo
If some one wants to be updated with most recent technologies afterward he must be visit this web page and be up to date every day. annual credit report https://creditscoresetf.com
Wed May 12 2021, 06:11 AM
Laurinda
Great website. A lot of useful information here. I'm sending it to some pals ans also sharing in delicious. And of course, thanks on your effort! annual credit report https://creditscorecheckn.com

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 97, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123