Arduino Based Ventilator


Video :-

Circuit Diagram :- 

Code :-

Arduino Nano :- 



Arduino NANO Version 3 is the open source smallest Embedded Development board launched by Arduino based on Atmega328 SMD Package Microcontroller. It is a Surface mount Breadboard Friendly board integrated with Mini USB Port. DC Power Jack is not available on this Board, so power can be given through Mini USB Cable. It automatically sense and switch to the higher potential source of power, there is no need for the power select jumper.

Difference between Arduino Nano and Arduino Mega

There is a considerable amount of difference between the Arduino Nano and the Arduino mega as the processor used itself is different. Arduino Mega is more powerful than an Arduino Nano in terms of speed and number of I/O pins. As you might guess the size is also bigger than an Arduino UNO. Arduino Mega is normally used for projects which require a lot of I/O pins and different Communication protocols. The technical difference between Nano and Mega is shown below.


  • Microcontroller                        Atmel ATmega328 SMD Package

  • Operating Voltage (logic level)  5 V

  • Input Voltage (recommended)  7-12 V

  • Input Voltage (limits)               6-20 V

  • Digital I/O Pins                        14 (of which 6 provide PWM output)

  • Analog Input Pins                    8

  • DC Current per I/O Pin            40 mA

  • Flash Memory                         32 KB (of which 2KB used by bootloader)

  • SRAM                                     2 KB

  • EEPROM                                 1 KB

  • Clock Speed                           16 MHz

  • Dimensions                            0.70” x 1.70”



NodeMcu :-

The core of this module is the ESP32 chip, which is scalable and adaptive. Two CPU cores can be individually controlled. The clock frequency is adjustable from 80 MHz to 240 MHz and supports RTOS.

It is a general-purpose Wi-Fi+BT+BLE MCU module.ESP-WROOM-32s The module integrates traditional Bluetooth, Bluetooth low energy and Wi-Fi. Wide range of uses: Wi-Fi supports a wide range of communication connections, as well as a direct connection to the Internet via a router; Bluetooth allows users to connect to a mobile phone or broadcast a BLE Beacon for signal detection.

The module supports data rates up to 150 Mbps and antenna output power of 20dBm for maximum wireless communication. As a result, this module has industry-leading specifications and performs well in terms of high integration, wireless transmission distance, power consumption, and network connectivity




  1. 802.11b/g/n 802.11nspeed up to 150Mbps
  2. WIFI Frequency Range 2.4GHz ~ 2.5GHz
  3. Clock frequency adjustment range from 80 MHz to 240 MHz, support for
  4. Built-in 2-channel 12-bit high-precision ADC with up to 18 channels
  5. Support UART/GPIO/ADC/DAC/SDIO/SD card/PWM/I2C/I2S interface
  6. Support multiple sleep modes, ESP32 chip sleep current is less than 5 A
  7. Embedded Lwip protocol stack
  8. Supports STA/AP/STA + AP operation mode
  9. Supports remote firmware upgrade (FOTA)
  10. General AT commands can be used quickly
  11. Support secondary development, integrated Windows, Linux development



20x4 Lcd Display :-

This is a basic 20 character by 4 line display. Interface code is freely available. You will need ~11 general I/O pins to interface to this LCD screen. Includes LED backlight.  If you want to add some visual output to your Arduino projects, you’ll need a display. If you need moderate data on display, the LCD2004 Parallel LCD Display is a quite good solution for Arduino projects.  This is an industry-standard JHD629-204A based controlled 4 lines x 20 characters LCD display with Black characters on Green background. It is a parallel interface so you will need 7 pins for 4-bit mode or 11 pins for 8-bit mode to interface to this LCD screen.


Features and Specifications:

1.      Wide viewing angle and high contrast.

2.      Industry-standard JHD629-204A equivalent LCD controller built-in.

3.      Supported 4 or 8-bit parallel interface. Operate with 5V DC.

4.      Interface with 16 pins male header Connector.

5.      20 characters wide, 4 rows Black text on the green background The module can easily interface with an MCU The module is a low-power consumption character LCD Module with a built-in controller Single LED backlight included can be dimmed easily with a resistor or PWM.

6.      Can be fully controlled with only 6 digital lines! (Any analog/digital pins can be used)



I2C Module LCD Serial Display Adapter

I2C Module is a parallel to serial converter compatible with LCD2004 and LCD1602. By using this module, LCD can be interfaced with using only 2 wires. LCD displays take 8 pins so sometimes user can get out of resources, mostly using Arduino Uno and Nano, but this device helps to save the resources as it takes only 4 pins.



  1. Compatible with 16×2 and 20×4 LCD display
  2. Saves resources using only 4 pins
  3. LCD can be interfaced using 2 wires
  4. Easy to interface
  5. Standard 5V supply voltage
  6. Contras is adjustable



MAX30100 Pulse Oximeter Heart Rate Sensor Module :- 

Heart Rate click carries Maxim’s MAX30100 integrated pulse oximetry and a heart-rate sensor. It’s an optical sensor that derives its readings from emitting two wavelengths of light from two LEDs – a red and an infrared one – then measuring the absorbance of pulsing blood through a photodetector. This particular LED colour combination is optimized for reading the data through the tip of one’s finger.


The signal is processed by a low-noise analog signal processing unit and communicated to the target MCU through the mikroBUS I2C interface. Developers of end-user applications should note that the readings can be negatively impacted by excess motion and changes in temperature. Also, too much pressure can constrict capillary blood flow and therefore diminish the reliability of the data. A programmable INT pin is also available. The operates at the 3.3V power supply.



Specifications and Features:

1.      Optical sensor: IR and red LED combined with a photodetector

2.      Measures absorbance of pulsing blood

3.      I2C interface plus INT pin

4.      3.3V power supply complete pulse oximeter and heart rate sensor solution, simplifies design, integrated LEDs, photo sensor, and

5.      high-performance analog front

6.      Ultra low power operation increases battery life for wearable devices

7.      Advanced functionality improves measurement performance, high SNR provides robust motion artifact resilience integrated

8.      ambient, light cancellation high sample rate capability fast data output capability

9.      It is an integrated pulse oximetry and heart rate monitor sensor solution.




MG945 Digital High Speed Servo Motor :-


Getting an original TowerPro Servo Motor is not an economical option at all!!! And is also a very difficult task to recognize and buy an original TowerPro servo, Because there are many suppliers spread over different online shops who are selling fake servo motors under this Brand name. believes in satisfied customers, so whatever the product is we first import them then test them for their supplier defined and standard capabilities. Only after doing all the possible quality checks we make the product available to our customers.


It is a low cost and high quality digital servo with export quality and great  servo for just about any application. MG945 is for 1/8 buggy monster and many RC model. Please refer to product configure table provided in the attachments.


Wire Description

RED – Positive

Brown – Negative

Orange – Signal



1.      Gear Type: Metal gear

2.      Power Supply: Through External Adapter

3.      Servo wire length: 32cm

4.      Servo Plug: JR (Fits JR and Futaba)

5.      CE & RoHS approved

6.      Servo gear set and shaft have been upgraded to aluminum 6061-T6,which is stronger and lighter than copper.

7.      Universal “S” type connector,fits most receivers, including Futaba, JR, Hitec ,GWS, Cirrus, Blue Bird, Blue Arrow, Corona, Berg, Spektrum.



Push Button Switch :-




6x6x5mm Tactile Push Button Switch is widely used as a standard input “buttons” on electronic projects. These work best when you mount it on PCB but can also be used on a solderless breadboard for temporary connections in prototypes. The pins are normally open (disconnected) and when the button is pressed they are momentarily closed and complete the circuit.


This tactile switch also offers reliable dome contact technology and strong tactile feedback, with multiple operating forces to choose from. Applications include telecommunications, consumer electronics, audio/visual, medical devices, testing/instrumentation, and computer/peripherals.


Features :

1.      Through-hole design.

2.      Shaft Shape: Round

3.      The long life of 300,000 cycles realized despite the high operating force

4.      Used in the fields of electronic products, household appliances and more.

5.      This light touch switch is waterproof, prevent oil, anti-pollution, anti-static interference.

6.      High precision mechanism design offers acute operation and long service life.

7.      Compact and lightweight, easy to carry and dismantling.

8.      Good electrical conductivity.





Potentiometer :-





It is a 10K Ohm 3Pin 15mm Shaft Potentiometer. This is used for adjusting various parameters like voltage, current, etc in an electronic circuit.


Resistance (Ω)




Temperature Co-efficient


Operating Temperature Range (°C)

-40 to 80

Mounting Type

Through Hole

Length (mm)


Width (mm)

17 (Body Diameter)

Height (mm)


Weight (gm)

6 (each)

Shipment Weight

0.02 kg

Shipment Dimensions

4 × 4 × 2 cm


Ambu Bag :-





·         Material: Silicone

·         Manufactured using high quality raw material and latest technology. These devices are used for positive pressure to inflate the lungs of an unconscious person who is not breathing and keep him/her oxygenated and alive.

Please Note: Product may differ (eg. colour) from the product Image displayed on website. Kindly check the technical specifications provided in description to make better purchase decision.

Buy Resuscitations Adult Silicone Ambu Bag online in India at wholesale rates. If you have been looking for Resuscitations Adult Silicone Ambu Bag dealers, your search ends here as you can get the best Resuscitations Adult Silicone Ambu Bag distributors in top cities such as Delhi NCR, Mumbai, Chennai, Bengaluru, Kolkata, Chennai, Pune, Jaipur, Hyderabad and Ahmedabad. You can purchase Resuscitations Adult Silicone Ambu Bag of the finest quality and rest assured to get the best in terms of both durability and performance. If you are bothered about the Resuscitations Adult Silicone Ambu Bag prices, you can be totally sure to get the best rates as Industrybuying brings you genuine Resuscitations Adult Silicone Ambu Bag rates and quality assured products only from the best of brands with exclusive brand discounts you won’t find anywhere else. Procure Resuscitations Adult Silicone Ambu Bag today and avail the best offers on your purchase.


The Rescare kit consists of:

- Manual Resuscitator

- Star Lumen Kink Resistant Oxygen Tubing

- Reservoir Bag

- Inflatable Mask

- Pressure Limiting Valve




  1. sir plz give me codeing library name.

  2. error found=(constants.h no such file or directory)
    how to solve ? pls help ....

  3. constants.h: No such file or directory

  4. This comment has been removed by a blog administrator.

  5. please give the file constants.h to download

  6. Compilation error: 'MAX_SERVO_POS' was not declared in this scope....error at line number 57. How to resolve?

  7. Nice idea and craftful execution, but as is not useable in reality.

    A normal person breathes about 7ml per kg bodyweight in one breath. So for a 75kg person you need to move 525ml of air. Your machine clearly does not do that. You need to push the bag much harder

    Furthermore, there is the problem of resistance. The machine does not blow this air into the room at zero pressure difference, but into a person. It needs to push against the elasticity of the lungs and diaphragm.