Sie sind auf Seite 1von 28

Things Programming

Prerequisites
General Requiremens

•Your own laptop / macbook


•Micro USB to USB type-A cable
• Simply put, your regular smartphone charger cable

•Your own internet connection for backup


Technical Requirements

•CP210x USB to UART Driver


• http://bit.ly/cp210xdrv

•This driver is required for communicating with


ESPectro32 device which uses CP210x USB to UART
bridge
Technical Requirements

•Arduino IDE
•ESP32 Arduino Core
Additional Technical Requirements

•Node.js
Installing CP210x Driver
•This step is required especially for Windows and some
macOS user.
•On most GNU/Linux distribution the driver is already
there, so you can skip this process and check the driver
on the next slides.
•Open http://bit.ly/cp210xdrv on your browser.
Installing CP210x Driver
Installing CP210x Driver
Check CP210x Installation - Windows
Open Windows, and search for
Device Manager.

Plug microUSB cable to


ESPectro32 and connect the
other end to your laptop. See
if there are any Ports which
follows COMx format where x
is a number.
Check CP210x Installation - Linux
Open terminal and plug microUSB cable to ESPectro32 and connect the other end to your laptop.
Run the lsusb command on your terminal and see its result. If yo usee CP210x UART Bridge
then it's ready to use.

Or you can run ls /dev/ttyUSB* and see if there's any device listed as /dev/ttyUSBx where x is
a number.
Installing Arduino IDE
Open arduino.cc/en/Main/Software on your browser, and
choose the correct installation for your Operating System.

For Windows users, see the next slides before


downloading the Arduino IDE.
Installing Arduino IDE
Installing Arduino IDE

Click “Just Download” button


Installing Arduino IDE - Windows
•For Windows, it is recommended to use the Windows
Installer, not the Windows App.
•Follow the installer instruction untill the installation is
finished.
Installing Arduino IDE - Linux
•Download and extract the Arduino IDE.
•Open the terminal and go to the extracted directory.
•Run install.sh on your terminal
Installing Arduino ESP32 Core
•Required for using Arduino Framework on ESP32- based
boards.
•On Arduino IDE, do:
• Open File then click Preferences
• Copy this link:
https://dl.espressif.com/dl/package_esp32_index.json
Installing Arduino ESP32 Core
Paste the link to the Additional
Boards Manager URLs form
field.

Then click OK
Installing Arduino ESP32 Core
•Open Tools menu, then click Board, then click Board
Manager on the top of the list.
•Search esp32 on the search bar of the board manager
dialog.
Installing Arduino ESP32 Core

Click install button


Verify Arduino ESP32 Core Installation

•Open Tool menu and then click Board


•Scroll down to search for ESPectro32 board.
•If the board is there, then congrats!
Installing Node.js
•Open nodejs.org/en on your browser.
•Choose to download the LTS version as it's more stable
than the Current and Nightly one.
Installing Node.js
Installing Node.js - Windows
•For windows user, just download the installer and install
it like any other software.
•Follow the steps until the process is finished.
Installing Node.js - GNU/Linux
•For GNU/Linux users, especially Debian-based OS like
Ubuntu choose the Other downloads link below the
green button.
Installing Node.js - GNU/Linux

Click Installing Node.js via package


manager
Installing Node.js - GNU/Linux
Choose the right one for
your OS and follow the
steps provided on the
web.
Verify Node.js Installation
•Open terminal or command prompt on your OS
•Run node -v and npm -v
•If both of the command above did not yield any error,
then the installation is complete.

Das könnte Ihnen auch gefallen