Maker Pro
Maker Pro

Two microcontrollers switching power sources

andi55557

Jul 26, 2022
1
Joined
Jul 26, 2022
Messages
1
Hi everyone,

I am planning to build a shield for the raspberry pi zero containing a Teensy LC which is used as a HID.

Problem is: Both have power connections. There are three cases, the two MCU's always need to be powered:
1. Power comes from the teensy
2. Power comes from the Raspi
3. power comes from both MCU's (problem?!)

I am not able to put any circuitry like a diode to the power source of the Raspberry pi. I can put whatever in the rectangle in the sketch, but not outside. Right now the solution is a switch which toggles the power to the teensy.
This device is going to be produced a few times and it varies from where the power comes from, and I don't want to have some of them fried because the switch is on the wrong position.
Is there a way of doing this automatically?


Greetings, Andi

(I found a solution which suggests to putt a schottky diode on each side of the +5V power source, but this method cant be used because I cant put anything on the raspi side (second picture)
 

Attachments

  • forum.PNG
    forum.PNG
    23.9 KB · Views: 1
  • forum internet solution.png
    forum internet solution.png
    24 KB · Views: 2

Martaine2005

May 12, 2015
4,951
Joined
May 12, 2015
Messages
4,951
Why can’t you have one (1) 5V source powering both rather than a separate source for each?
upload_2022-7-28_11-59-7.jpeg

Martin
 
Top