My going with dumb pump design it means more pins being used on the NXP. However we still have plenty to play with. P5-P30 on the LPC1768 and P5-P36 on the LPC11U24. The LPC1768 has three UART serial connections so I shall reserve two of those for the sensors. So to keep it to common PINS for some reason, P17-20 used for the flow restricted pumps and P5-P7 for the peristaltic pumps.
I made a start on the code at http://mbed.org/
For a quick test, I used this code
#include "mbed.h" DigitalOut myled(LED1); DigitalOut a1(p5); int main() { while(1) { myled = 1; a1 = 1; wait(0.5); myled = 0; a1 = 0; wait(0.5); } }to strobe the motor.
The results were satisfying
No comments:
Post a Comment