June 30th
Keep the motor running
There are many ways to get motor control working.
Methods include closing a circuit, reducing voltage or current, Pulse Width Modulation and so on and so forth.
With servo motors, these accept PWM signals which are sent to a motor with feedback sensor.
This is very easily done with the MSP430 series of microcontrollers.
The important point is feedback, without appropriate feedback it is not possible to control a motor accurately with the necessary assurity.
This is where a product such as the Texas Instruments DRV8312-C2-Kit can be used to accomplish such control.
http://www.ti.com/tool/drv8312-c2-kit
It utilises a C2000 series Piccolo Microcontroller with a DRV8312 to obtain accurate motor control.
The Microcontroller used is a F28035 Piccolo DIMM module. This module has an onboard RS232 to USB interface.
This facility can be used to send commands and receive information from the DRV8312-C2-Kit.
For the project we don't need a USB interface so the RS232 pins will be access directly allowing the CC3300 to command it albeit at a higher abstracted level.
It also necessitates that SW1 on the DIMM is in the open position.
Please note that doing we are not using the onboard isolation capability.
Retaining isolation can be accomplished with modification to the Piccolo Control DIMM.
The actions would be;
1. Leave SW1 - in the on position,
2. Emulate SW1 but on the isolated side of U6 ISO7221
Break the trace between U5 MAX3221 Pin 9 [RxOut] and U6
3. Connect to Pin 6 of U6 for access to TX signal
4. Connect to Pin7 of U6 for access to RX signal
(This has the side effect that if you do hook up the USB to a PC, the PC monitor the TX line activity. - But beware because now the PC is not isolated from whatever is connected to the ISO7221.
Or you can provide your own isolation circuit as desired.
Please do use the above link to access all of the documentation and resources about this product.