Question

Design a system (hardware and software) which consists of a servo motor and two sun detector and pic 16f877a to track the sun

Using pic 16f877a and Micro C languge

0 0
Add a comment Improve this question Transcribed image text
Answer #1

osci OSC2 D XI - 1 C2 MI Į DKI Fat Amefur RBO ARAO PRAI Servo motore АК un MELR MCLR R2 U1 Vad// system consist of servo motor and two sun detector and to track the sun unsigned int adcvalue, adcvaluel, adctemp; // Routvoid Rotation 90() //90 Degree unsigned int i; for(i=0;i<50; i++) PORTB.BO = 1; Delay_us (1500); // pulse of 1500us PORTB.BOadcvalue = ADC_Read(0); // Get 10-bit results of AD conversion ShowADC (adcvalue); Delay_ms(300); adcvalue1 = ADC_Read(1); //

Add a comment
Know the answer?
Add Answer to:
Using pic 16f877a and Micro C languge Design a system (hardware and software) which consists of...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT