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.

how to make counter in the picmicrocontroller ?

Status
Not open for further replies.

waq

Newbie level 1
Joined
Aug 20, 2009
Messages
0
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,280
Location
pakistan
Activity points
1,294
micr controler

how can i make counter in the picmicrocontroller
 

doraemon

Super Moderator
Staff member
Joined
Jun 21, 2009
Messages
1,068
Helped
273
Reputation
554
Reaction score
248
Trophy points
1,343
Location
Japan
Activity points
10,597
Re: micr controller

Hello!

You should be more accurate. What do you want to count?

A counter can be as simple as this:

while(i--);

Now if you tell us that you want to count eggs, peanuts, bottles of anything,
that's possible, but it's a bit more complicated.
And what do you want to do with the value you get? Display it?

Dora.

waq said:
how can i make counter in the picmicrocontroller

Added after 29 seconds:

Hello!

You should be more accurate. What do you want to count?

A counter can be as simple as this:

while(i--);

Now if you tell us that you want to count eggs, peanuts, bottles of anything,
that's possible, but it's a bit more complicated.
And what do you want to do with the value you get? Display it?

Dora.

waq said:
how can i make counter in the picmicrocontroller
 

Prabakaran

Full Member level 3
Joined
Jan 22, 2007
Messages
168
Helped
9
Reputation
18
Reaction score
3
Trophy points
1,298
Location
Chennai(India)
Activity points
2,273
micr controller

Dear waq

U can Program the Micro controller to count the bags etc. Configure the Controller as Timer/ Counter Mode and in Interrupt mode u can calculate the Count no o pulses incoming

Regards
Prabakaran
 

sk_008

Newbie level 6
Joined
Aug 30, 2009
Messages
12
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Pakistan
Activity points
1,379
Re: micr controller

Hello waq!
Which pic are u using? Ive got a counter program for pic16f877. If you want it just drop you email address and ill send it to you.
Good Luck!
 

ark5230

Advanced Member level 3
Joined
Jun 29, 2009
Messages
858
Helped
163
Reputation
324
Reaction score
140
Trophy points
1,323
Location
India
Activity points
6,143
micr controller

sk_008
If you dont mind, mark a copy to me. I am handling a similar issue, it will be helpful. My e-mail is ark5230(at)yahoo(dot)com
Regards
Raoof
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top