dfrobot i2c lcd module v1.1 factory

This is another great I2C 16x2 LCD display compatible with Gadgeteer modules from DFRobot. With limited pin resources, your project will quicly run out of resources using normal LCDs. With this I2C interface LCD module, you only need 2 lines (I2C)to display the information.If you already have I2C devices in your project, this LCD module actually cost no more resources at all. The adress can be set from 0x20-0x27. Fantastic for Arduino or gadgeteer based projects.

dfrobot i2c lcd module v1.1 factory

I2C/TWI LCD2004 module compatible with Gadgeteer is a cool lcd display with a high speed I2C serial bus from DFRobot. With the limited pin resources, your project may be out of resources using normal LCD shield. The LCD display is a 4x20 character STN white display with a blue LED backlight.

With this I2C interface LCD module, you only need 2 lines (I2C) to display the information.If you already have I2C devices in your project, this LCD module actually cost no more resources at all. Fantastic for Arduino based project.

dfrobot i2c lcd module v1.1 factory

This is another great LCD display compatible with Gadgeteer modules from DFRobot. With limited pin resources, your project will quicly run out of resources using normal LCDs. With this I2C interface LCD module, you only need 2 lines (I2C)to display the information.If you already have I2C devices in your project, this LCD module actually cost no more resources at all. The adress can be set from 0x20-0x27.Fantastic for Arduino or gadgeteer based projects.

dfrobot i2c lcd module v1.1 factory

Referring to the LCD16020, I believe that everyone is not unfamiliar the square shape, green color, a row of 2.54 pin header.... LCD1602 module is a product of the DFRobot Gravity IIC series, which has been greatly optimized for its original LCD1602 appearance. This module does not need to adjust the contrast, retain the backlight controllable function, simultaneously compatible with 3.3V and 5V voltage. The optimization of function and the appearance brings you the different experience. This kind of module has the blue screen, the green screen, the gray screen.

Follow the pin description to connect the hardware, then download the sample code to UNO. After upload finished, you can see the LCD display and backlight gradient effect.

dfrobot i2c lcd module v1.1 factory

Have you been fed up with Black/White LCD screen? Do you want to try a colorful one? DFRobot I2C 16x2 Arduino LCD with RGB Backlight Display module will bring you a new experience about screen. It comes with RGB full color backlight, which has 16 million kinds of color.

Usually, Arduino LCD display projects will run out of pin resources easily, especially with Arduino Uno. And it is also very complicated with the wire soldering and connection. This I2C 16x2 LCD Screen is using an I2C communication interface. It means it only needs 4 pins for the LCD display: VCC, GND, SDA, SCL. It will saves at least 4 digital / analog pins on Arduino. And Gravity interface make it easier to use with our Gravity: IO expansion shield.

dfrobot i2c lcd module v1.1 factory

Accustomed to the same LCD screen, do you want to have a different experience? DFRobot LCD1602 will bring you a new visual feeling, It is not the same as the previous LCD monochrome screen, supports RGB full-color font, can provide 16 million kinds of color combinations. DFRobot Gravity I2C 16x2 Arduino LCD with RGB Font Display use universal Gravity I2C interface, it means only two communication lines, you can realize communication and backlight control. The LCD screen can display 2x16 characters, support screen scrolling, cursor movement and other functions. Through dedicated Arduino library, you can complete all the design without cumbersome wiring and complex code.

Follow the pin description to connect the hardware, and download the sample code to UNO, after upload is successful, you can see the LCD display and backlight gradient.

dfrobot i2c lcd module v1.1 factory

This is a 20x4 Arduino compatible LCD display module with high speed I2C interface. It is able to display 20x4 characters on two lines, whitecharacterson blue background.

Generally, LCD display will run out of Arduino pin resource. It needs 6 digital pins and 2 power pin for a LCD display. If you want to build a robot project, it will be a problem with Arduino UNO and LCD display.

This I2C 20x4 LCD display module is designed for Arduino microcontroller. It is using I2C communication interface, With this I2C interface, only 2 lines (I2C) are required to display the information on any Arduino based projects. It will save at least 4 digital / analog pins on Arduino. All connector are standard XH2.54 (Breadboard type). You can connect it with jumper wire directly.

This 1602 LCD module has 8 I2C address in all, from 0x20 to 0x27. You can set one according to your requirements, avoiding the confliction of I2C address. And its contrast can be adjusted manually.

dfrobot i2c lcd module v1.1 factory

This LCD module uses a 128x64 liquid crystal display that support Chinese character , English characters and even graphics. It can exhibit 4 lines and 12 English characters/6 Chinese characters per line. It is suitable for interactive work with Arduino.

The following sample is working under SPI mode. It demonstrates how to display integers on the LCD scrren. You will need the Arduino Library which can be downloaded here.

dfrobot i2c lcd module v1.1 factory

An OLED (organic light-emitting diode) has many advantages over traditional LCD displays, including a faster response speed, thinner profile, lower power consumption and excellent shock resistance. An OLED can be widely used in mobile devices for display applications. Used in conjunction with a mini Arduino-based microcontroller such as the Beetle or CurieNano, it is a straightforward process to make a simple wearable application.

Our Gravity OLED 12864 display is a self-luminous display module with a blue background. The display areas is 0.96”and uses an IC SSD1306 chip. The OLED screen supports I2C communication and refresh rates of up to 60Hz. The module uses the Gravity I2C common interface for easy plug and play usage – meaning you can connect it without the need for wires - just plug it straight in to your device. The display bezel is constructed from aluminum alloy which protects the screen from scratches and damage.

dfrobot i2c lcd module v1.1 factory

This is a very popular LCD Keypad shield for Arduino or Freeduino board. It includes a 2x16 LCD display and 6 momentary push buttons. Pins 4, 5, 6, 7, 8, 9 and 10 are used to interface with the LCD. Analog Pin 0 is used to read the push buttons. The LCD shield supports contrast adjustment and backlit on/off functions. It also expands analog pins for easy analog sensor reading and display.

The LCD Keypad shield is developed for Arduino compatible boards, to provide a user-friendly interface that allows users to go through the menu, make selections etc. It consists of a 1602 white character blue backlight LCD. The keypad consists of 5 keys — select, up, right, down and left. To save the digital IO pins, the keypad interface uses only one ADC channel. The key value is read through a 5 stage voltage divider.

Initializes the interface to the LCD screen, and specifies the dimensions (width and height) of the display. begin() needs to be called before any other LCD library commands.for example:

dfrobot i2c lcd module v1.1 factory

On the same I2C port, DFRobot Gravity: I2C Multiplexer solves the address conflict and enables the normal communication with multiple same-address I2C devices.

You just found the sensor you needed, and you want to wire up two or more to the I2C port of your mainboard, but later you realized that they have the fixed I2C address! That is, you can not use them on the same I2C port! Are you out of luck? Now don’t worry! DFRobot Gravity: I2C Multiplexer can easily solve the address conflict on the same I2C port.

This I2C multiplexer is easy to use, plug and plug and no need to weld. 1 multiplexer has 8 I2C ports, this means you can hook up 8 same-address devices at the same I2C port by 1 multiplexer. The default I2C address of the multiplexer is 0x70, and you can adjust from 0x70 to 0x77. In theory, you could hook up 8 multiplexers on address 0x70~0x77, to control 64 same-address devices. So powerful!

The OLED display used in this example has the fixed I2C address, so these two OLED displays cannot be directly hooked up to the same I2C port. However, through this I2C multiplexer"s transfer, these two OLED displays can be normally used on the same I2C port at the same time.

* Connect the 2 SSD1306 devices to the port 0 and port 1 on the i2cmultiplexer respectively and then connect the I2cmultiplexer and Arduino, download this sample.

As shown in the picture below, although these two OLED displays have the same I2C addresses, they work normally after this I2C multiplexer"s transfer.

Through the above example, we have already understood how to use this I2C multiplexer"s hardware and software library. Now we summarize further, and get the following software framework. This will help you better understand the software library and apply it to your project.

dfrobot i2c lcd module v1.1 factory

This is a sensor that detects oxygen concentration and supports three output modes: analog, I2C, and UART. The probe has been calibrated at the factory, which can quickly and accurately measure the concentration of oxygen in the environment. Can be widely applied to fields like portable devices, air quality monitoring devices, industries, mines, warehouses, and other spaces where the air is not easy to circulate.

The probe adopts the electrochemical principle, has the characteristics of strong anti-interference ability, high stability, high sensitivity, etc., and the service life is as long as two years. The sensor has 32 modifiable I2C addresses, an integrated temperature compensation algorithm, and a threshold alarm function, It has good compatibility with mainstream main control devices such as Arduino, ESP32, and Raspberry Pi. The easy-to-use Gravity interface, coupled with our sample code, can quickly build an oxygen concentration detector.

The white waterproof and breathable membrane of the sensor on the module is strictly forbidden to open, otherwise it is regarded as artificial damage.

The module should avoid contact with organic solvents (including silica gel and other adhesives), paints, pharmaceuticals, oils and high-concentration gases.

The module needs to be warmed up for more than 5 minutes when powered on for the first time. It is recommended to warm up for more than 24 hours if it has not been used for a long time.

The data returned by the serial port of the module is the real-time concentration value in the current environment. If there is no standard gas, please do not try the calibration command. This command will clear the calibrated data, and the data returned by the serial port will be inaccurate.

To judge whether the module communication is normal, it is recommended to use a USB to TTL tool (communication level 3V) to observe and judge according to the communication protocol through the serial debugging assistant software.

Note: The analog output is the original uncalibrated voltage of the probe, the UART/I2C data is factory calibrated, if there is no special requirement, it is recommended to use the calibrated UART/I2C data.

Connect the module to the Arduino according to the connection diagram above. Of course, you can also use it with Gravity I/O Expansion Board to build the project prototype more conveniently and quickly.

The default I2C address is 0x74. If you need to modify the I2C address,You can configure the hardware I2C address through the DIP switch on the module, or run the code to modify the address group to modify the address. The corresponding relationship between the DIP switch and the I2C address parameter is as follows:ADDRESS_0: 0x74, A0=0, A1=0

Default use I2C communication, mask #define I2C_COMMUNICATION in the code, and set the dip switch SEL to 1, the sensor is connected to the corresponding port defined by the controller, if use UNO, the blue line is connected to D3 and the green line is connected to D2, if use ESP32, the blue line is connected to IO17 and the green line is connected to IO16. After re-uploading the code, the whole system will be re-powered and will switch to UART communication.

Connect the module to the Arduino according to the connection diagram above. Of course, you can also use it with Gravity I/O Expansion Board to build the project prototype more conveniently and quickly.

The default I2C address is 0x74. If you need to modify the I2C address,You can configure the hardware I2C address through the DIP switch on the module, or run the code to modify the address group to modify the address. The corresponding relationship between the DIP switch and the I2C address parameter is as follows:

Default use I2C communication, mask `#define I2C_COMMUNICATION in the code, and set the dip switch SEL to 1, the sensor is connected to the corresponding port defined by the controller, if use UNO, the blue line is connected to D3 and the green line is connected to D2, if use ESP32, the blue line is connected to IO17 and the green line is connected to IO16. After re-uploading the code, the whole system will be re-powered and will switch to UART communication.

Connect the module to the Arduino according to the connection diagram above. Of course, you can also use it with Gravity I/O Expansion Board to build the project prototype more conveniently and quickly.

The default I2C address is 0x74. If you need to modify the I2C address,You can configure the hardware I2C address through the DIP switch on the module, or run the code to modify the address group to modify the address. The corresponding relationship between the DIP switch and the I2C address parameter is as follows:

In order to prevent address conflicts when using multiple sensors, we have prepared 8 groups with a total of 23 addresses. If necessary, You can use "change_sensor_iic_addr.ino" in the library file "example",to switch by modifying the group serial number configuration of "changeI2cAddrGroup()". After the serial port information displays "IIC addr change success!", power on again.

dfrobot i2c lcd module v1.1 factory

The DS1307 Real Time Clock developed by one of our designers: Waiman. The module comes fully assembled and pre-programmed with the current time (ok, so it"s our current time - MST). The included Lithium coin cell battery (CR1225 41mAh) will run the module for a minimum of 9 years (17 years typical) without external 5V power. The DS1307 is accessed via the I2C protocol.

Except the DS1307 real time clock, the module also integrate the I2C EEPROM chip(24C32) and the DS18B20 sensor interface. The I2C EEPROM makes it possible to save the sensor data easily without spending too much microcontroller source. And the DS18B20 interface with the pull-up resistor embeded will be helpful to extend temperature monitoring feature for your project.

dfrobot i2c lcd module v1.1 factory

This is an I2C button module with RGB LED. The module not only supports reading button status like conventional ones, but also can control RGB LED color and switch on/off the light independently, which could create more visual and interactive experiences for your projects.

This module has onboard 3bit DIP switch for setting 8 different I2C addresses, which means up to 8 such button modules can be cascaded together without occupying additional ports.

Note: The default I2C address of the button is 0x2A. The DIP switch can be set according to the address table at the bottom of the module as shown in the figure below.

In this sample, the hardware connection remains, and we will learn how to use the RGB LED of the button module as it can be controlled independently. Let"s start with controlling LED color.

The button module can send interrupt commands to the main controller via INT pin when used as an I2C slave, which better reflects the interactivity it brings. In this sample, we will learn the interrupt communication mode of the button module.

Interrupt 0 of the UNO mainboard is used in this sample. Connect the INT pin of the button module to the digital pin 2 of the UNO board, the LED to digital pin 8, and the button to the I2C interface.

After uploading the codes, the RGB LED on the button module turns on in green by default. When the button is pressed, it changes to blue and an interrupt occurs, and this time the external blue LED lights up. When the button released, the button RGB LED turns back to green, and the blue LED goes off.

Designed with I2C, multiple modules are allowed to be cascaded without occupying additional ports. In this sample, six button modules will be cascaded and controlled independently without affecting each other.

6 button modules are cascaded, they all show white color by default. When a button is pressed, its corresponding RGB LED shows the color set in the program. For example, press the first button, and its button light turns red.

In this sample, we will make a point counter using an OLED display with I2C interface and two button modules. First download the library file U8g2 Library, and install the library in the Arduino IDE as the way shown above.

Connect the interrupt pins (INT) of the two button modules to the digital pins 2 and 3 of the UNO board, and the OLED display to another I2C interface on the UNO mainboard.

A: First, check if the DIP switch address of the button module is set correctly; second, if you have changed the module I2C address during powering on, try powering down and reconnect.