Mercurial > espworkshop
comparison setup.rst @ 33:61d01865fc86 default tip
Update setup instructions.
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Sat, 25 Jun 2016 12:47:39 +0200 |
| parents | 379eeec3777a |
| children |
comparison
equal
deleted
inserted
replaced
| 32:071f5f765ec8 | 33:61d01865fc86 |
|---|---|
| 8 | 8 |
| 9 * A laptop with Linux, Mac OS or Windows and at least one free USB port. | 9 * A laptop with Linux, Mac OS or Windows and at least one free USB port. |
| 10 * If it's Windows or Mac OS, make sure to install `drivers`_ for the CP2102 UBS2TTL chip. MacOS El Capitan requires `disabling kext signing`_ to install it. | 10 * If it's Windows or Mac OS, make sure to install `drivers`_ for the CP2102 UBS2TTL chip. MacOS El Capitan requires `disabling kext signing`_ to install it. |
| 11 * A micro-USB cable with data lines that fits your USB port. | 11 * A micro-USB cable with data lines that fits your USB port. |
| 12 * You will need a terminal application installed. For Linux and Mac you can | 12 * You will need a terminal application installed. For Linux and Mac you can |
| 13 use ``screen``, which is installed by default. For Windows we recommend `PuTTy`_ | 13 use ``screen``, which is installed by default. For Windows we recommend `PuTTy`_ or `CoolTerm`_. |
| 14 * Please note that the workshop will be in English. | 14 * Please note that the workshop will be in English. |
| 15 | 15 |
| 16 .. _drivers: http://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx | 16 .. _drivers: http://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx |
| 17 .. _disabling kext signing: http://farazmemon.com/2016/02/07/flashing-latest-firmware-on-nodemcu-devkit-v0-9-osx-el-capitan/ | 17 .. _disabling kext signing: http://farazmemon.com/2016/02/07/flashing-latest-firmware-on-nodemcu-devkit-v0-9-osx-el-capitan/ |
| 18 .. _PuTTy: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html | 18 .. _PuTTy: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html |
| 19 .. _CoolTerm: http://freeware.the-meiers.org/ | |
| 19 | 20 |
| 20 In addition, at the workshop, you will receive: | 21 In addition, at the workshop, you will receive: |
| 21 * "NodeMCU AMICA" development board with ESP8266 on it, | 22 * "NodeMCU AMICA" development board with ESP8266 on it, |
| 22 * Red LED, | 23 * Red LED, |
| 23 * 100Ω resistor, | 24 * 100Ω resistor, |
| 24 * SG90 microservo, | 25 * SG90 microservo, |
| 25 * Female-female and Male-female dupont cables, | 26 * Female-female and Male-female dupont cables, |
| 26 * Piezoelectric speaker. | 27 * Piezoelectric speaker. |
| 27 | 28 |
| 28 You will take all that home with you. | 29 You will take all that home with you. |
| 30 | |
| 31 The firmware that is flashed on the boards is also available at https://bitbucket.org/thesheep/espworkshop/downloads/firmware-combined.bin | |
| 29 | 32 |
| 30 There will be also some additional hardware available for experimenting, | 33 There will be also some additional hardware available for experimenting, |
| 31 which you won't take home. | 34 which you won't take home. |
| 32 | 35 |
| 33 | 36 |
| 92 | 95 |
| 93 | 96 |
| 94 Linux and MacOS | 97 Linux and MacOS |
| 95 --------------- | 98 --------------- |
| 96 | 99 |
| 97 Simply open a terminal and run the following command:: | 100 Simply open a terminal and run the following commands. On Linux:: |
| 98 | 101 |
| 99 screen /dev/ttyUSB0 115200 | 102 screen /dev/ttyUSB0 115200 |
| 103 | |
| 104 On MacOS:: | |
| 105 | |
| 106 screen /dev/tty.SLAB_USBtoUART 115200 | |
| 100 | 107 |
| 101 To exit screen, press ctrl+A and then capital K. | 108 To exit screen, press ctrl+A and then capital K. |
| 102 | 109 |
| 103 | 110 |
| 104 Windows | 111 Windows |
| 105 ------- | 112 ------- |
| 106 | 113 |
| 107 For the serial interface to appear in your system, you will need to install the drivers_ for CP2102. Once you have that, you can use either Hyper Terminal or PuTTy to connect to it, following this guide_. | 114 For the serial interface to appear in your system, you will need to install the drivers_ for CP2102. Once you have that, you can use either Hyper Terminal, PuTTy or CoolTerm to connect to it, following this guide_. |
| 108 | 115 |
| 109 The parameters for the connection are: 115200 baud rate, 8 data bits, no parity, 1 stop bit, no flow control. | 116 The parameters for the connection are: 115200 baud rate, 8 data bits, no parity, 1 stop bit, no flow control. |
| 110 | 117 |
| 111 | 118 |
| 112 Hello world! | 119 Hello world! |
