Heltec-Aaron-Lee / WiFi_Kit_series

Arduino source codes and toolchain for WiFi_Kit_series made by HelTecAutomation.
GNU Lesser General Public License v2.1
781 stars 310 forks source link

Is Vext/pin21/OLED MOSFET supported or present? #61

Open alexwhittemore opened 6 years ago

alexwhittemore commented 6 years ago

The code examples for the WiFi Kit 32 OLED version reference Vext, a MOSFET connected to pin 21 that controls the supply rail to the OLED and, if present, LoRa radio. My board for sure doesn't have these - if I set the pin incorrectly, the OLED still functions just fine. But the schematics in this repository also don't include any mention of such a MOSFET - are they out of date? How can I specifically check which hardware revision I have?

hb9eue commented 5 years ago

I am also quite concerned about Vext operation. I use the board as a TTN Mapping Node with a tiny 'beitian' GPS connected. My previous boards used a V.kel GPS which has a logic level 'enable' line, thus can be turned off by any pin. The beitian one has no such enable line, so I use Vext to cut of VCC to the GPS when not needed. I noticed this dimms the display. According to the schematics, the display is powered only by Vext, so where is that leaking current comming from to keep the display on but dimmed, when Vext is off? And why is Vext used to power the display anyway as the display itself can be put in power save mode independently.

But my bigger concern is the radio. The RF Switch (used in reverse) is powered by Vext. So if I turn Vext off, what does exactly happen when transmitting? Is the RF Amplifier going to burn because the antenna is disconnected by the switch? Is the RF Power being transmitted back to the input (and burning this)when the switch is unpowered?

Usualy I operate the node this way:

Wait Timer expired:

Well as I transmit AFTER I turn Vext Off, I'm a bit concerned now. Is this the right thing to do or do I have to keep Vext ON while TX?