Optimizing Power Input for IoT Device: How to Implement Power ORing?

I have 3 power input for my iot device Solar 12v Battery 3.7v And 5v usb how can i do power oring between them Like if 12v is present use it and usb to program And if usb and battery is present use usb And charge battery from usb and 12v What is best way to achieve this
6 Replies
ShreeshaN
ShreeshaN3mo ago
Make a common voltage to power your microcontroller and use power switch IC or P-cH MOSFET circuit to on/off your power rails
ShreeshaN
ShreeshaN3mo ago
You can write your logic in microcontroller
electro_coco
electro_coco3mo ago
Could you provide bit more detail like all these voltages will be fed to buck boost convertor but before feeding it to buck boost i need to select
ShreeshaN
ShreeshaN3mo ago
Power switch or load switch IC have enable pin, you can control which power rail to turn on by controlling the enable pin. You can use voltage divider and diode to turn off battery power when 12v is present by disabling load switch of battery
ShreeshaN
ShreeshaN3mo ago
You can control the enable pin by microcontroller gpio
electro_coco
electro_coco2mo ago
Thank you
Want results from more Discord servers?
Add your server
More Posts
Load Cell Calibration Challenges: Troubleshooting Parameters?Hello, i'm trying to calibrate my load cell to get the right weight.. using rassbpery pi pico &i Best Accelerometer Module for Speed and Tilt Measurement Project?I am working on a project that will measure and calculate the speed of a moving object and tilt anglI want to venture into Arduino development, what are the things I will need to get to get startedI want to venture into Arduino development, what are the things I will need to get to get started, aWhat is the difference between the two transistors referred to!!Hello, What is the difference between the two transistors referred to!! What does the letter B and how to install my ESP32 development board on Arduino IDE V2?Hello everyone, I'm looking for guidance on how to install my ESP32 development board on Arduino IDEMemory Operations During Context Switch: Impact on Priority Tasks?Hi @Middleware & OS I have two tasks, `A` and `B`, with `A` being high priority and `B` low priorityHow to Send Data to the PC using CAN PROTOCOL ?Hello friends, I have a Question, How to Send Data to the PC using CAN PROTOCOL ?Options for IoT device config updates post-Google shutdown?Hi guys since google has shut down its IoT platform, i have been seeking alternative way to send daExploring Arduino-Based Embedded Systems: Interface, Simulation, and LabVIEW GUIExplore the realm of Arduino-driven embedded systems through this all-inclusive manual tailored for Help Getting Started with KiCad PCB Designhello i am currently learning KiCad for pcb design and i would like to work on problems with other d