Codey OnlineBiblioteka komponentów Arduino i ESP32 › 18650 Battery Shield with USB-C Charger and 5V Boost Converter
18650 Battery Shield with USB-C Charger and 5V Boost Converter
Czujniki

18650 Battery Shield with USB-C Charger and 5V Boost Converter

Płytka ładowania do uchwytu akumulatora 18650, moduł power bank step-up 5V z wejściem USB-C do Arduino i elektroniki DIY

Szerokość: 6.3 mm

Pinout — 18650 Battery Shield with USB-C Charger and 5V Boost Converter

Pin Sygnał Opis
5V_IN power 5V charging input positive terminal for powering the charger board.
5V_IN.1 power Alternate 5V input positive solder pad for external charging supply.
GND ground Ground return for the 5V charging input.
GND.1 ground Ground return terminal for the 5V charging input.
5V_IN.2 power Alternate 5V input positive solder pad for external charger connection.
BAT_OUT_NEG power-low Battery output negative terminal from the 18650 cell.
BAT_OUT_POS power Battery output positive terminal from the 18650 cell.
UPS_OUT_POS power Boost converter 5V UPS output positive solder pad.
UPS_OUT_POS.1 power Boost converter 5V UPS output positive terminal.
BAT_POS power 18650 battery positive connection to the charging and boost circuit.
UPS_OUT_NEG ground Ground return solder pad for the boosted 5V UPS output.
UPS_OUT_NEG.1 ground Ground return terminal for the boosted 5V UPS output.

Przykładowy schemat połączeń — 18650 Battery Shield with USB-C Charger and 5V Boost Converter

Z Do Przewód
board:5V x1:UPS_OUT_POS red
board:GND x1:UPS_OUT_NEG black

Przykładowy kod Arduino — 18650 Battery Shield with USB-C Charger and 5V Boost Converter

Ten przykład został napisany i sprawdzony kompilacją dla arduino-uno. Codey Online dostosuje go do każdej innej obsługiwanej płytki.

// Canonical beginner example for using the 18650 Battery Shield with USB-C Charger
// and 5V Boost Converter as a 5V power source for an Arduino Uno.
//
// Wiring:
// Arduino 5V  -> UPS_OUT_POS
// Arduino GND  -> UPS_OUT_NEG
//
// This sketch just confirms the board is powered by printing a message over Serial.

void setup() {
  Serial.begin(9600);
  while (!Serial) {
    ; // Wait for Serial Monitor on boards that need it; harmless on Uno.
  }

  Serial.println("18650 Battery Shield connected as a 5V power source.");
  Serial.println("If the shield is powered and the boost converter is on, the Arduino should run normally.");
}

void loop() {
  Serial.println("Arduino Uno powered by the battery shield.");
  delay(2000);
}

Podobne komponenty

2.4 inch OLED Display I2C 3.3V

2.4 inch OLED Display I2C 3.3V

3.5 inch TFT LCD Shield

3.5 inch TFT LCD Shield

50kg Load Cell Weight Sensor

50kg Load Cell Weight Sensor

Accelerometer and Gyroscope I2C MPU-6050

Accelerometer and Gyroscope I2C MPU-6050

Zbuduj swój projekt Arduino lub ESP32 z pomocą AI

Opisz, co chcesz zbudować. Codey Online napisze kod, narysuje schemat połączeń, skompiluje projekt i wgra go na płytkę bezpośrednio z przeglądarki.

Zacznij za darmo