How do you control your motors? I am building a similar system. I also use PWM to control the speed of my motor, but it makes lot of noise. What is your PWM frequency? Any sensors for your robot? I have total of 8 IR sensor (one of each side and one at each corner), but I don't know how to write the code so that every possible combination of detection is covered. Any tips? Thanks Thomas >From: Brian Reed >Reply-To: pic microcontroller discussion list >To: PICLIST@MITVMA.MIT.EDU >Subject: Re: [PIC]: PIC16f877 >Date: Thu, 5 Apr 2001 02:26:42 -0400 > > >i need some pointers as to how to write one... > >You have hardware done but didn't say what it consists of? >An equally general answer would be "line by line" but now >I'm just being silly. ;^) > >The 877 has 2 PWM channels, perfect for speed control of >DC motors and servos or other PWM input sensing. Also a >good number of A/D inputs and I/O pins. Way too flexible to >guess your desires. > >Go to www.htsoft.com and get the PICC Complier Demo >ASAP. You'll learn a ton in the 21 days it's good for. >Look and learn from it's ASM output. > >Here's mine w/an F877 and PICC as I *hope* to navigate >the first half of the Journey Robot maze at the SME >competition this weekend... > http://www.reedonline.com/brian/robot/bedlam/ > >- Bri > > > >hello, > >does anybody has any programming experience with this PIC16f877 for >simple > >robotics use??? using "C" or assembly will be alright.. > >i need some pointers as to how to write one... > >i have all the hardware done but now it is the software that is bugging > >me.... > > > >thanks > >Henry > >-- >http://www.piclist.com#nomail Going offline? Don't AutoReply us! >email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body