Edit

Share via


PowerInput Constructors

Definition

Overloads

PowerInput(PowerInput)
PowerInput(PowerInputType, Boolean, Boolean, ElectricCurrent, ElectricPotential, Boolean)

PiJuice power input

PowerInput(PowerInput)

protected PowerInput (Iot.Device.PiJuiceDevice.Models.PowerInput original);
new Iot.Device.PiJuiceDevice.Models.PowerInput : Iot.Device.PiJuiceDevice.Models.PowerInput -> Iot.Device.PiJuiceDevice.Models.PowerInput
Protected Sub New (original As PowerInput)

Parameters

original
PowerInput

Applies to

PowerInput(PowerInputType, Boolean, Boolean, ElectricCurrent, ElectricPotential, Boolean)

PiJuice power input

public PowerInput (Iot.Device.PiJuiceDevice.Models.PowerInputType Precedence, bool GpioIn, bool NoBatteryTurnOn, UnitsNet.ElectricCurrent UsbMicroCurrentLimit, UnitsNet.ElectricPotential UsbMicroDynamicPowerManagement, bool NonVolatile);
new Iot.Device.PiJuiceDevice.Models.PowerInput : Iot.Device.PiJuiceDevice.Models.PowerInputType * bool * bool * UnitsNet.ElectricCurrent * UnitsNet.ElectricPotential * bool -> Iot.Device.PiJuiceDevice.Models.PowerInput
Public Sub New (Precedence As PowerInputType, GpioIn As Boolean, NoBatteryTurnOn As Boolean, UsbMicroCurrentLimit As ElectricCurrent, UsbMicroDynamicPowerManagement As ElectricPotential, NonVolatile As Boolean)

Parameters

Precedence
PowerInputType

Selects what power input will have precedence for charging and supplying VSYS output when both are present, PiJuice USB Micro Input, GPIO 5V Input. 5V_GPIO selected by default.

GpioIn
Boolean

Enables/disables powering PiJuice from 5V GPIO Input. Enabled by default.

NoBatteryTurnOn
Boolean

If enabled PiJuice will automatically power on 5V rail and trigger wake up as soon as power appears at USB Micro Input and there is no battery. Disabled by default.

UsbMicroCurrentLimit
UnitsNet.ElectricCurrent

Maximum current that PiJuice can take from USB Micro connected power source. 2.5A selected by default

UsbMicroDynamicPowerManagement
UnitsNet.ElectricPotential

Minimum voltage at USB Micro power input for Dynamic Power Management Loop. 4.2V set by default.

NonVolatile
Boolean

Whether the power input configuration is stored in the non-volatile EEPROM.

Applies to