@3v0: My knowledge of PICs is pretty limited. Could briefly explain how the circuit looks and/or make me a quick sketch? Ill look into that cooler idea![]()
It would be an interesting way to go and you would learn a lot. But if you want to get the project finished ignore me.... On the other hand you could always upgrade it with a PIC latter.
You program the PIC to produce a PWM signal to drive the mosfets. Other then the PWN signal coming from the PIC instead of the 555 the drive part of the schematic should be the same.
A variable resistor servers as a speed selector. The PIC reads the speed selector via an AD input. The PIC also knows how fast the scotter is moving by counting shaft rotation some place in the drive. The PIC adjusts the power (changes duty cycle) to make the RPM match the speed selector. The greater the difference between the actual and desired speed the greater the change in duty cycle will be.