CIRCUIT DIAGRAM

The following circuit is used in our ventilator where one potentio - meter is connected to Arduino Uno board analog input A2 since A0 and A1 are reserved for current sensing of channel one and two of the driver , two push button are connected to digital inputs 2 and 6 for changing the breath frequency . the I2C LCD is going to be added in the next satge and will be connected to A4 and A5 which is the I2C Bus .

Finally, the motor shield is attached on top of the Arduino Uno board and its pins are directly connected to the Arduino without any wires.

ventilator.PDF

The following is a tutorial of how to use the motor control shield without using any library

Arduino-Motor-Shield-Tutorial.pdf

BOM : BILL OF MATERIALS:

  1. Arduino Uno Board

  2. Two 10 K Ohms POT's

  3. Two tactile Push Buttons

  4. I2C LCD 4 X 20

  5. Arduino Motor Control Shield R3

  6. Some wires male to male and male to female

  7. 12 V DC motor 29 rpm 30 kg . cm torque