8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Go to page  1 [2] 3
Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
Luqman
Wed Aug 08 2007, 03:52AM
 User Offline
Registered Member #1962
Joined: Wed Jul 04 2007, 03:13AM

Posts: 19
Thanked 0 times in 0 posts
Y does 9306 Serial EEPROM is interfaced with controllers? Is it good to interfaced it with PIC controllers?

Back to top


Ajay
Wed Aug 08 2007, 04:26AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3533
Thanked 646 times in 610 posts
well selecting an EEPROM for your project is usually depends on your requirement, and also second point is the compatibility. Its not mandatory that you should use only one type of EEPROM. e.g. your project need a maximum data of 2Kb to store so, there is no point for you to use an EEPROM of 8Kb or something.. i hope you understand my point. So according to need of your project you can select EEPROM.

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


Luqman
Mon Aug 20 2007, 05:12AM
 User Offline
Registered Member #1962
Joined: Wed Jul 04 2007, 03:13AM

Posts: 19
Thanked 0 times in 0 posts
hi, ajay

There is a comparator module in PIC 16F877 how can i configure it or program it to achieve system hysteresis i.e. the stability(control) in on/off a device?
Back to top


Ajay
Mon Aug 20 2007, 05:29AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3533
Thanked 646 times in 610 posts
you cannot achieve a perfect hysteresis in comparator. because minor fluctuations are always there. But i really don't know any other method to achieve hysteresis except taking averages. I have seen many projects (like digital thermometer etc.) where i have taken averages and its working pretty file. You can also define a particular limit upto which the o/p holds its stability.
e.g. define rage for a constant value.
say you want to have a value 5 for which switching is done.
so define a range. like.. from 3-7 or 4-6 as per your need and amount of fluctuation. This will help you control the switching and minor fluctuations will be neglected.

Also what you can have a high resolution comparator. That also will solve your purpose, but it will be a separate hardware.

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


Luqman
Tue Aug 21 2007, 12:07AM
 User Offline
Registered Member #1962
Joined: Wed Jul 04 2007, 03:13AM

Posts: 19
Thanked 0 times in 0 posts
would u brief me an example C code to define a specific range and amount of fluctuation.How can i get C code for digital thermometer from download section at the forum
Back to top


Ajay
Tue Aug 21 2007, 02:37AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3533
Thanked 646 times in 610 posts
I have not posted the thermometer project yet.. but i will do it. soon...
instead of just using one if statement
like
if(dat<5)
switch something
else
switch something

A range can be specified something like this..
if(dat>6)
switch something
else if(dat<4)
switch something

so this way you have specified the switching range.. instead of just switching at 5 u are actually providing +/-1 limit to the switching.
I hope you have got it..

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


Luqman
Wed Aug 22 2007, 11:21AM
 User Offline
Registered Member #1962
Joined: Wed Jul 04 2007, 03:13AM

Posts: 19
Thanked 0 times in 0 posts
i've downloaded ur code at download section for 89C4051 as RTC as it is a software based RTC instead of interfacing external RTC IC's ,but i didn't understand it completely so i want to know that from where did u conceived the idea is there any resources(like tutorial) available on the net which help me to understand the software based RTC.
Back to top


Ajay
Wed Aug 22 2007, 11:23AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3533
Thanked 646 times in 610 posts
well.. the only idea i had in mind was...
60 seconds = 1 min
60 min = 1hr
24 hr = 1 day
30/31/28 days = 1 month
12 months = 1 year

So i had this idea using a for loop!! isn't that simple?

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


Luqman
Thu Aug 23 2007, 02:31AM
 User Offline
Registered Member #1962
Joined: Wed Jul 04 2007, 03:13AM

Posts: 19
Thanked 0 times in 0 posts
i read 89C4051 as RTC and only understand few functions with the help of commenst written in the code the remaining functions i did not understand would u give details of the code in a tutorial manner as u have done it in the LCD tutorial.
Back to top


Ajay
Thu Aug 23 2007, 02:45AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3533
Thanked 646 times in 610 posts
its a biiiiggg.. code.. i cannot comment all of it... will look rubbish.. also it need time.. you can paste the part of code which u didn't understand, i will comment it here..

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


Go to page  1 [2] 3  

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems