Search found 3 matches

by dbh
Thu Apr 15, 2010 8:23 pm
Forum: Flowcode V4
Topic: Weird behaviour PIC18F2550
Replies: 3
Views: 2904

Re: Weird behaviour PIC18F2550

I overlooked the algorithm again and again and suddenly I saw that a small part was missing.
The routine that detects wheel rotation was not being called. This resulted in an infinite loop in the program and in an increasing motor speed.
So after all it was just an error in my program. But thanks ...
by dbh
Thu Apr 15, 2010 11:09 am
Forum: Flowcode V4
Topic: Weird behaviour PIC18F2550
Replies: 3
Views: 2904

Re: Weird behaviour PIC18F2550

Thanks,

I indeed had some problems with the power supply in the beginning, since the motors are connected to the same supply. That problem got solved by adding some large electrolytic capacitors (14700uF) and some smaller capacitors (10nF and 100nF). So the power supply should be ok.

I'll try to ...
by dbh
Wed Apr 14, 2010 8:22 pm
Forum: Flowcode V4
Topic: Weird behaviour PIC18F2550
Replies: 3
Views: 2904

Weird behaviour PIC18F2550

Hi,

I'm working on a project in which a robot has to navigate through a maze. I'm writing the program in steps, which went quite well the past weeks. Now the program is getting bigger and bigger and the PIC is beginning to behave weird. I noted that sometimes a piece of code is not being executed ...