In our last release, we published the initial support for Pycom devices (WiPy 3.0
and FiPy 1.0
Because of these devices are lacking a USB port, Pycom provides 3 different shields (all three with the USB port and 100% compatible with all Pycom devices) to enable the programming of the onboard ESP32 microcontroller.
If you go to our official documentation
, you can find the procedure to register, virtualize and uplink Pycon devices with Zerynth using the basic Pycom shield (the Expansion Board).
The main and more important step is to put the Pycom device in "Download Mode"; to do this you have to:
- Open the Serial Monitor;
- Connect a jumper between GND and D0;
- Press Reset on-board button; ESP32 SDK messages must appear on the serial monitor, confirming that the device is in “Download Mode”.
Here a sneak peak of the jumper position and the serial monitor message that confirms the device in "Download Mode"
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
Now the board is in "Download Mode" and you can remove the jumper and start the registration/virtualization process.Note Very Important:
putting the device in "Download Mode" is necessary for both Registration
; so every time you need to register and virtualize a Pycom Device you need this procedure (not necessary, instead, for uplink your Zerynth script).Note Very Very Important
: the correct mounting of a Pycom device on a Pycom shield is always the same and valid for all combinations: the WS2812 RGB Led of the device must be over the USB port of the shield
If you have the PySense or PyTrack shield instead of the Expansion board, don't worry, the procedure is a little bit different but still possible
Here a picture to show where the jumper must be inserted to obtain the same result as described before:
Zerynth Support Team