LoPy Beta Release (version='v1.8.1-59-g22cefbb on 2016-07-30')
daniel last edited by daniel
These are the release notes for version='v1.8.1-59-g22cefbb on 2016-07-30'
First of all, make sure you have followed the getting started instructions, which can be found in: https://cloud.pycom.io/index.php/s/fb19uo4IaEdMldR
The actual IP address for FTP and telnet is: 192.168.4.1
A new release is available which bring bug fixes, safe boot mode and a newly added pycom module.
All jumpers except for the Tx and Rx of the UART need to be removed from the expansion board in order for LoRa to work (this won't be needed on the production version of the LoPy). See the attached picture for reference.
- pycom added which brings control for the HeartBeat RGB led
- Safeboot mode added using pin G28 on the expansion board
import pycom # disable the heartbeat led pycom.heartbeat(False) # turn the heartbeat LED in green color pycom.rgbled(0xFF00) # now in red pycom.rgbled(0xFF0000) # turn off the heartbeat LED pycom.rgbled(0)
Important note about the WS2812B LED
Because the RGB LED power supply is connected directly to VIN, when powering the LoPy out of the USB port, in some cases the voltage is to high (near 5.5V), and therefore the control pulses from the LoPy are not recognized by the WS2812B. For a reliable operation of the RGB LED, the LoPy should be powered by LiPo battery which can be easily connected to the JST connector in the expansion board. This hardware issue is solved in the production version of the LoPy.
Safe Boot Mode
In order to boot in safe mode, connect G28 (as labeled on the expansion board) to 3V3 and reset the LoPy. After a couple of seconds you'll see a flashing pattern in orange color on the Heartbeat LED. After the flashing pattern is over and the LED starts to light up in Blue again (normal heartbeats) you may remove the cable jumper between G28 and 3v3. Safeboot allows to skip the execution of main.py and boot.py. This is specially useful when incorrect scripts have been uploaded to the LoPy and there's no way out.
The releases are available here:
https://cloud.pycom.io/index.php/s/khCswKQ6qUmj1n7 (868MHz band)
https://cloud.pycom.io/index.php/s/sU6fbDIqLF6r1U1 (915MHz band)
Tip: use os.uname() to get the software version information.