Arduino ESP32 support on Windows and Ubuntu
This article based on Arduino source codes and toolchain for WiFi_Kit_series made by HelTecAutomation. Visit this github link https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series.
Tested on 32 and 64 bit Windows 10 machines
- Download and install the latest Arduino IDE
Windows Installer
from arduino.cc - Download and install Git from git-scm.com
- If you don’t install Git,you choose
dowload zip
from the home page and Unzip the file to/Documents/Arduino/hardware/heltec
,Skip steps three to step four
- Execute the command under the \Documents\Arduino\hardware path Start
Git Bash
and run through the following steps:- Input
git clone https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series.git heltec
- Input
- Open
/Documents/Arduino/hardware/heltec/esp32/tools
and double-clickget.exe
- When
get.exe
finishes, you should see the following files in the directory - Plug your ESP32 board and wait for the drivers to install (or install manually any that might be required)
- Start Arduino IDE
- Select your board in
Tools > Board
menuWiFi_Kit_32
orWiFi_LoRa_32
- Select the COM port that the board is attached to
- Compile and upload (You might need to hold the
PRG
button while uploading)
How to update to the latest code
- Open
/Documents/Arduino/hardware/heltec
created startGit Bash
and inputgit pull
! - Wait for git to pull any changes and close
Git Bash
- Open
/Documents/Arduino/hardware/heltec/esp32/tools
and double-clickget.exe
Installation instructions for Debian / Ubuntu OS
- Install latest Arduino IDE from arduino.cc
- Open Terminal and execute the following command (copy->paste and hit enter):
sudo usermod -a -G dialout $USER && \ sudo apt-get install git && \ wget https://bootstrap.pypa.io/get-pip.py && \ sudo python get-pip.py && \ sudo pip install pyserial && \ mkdir -p ~/Arduino/hardware && \ cd ~/Arduino/hardware && \ git clone https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series.git heltec && \ cd heltec/esp32 && \ git submodule update --init --recursive && \ cd tools && \ python get.py && \ cd ~/Arduino/hardware/heltec/esp8266 && \ git submodule update --init --recursive && \ cd tools && \ python get.py
- Restart Arduino IDE
- If you have Arduino.app installed to /Applications/, modify the installation as follows, beginning at
mkdir -p ~/Arduino...
:
cd /Applications/Arduino_*/Contents/java/
mkdir -p hardware && \
cd hardware && \
git clone https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series.git heltec && \
cd heltec/esp32 && \
git submodule update --init --recursive && \
cd tools && \
python get.py && \
cd /Applications/Arduino_*/Contents/java/hardware/heltec/esp8266 && \
git submodule update --init --recursive && \
cd tools && \
python get.py
Pingback: ArduinoOTA ESP32: Wi-Fi (OTA) Wireless Update from the Arduino IDE - IoTbyHVM
Pingback: PlatformIO - open source ecosystem for IoT development - IoTbyHVM
Pingback: LiteOS - an IoT operating system and middleware - IoTbyHVM
Pingback: Zerynth : Middleware for IoT - IoTbyHVM - Explore tech bytes
Pingback: Arduino IDE | Arduino | Open Source Hardware/Softawre | Arduino Vs RPi
Pingback: IoT OS and RTOS for Internet of Things devices - IoTbyHVM
Pingback: ESP32 BLE Tutorials | How to use ESP32 with BLE
Pingback: ESP8266 PWM Example - IoTbyHVM - Explore TechBytes
Pingback: ESP32 with LoRa using Arduino IDE - IoTbyHVM - Explore TechBytes
Pingback: Heroku | How To use | Getting started with Heroku ...
Pingback: Install Ubuntu Core on Raspberry Pi 2 or 3 - IoTbyHVM
Pingback: IoT OS and RTOS for Internet of Things Devices – CompileIoT