Reference

Last revision 2025/12/12

This article explains the use of Wire and LiquidCrystal_I2C libraries with Arduino, providing installation and usage guidance. It also explores two methods for operating power shields, including voltage regulation and device control, alongside benefits of stackable design.

Library

  • Applicable Libraries: Wire (built-in) and LiquidCrystal_I2C libraries for Arduino IDE.
  • Installation Instructions: Follow the Library Installation Tutorial to install the LiquidCrystal_I2C library.
  • Usage Example: The sample code uses Wire for I2C communication and LiquidCrystal_I2C to control the LCD display.

Other Supplementary Information

  • Two Methods of Operation:

    1. Use the shield to regulate an external power supply and provide the proper voltage to your Arduino.
    2. Directly use the shield to power high-power devices like servos or modules.
  • Built-in Functions:

    • Voltage Measuring: The output voltage is mapped to Arduino analog pin 0.
    • On/Off Control: The shield can be switched on/off using Arduino digital pin 13.
  • Note for the jumpers near to the Power Input socket
    Both jumpers are on left side: This method will only provide regulated power to the PWROUT. i.e. There is no voltage on Vin which is connected with Arduino .
    Top jumper is on left side, bottom jumper is on right. This will provide regulated PWROUT, adjusted via the blue potentiometer next to the PWROUT connector. Arduino Vin power will be connected to the external power supply. |

  • Stackable Design: You can stack multiple Power Shields to provide different voltage levels for multiple devices.

Was this article helpful?

TOP