For beginners, users getting started with MicroPython & Pycom as well as Atom text editor users, we recommend the Pymakr Plugin for Atom. This section will help you get started using the Atom Text Editor & Pymakr Plugin.
Please follow these steps to install the Pymakr Plugin:
- Ensure that you have Atom installed and open.
- Navigate to the Install page, via Atom > Preferences > Install
- Search for Pymakr and select the official Pycom Pymakr Plugin.
- You should now see and click the Install button. This will download and install the Pymakr Plugin.
- That’s it! You’ve installed the Pymakr Plugin for Atom.
After installing the Pymakr Plugin, you need to take a few seconds to configure it for first time use. Please follow these steps:
- Connect your Pycom device to your computer via USB. If you are using an expansion board, and have just finished a firmware upgrade, be sure to Remove the wire between GND and G23 and reset your device by pressing the button.
- Open Atom and ensure that the Pymakr Plugin has correctly installed.
- Open the Pymakr console by clicking the '^' button, located in the lower right side of the Atom window.
- Click, 'More' followed by 'Get Serial Ports'. This will copy the serial address of your expansion board to your clipboard.
- Navigate to 'Settings' > 'Global Settings'
- Paste the serial address you copied earlier into the text field 'Device Address'
- Press connect and the Pymakr console should show three arrows '>>>', indicating that you are connected!
These settings can also be applied on a per project basis by clicking "Settings" then "Project Settings". This will open a JSON file which you can edit to enter your desired settings.
This process is easiest with either a Pycom Expansion Board or a Pytrack/Pysense as the addresses are automatically selected. For external products such as FTDI USB Serial Cables, the serial address may need to be copied manually. Additionally, the reset button on the device may also need to be pressed before a connection message appears.
After installing the Pymakr Plugin, a device may be connected via the telnet interface. Please see the following steps:
- Ensure that Pycom device is turned on
- Connect the host computer to the WiFi Access Point named after your board
(the SSID will be as follows e.g.
wipy-wlan-xxxx, etc.). The password is
- Follow the steps as above in the "Connecting via Serial USB" section but
192.168.4.1as the address.
- The default
Connectin the Pymakr pane, Pymakr will now connect via telnet.