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

Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
tayyab
Mon Jun 23 2008, 08:51AM
 User Offline
Registered Member #8482
Joined: Wed Jun 18 2008, 06:55AM

Posts: 1
Thanked 0 times in 0 post
i want to make a speed and distence meter for a boat by using microcontroller.
a speed signal is generated by a sensor which has the frequency equals to the 10 times of engine shaft ratation. eg if engine shaft is rotating 60 times in a second then sesor gives the signal of 600 Hz. sensor also generate a refresh pulse in a second with pulse width of 0.33 sec.
the question is that how to programme the microcontroller for counts these pulses. thanks



tayyab
Back to top


pdi33
Mon Jun 23 2008, 10:49AM

 User Offline
Registered Member #1329
Joined: Mon Jun 04 2007, 09:28AM

Posts: 548
Thanked 109 times in 105 posts
use the internal counter of the 89c51. here u have to just input the pulses from the speed sensor (assuming they are at +5V level) to the T0 pin of the uC. Check the TMOD and TCON registers of the 89c51 in its datasheet for the description of how to use the internal timers of 8051 in counter mode.
If the refresh pulse u mentioned is another output of the sensor, then connect that input to the external interrupt of the 89c51 so that it can be processed in the respective interrupt service routine.

* inspired to develop,developing to inspire *
Back to top


grace
Tue Jun 24 2008, 03:57PM
 User Offline
Registered Member #8595
Joined: Tue Jun 24 2008, 03:51PM

Posts: 1
Thanked 0 times in 0 post
hello can anybody help me find a book regarding mobile robotics..

" i wish i had the courage to tell the world that i am falling for you"
Back to top


pdi33
Tue Jun 24 2008, 08:53PM

 User Offline
Registered Member #1329
Joined: Mon Jun 04 2007, 09:28AM

Posts: 548
Thanked 109 times in 105 posts
hi grace,
please stick to the subject of the thread. Post ur doubt on a new thread in the appropriate section of the forum.
here is a link to the appropriate place for ur doubt:(e-books & tutorials section)
http://www.8051projects.net/forum18.html


[ Edited Tue Jun 24 2008, 08:56PM ]

* inspired to develop,developing to inspire *
Back to top


 

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