mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-23 16:07:09 +01:00
50 lines
2.7 KiB
Markdown
50 lines
2.7 KiB
Markdown
# LoPy
|
|
|
|

|
|
|
|
**Store**: [Buy Here](http://www.pycom.io/lopy)
|
|
|
|
**Getting Started:** [Click Here](../../gettingstarted/connection/lopy.md)
|
|
|
|
## Pinout
|
|
|
|
The pinout of the LoPy is available as a PDF File
|
|
|
|
{% file src="../../.gitbook/assets/lopy-pinout.pdf" caption="LoPy Pinout" %}
|
|
|
|

|
|
|
|
{% hint style="info" %}
|
|
Please note that the PIN assignments for UART1 \(TX1/RX1\), SPI \(CLK, MOSI, MISO\) and I2C \(SDA, SCL\) are defaults and can be changed in Software.
|
|
{% endhint %}
|
|
|
|
## Datasheet
|
|
|
|
The datasheet of the LoPy is available as a PDF File.
|
|
|
|
{% file src="../../.gitbook/assets/lopy-specsheet.pdf" caption="LoPy Datasheet" %}
|
|
|
|
## Notes
|
|
|
|
### WiFi
|
|
|
|
By default, upon boot the LoPy will create a WiFi access point with the SSID `lopy-wlan-XXXX`, where `XXXX` is a random 4-digit number, and the password `www.pycom.io`.
|
|
|
|
### Power
|
|
|
|
The `Vin` pin on the LoPy can be supplied with a voltage ranging from `3.5v` to `5.5v`. The `3.3v` pin on the other hand is output **only**, and must not be used to feed power into the LoPy, otherwise the on-board regulator will be damaged.
|
|
|
|
### Deep Sleep
|
|
|
|
Due to a couple issues with the LoPy design the module draws more current than it should while in deep sleep. The DC-DC switching regulator always stays in high performance mode which is used to provide the lowest possible output ripple when the modules is in use. In this mode, it draws a quiescent current of 10mA. When the regulator is put into ECO mode, the quiescent current goes down to 10uA. Unfortunately, the pin used to control this mode is out of the RTC domain, and therefore not usable during deep sleep. This causes the regulator to always stay in PWM mode, keeping its quiescent current at 10mA. Alongside this the flash chip doesn't enter power down mode because the CS pin is floating during deep sleep. This causes the flash chip to consume around 2mA of current. To work around this issue a ["deep sleep shield"](../boards/deepsleep/) is available that attaches to the module and allows power to be cut off from the device. The device can then be re-enabled either on a timer or via pin interrupt. With the deep sleep shield the current consumption during deep sleep is between 7uA and 10uA depending on the wake sources configured.
|
|
|
|
## Tutorials
|
|
|
|
Tutorials on how to the LoPy module can be found in the [examples](../../tutorials/introduction.md) section of this documentation. The following tutorials might be of specific interest for the LoPy:
|
|
|
|
* [WiFi connection](../../tutorials/all/wlan.md)
|
|
* [LoRaWAN node](../../tutorials/lora/lorawan-abp.md)
|
|
* [LoRaWAN nano gateway](../../tutorials/lora/lorawan-nano-gateway.md)
|
|
* [BLE](../../tutorials/all/ble.md)
|
|
|