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.
Thx for the reply guys. Its a simple one. Just to grab and place back an object at the other end. As I know PWM is needed to control servo, and PIC16F877A does have a PWM pin. The precision is not an issue.
I attach a picture here which looks like the robot i planned.
Hi as per topic, im trying to make a robot with Microchip PIC16F877A with 5DOF.
This will be my first robot and in fact first time playing with servo motor.
It came to my mind if it possible to control robotic arm with this PIC? Should I get a different PIC?
Im still in the research stage, any...
Hi tahmid,
I did it this way and tested. Yes it worked. Thanks alot.
interrupt isr(void)
{
while(1)
{
while(!TMR2IF)
TMR2IF=0;
count++;
if(count==125)
{
count=0;
}
}
}
Now able to use the push buttons. However 1 thing noticeable is the time is keep on running while I press...
Thanks for the reply tahmid.
As I know, aftr interrupt is invoked, the ISR will be executed.
So the ISR is the programme that we want to run after halting the current operation.
Then, why do we want to set it short?
Pls correct me if im wrong. Thanks.
Hi all,
My 1st post asking help/guidance. Thanks for the opportunity.
Can anyone identify any mistakes in this coding? Its for dig clock with 16f877a.
interrupt isr(void)
{
if(INTF)
{
while(!RB0)
{
while(RB0)
{
if (!RB7)
{
while(!RB7);
if(Hour<12)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.