Meet The MakersJoin Team
.Basic setupYou need to get a hard wire connection to the Pycom board in order to set it up properly. To do that you will need any type of USB cable that you don't care about. You will have to cut the opposite end of the USB off and strip the red and black wires. Strip them just enough to wrap around the pins, but not so long that they can touch each other and short out. Wrap the red wire around VIN and the black wire around GND. It should look similar to this:
We chose to solder our connections in, but it is not required. You will just have to ensure that the connections are secure.
.Installing AtomIn order to start flashing code to your Pycom, you will need to have the Atom IDE installed.
Once you have Atom installed, you will need to open it and install the pycom package so that you can begin interfacing between Atom and the Pycom board.
In order to do so, open Atom and you will need to open "Global Settings"
From which the settings will appear, where you can open the install page and search for Pycom
When searching for Pycom a list of packages will appear, and you will need to install the Pymakr package.
.Connecting to the PycomYou can connect to the Pycom via its own wifi, as long as the board is being powered. In order to connect to the board, go to networks and connect to
You will need to enter a password to connect to the WiPy, which by default is "www.pycom.io".
.Writing to PycomNow that you have successfully installed the Pycom plugin, you are now ready to flash code to the Pycom. Open a new file in Atom by clicking "File" > "New File". You should now have an editor window open.
From here you can paste the following code into the editor
And you should have a screen similar to below:
import pycom import time pycom.heartbeat(False) for cycles in range(10): # stop after 10 cycles pycom.rgbled(0x007f00) # green time.sleep(5) pycom.rgbled(0x7f7f00) # yellow time.sleep(1.5) pycom.rgbled(0x7f0000) # red time.sleep(4)
Last updated on 10/21/2017