Thursday, April 28, 2016

Crawler Brainz

OK, got the Brainz installed.  The processor I used on this one is a PIC18F1788.  Its mission is speed control, and telemetry.  I need to be able to send it commands, and receive data from its sensor.  The speed control function is Pulse Width Modulation.  The PIC has a Capture, and Compare Module in it.  With the Capture, and Control Module you can setup a Pulse Width Modulation scheme to vary the Voltage that the motor gets.  Then to tell the Modulator what to do there is a potentiometer analog input.  This lets you send voltage information to the PIC, which it uses to vary the Duty Cycle of the Modulator, in turn changing the Voltage to the Motor, and changing the speed of The Crawler.

No comments:

Post a Comment