Skip to main content

Deneyap Relay (M36) Usage

This product must be used with an external connection with a maximum current capacity of 1.2 A. Otherwise, the product may be permanently damaged.

I2C Address Assignment

  • You can access the I2C addresses of all Deneyap Modules here.
  • Deneyap Modules of the same type that support multiple I2C address definitions can be used on the same I2C communication line.
  • All Deneyap Modules connected to the same I2C communication line must have different I2C addresses. The I2C address can be changed, within certain limitations, using two different methods.
  • The first method is performed by short-circuiting the addressing lines (ADR1 and ADR2) located on the back side of the Deneyap Modules, either individually or together.
The second method is to define the I2C address programmatically by using the “_.setI2Caddress();” function. Connect the Deneyap Module whose I2C address you want to change individually to your development board using the I2C connector. Modify and upload the example Arduino IDE code provided below according to your needs.
#include <Deneyap_5x7LedEkran.h>                  // Module library included.

DotMatrix LEDMatris;                                           // Object defined.

void setup() {     
LEDMatris.begin(0x0A);                                       // Communication started with the defined I2C address.
LEDMatris.setI2Caddress(0x6E);                        // New address assigned to the module.
}

void loop() {
}
This method can only be used with Deneyap Modules coded as M15, M18, M20, M26, M32, M34, M36, M37, M38, M39, M45, M53, and M59. Note 1: The Deneyap 6-Axis Inertial Measurement Unit (M02) and Deneyap 9-Axis Inertial Measurement Unit (M47) modules use the same 6-axis inertial measurement unit (Accelerometer and Gyroscope). Therefore, if these Deneyap Modules are to be used together, the relevant I2C addresses must be adjusted. Note 2: Both the Deneyap Temperature, Humidity and Pressure Sensor (M24) and the Deneyap Pressure Sensor (M40) modules contain a pressure sensor with the same I2C address. Therefore, these products cannot be used together on the same I2C communication line.

I2C Address Detection

You can determine the I2C address of a Deneyap Module by using the application named “I2CAdresTespiti” available in our Arduino IDE library. For this process, only the single Deneyap Module whose I2C address you want to detect should be connected to your development board.

Deneyap Speaker (M29) Usage

This product does not support I2C communication. While the I2C communication connectors provide power input to the product, you must establish a connection to your development board using a jumper cable in one of the following ways:
  • While the module is connected to the development board via the I2C connector, connect the module’s IN+ pin to a pin with a DAC interface on the development board.*
  • While the module is connected to the development board via the I2C connector, connect the module’s OUT+ pin to a pin with a PWM interface on the development board.*
  • Connect the module’s OUT- and OUT+ pins respectively to a GND pin and a PWM interface pin on the development board.**
*For usage without connecting the module via the I2C connector, the module must be connected to the development board through its 3.3V and GND pins. **During this usage, the PAM8302A amplifier located on the module will not be active. Additionally, by using the I2C communication connectors on the product, the I2C line can be continued seamlessly with other Deneyap Modules.

Deneyap Touch Keypad (M37) Usage

When the module pins operate in capacitive sensing mode, the module should not be used with a breadboard.

Deneyap Smoke Detector (M39) Usage

If the module is intended to be used on a breadboard, the pins of the MQ-2 sensor can be cut and shortened.