Hi,
Looking for some guidance.
The 3.3 V output has worked before but now only outputs 0.12 V
The board is running fine, and the following code is used:
from machine import Pin
threevthree = Pin('EN_3V3')
threevthree.value(1)
I'm powering it with 3.4 V on Vin but have also tried from USB.
Any help would be much appreciated - I may be missing something obvious!
3V3 output not working
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: 3V3 output not working
That is odd. I use
but that's the same as your code. I fear you may have zapped U10, the switchable LD39130S 3.3V regulator. Is it possible that a voltage was applied to the 3.3V output at some time?
Code: Select all
from machine import Pin
Pin.board.EN_3V3.value(1)
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: 3V3 output not working
@ pythoncoder I have nearly done that myself, but being cautious I read the docs just in time.. it would be an easy thing to do!
-
- Posts: 8
- Joined: Wed Mar 04, 2020 10:07 pm
Re: 3V3 output not working
Thank you both, I agree it seems to be that I've blown it. Not sure how though as the PCB I've made that it connects to has (I believe) appropriate protection diodes.
When I tried a friends Pyboard D on the same PCB the output drops to around 0.5 V, but returns to 3.3 V when disconnected. I think it must be getting current limited - could this have caused mine to blow?
When I tried a friends Pyboard D on the same PCB the output drops to around 0.5 V, but returns to 3.3 V when disconnected. I think it must be getting current limited - could this have caused mine to blow?
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: 3V3 output not working
The LD39130S datasheet claims "internal current foldback and thermal protections" so a short to gnd should not blow it up. But shorts to other voltages might. I'd check that PCB very carefully indeed...
You have a very trusting friendWhen I tried a friends Pyboard D on the same PCB
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: 3V3 output not working
I'll need to check, but I think you also need to put the pin into output mode.Sleepy_Reenigne wrote: ↑Thu Sep 03, 2020 4:46 pmfrom machine import Pin
threevthree = Pin('EN_3V3')
threevthree.value(1)
Code: Select all
from machine import Pin
threevthree = Pin('EN_3V3', mode=Pin.OUT)
threevthree.value(1)
Re: 3V3 output not working
This might not be the 'correct way' but on V1.13 on SF2W and SF6W PYBD's I just use:
Short and simple and it works for me
Code: Select all
import machine
machine.Pin('EN_3V3').on()