ES2017 coursework 2

Dependencies:   PID

Fork of ES_CW2_Starter by Edward Stott

Changes

RevisionDateWhoCommit message
28:2a73c1878690 2017-03-16 david_s95 Fairly good control, quite large overshoots but settles near to setpoint. default tip
27:206f781756f9 2017-03-14 david_s95 Working quickly but still having problems with pulsating speed.
26:b9f2d6d3f40e 2017-03-11 david_s95 Stabilised motor speed by changing values of PID controller and removing unnecessary code.
25:9e6e870821d8 2017-03-11 david_s95 Meng's streamlined code.
24:4032857546f4 2017-03-10 david_s95 Motor can now sing when given a period from the command line (currently remapped R as: R100.0 gives 10kHz). Something is pulsing at about 1Hz so somewhere the microcontroller is being held up once a second.
23:d48d51e5db97 2017-03-10 david_s95 Tidied up a bit more code.
22:1c329584282b 2017-03-10 david_s95 Reverted PID to speed control and increased limits to 200.0. Also removed a few unused lines of code to tidy up.
21:3cc94df7321c 2017-03-09 mengkiang New PID input/output type.
20:1071158c2a53 2017-03-09 david_s95 Fixed uncontrollable speed, and removed some unnecessary if statements by using output variables.
19:93ca06d2e311 2017-03-09 david_s95 Something's gone wrong, it gets stuck in a loop somewhere and just accelerates as fast as it can.
18:55cd33a3e69f 2017-03-09 david_s95 Added bias point to controller.
17:9cd9f82027ca 2017-03-09 theMaO added code for spin to position function
16:372c720015ab 2017-03-09 theMaO cleaned up unused code
15:d9e50101a17e 2017-03-09 theMaO merge; maybe
14:155e9a9147d4 2017-03-09 theMaO added decode for R input
13:87ab3b008803 2017-03-09 david_s95 Sing function added.
12:8ea29b18d289 2017-03-09 david_s95 PID controller
11:1f596bf4182b 2017-03-09 david_s95 Removed some unused old functions.
10:0309d6c49f26 2017-03-09 david_s95 Added thread to calculate speed PID controller.
9:575b29cbf5e4 2017-03-09 david_s95 New motor control sequence implemented.
8:77627657da80 2017-03-02 david_s95 Quadrature encoders now working to give direction and 1 degree absolute position.
7:5932ed0bad6d 2017-03-02 david_s95 Open loop control of motor speed working.
6:4edbe75736d9 2017-03-02 david_s95 Motor speed can be controlled using serial connection in V1.2 format.
5:e5313b695302 2017-03-02 david_s95 Utter chaos, trying to get serial interrupt working but it's gone horribly. Don't bother unless you're feeling adventurous.
4:f8a9ce214db9 2017-03-02 mengkiang Added a comment to test.
3:e7133505f542 2017-03-02 david_s95 First attempt.
2:4e88faab6988 2017-02-28 estott Finalised pin assignments
1:184cb0870c04 2017-02-27 estott Added mbed library
0:de4320f74764 2017-02-17 estott Initial Commit