Skip to content

Contains sensor module examples with Arduino. These examples include BMP180-PressureMeasurement, HCSR04-DistanceMeasurement and Keypad-Example.

Notifications You must be signed in to change notification settings

eeyribas/Arduino-Sensor-Examples

Repository files navigation

Arduino-Sensor-Examples

Contains sensor module examples with Arduino. These examples include BMP180-PressureMeasurement, HCSR04-DistanceMeasurement and Keypad-Example. These examples:

  • BMP180-PressureMeasurement: Demonstrates how to measure pressure, altitude, and temperature using the BMP180 sensor module with Arduino.

  • HCSR04-DistanceMeasurement: Demonstrates how to measure distance using the HC-SR04 distance sensor module with Arduino.

  • Keypad-Example: Allows the use of a keypad module with Arduino.

Programming Language: C/C++ Programming Language

IDE: Arduino IDE Version - 2.2.0

Arduino Used: Arduino Uno, Arduino Mega

Arduino Library:

  • BMP180BreakoutArduinoLibrary: This library enables the use of the BMP180 sensor module. Include this library in your Arduino IDE.

  • Keypad: This library enables the use of the Keypad module. Include this library in your Arduino IDE.

Arduino Connection Diagram:

  • Arduino-BMP180 Module Connection Diagram: Arduino communicates with the BMP180 sensor module via I2C. The BMP180 module is connected to the Arduino's A4 and A5 pins.

  • Arduino-HCSR04 Module Connection Diagram: The HCSR04 module is connected to the Arduino's trig pin (D8) and echo pin (D9).

  • Arduino-Keypad Module Connection Diagram: The connection of the keypad to the Arduino is shown in the (keypad-schematic.png) image.