Loading Items

About This Project

This guide will help you get started with sparkfun's new IoT Thing! The esp32!
Request Access

Project Info

Skills

No skills have been added

Meet The Makers

Join Team
  • jamesshawver1
    • User:jamesshawver1
    • Rank:Journeyman
    • Projects:15
    • Joined:2016
    • From:US
    Interests: Enthusiastic Maker. Love everything open source.
  • mlarsen
    • User:mlarsen
    • Rank:Tinkerer
    • Projects:3
    • Joined:2016
    • From:US
  • cburnell
    • User:cburnell
    • Rank:Tinkerer
    • Projects:5
    • Joined:2016
  • eric.wilson
  • James
    • User:James
    • Rank:Master
    • Projects:30
    • Joined:2016
    • From:US
    Interests: Systems Architect. Love making robots and systems with moving parts.

No Comments yet. Why don't you add one?

Nothing in the wiki yet.

.Thank You Sparkfun!

This guide is based off of sparkfun's guide located here.

.Installing the Arduino Board Package

Below, you'll find how to get Arduino setup for each of the following operating systems.

.Ubuntu

Follow these steps in order to get the esp32 setup with Arduino for Ubuntu.

Installing Dependencies (Arduino and Git)

Do the following to install Arduino. Note: do NOT use sudo apt-get install arduino - use the most recent version
1. Download the Arduino IDE
Arduino IDE

Arduino IDE

Updated 11/30/2016 by jamesshawver1


2. Extract the IDE. I usually do this by right clicking on the download and then selecting "Extract Here" as the option.

3. Open a Terminal (CTRL+ALT+T) and cd to Downloads [assuming you downloaded and extracted the IDE here]
cd ~/Downloads


4. Move the extracted folder to somewhere permanent and then install
sudo mv arduino-*/ /opt/arduino
cd /opt/arduino sudo ./install.sh #installing arduino

Then install the dependencies for the esp32
sudo apt-get install -y git python-serial


Getting the Arduino Core

First, navigate to your Arduino sketchbook
cd ~/Arduino
Then run:
mkdir hardware
cd hardware
mkdir espressif
cd espressif
git clone https://github.com/espressif/arduino-esp32.git esp32
Next, navigate into the esp32 folder you just created and run the get.py script.

The “get.py” python script will download the Xtensa GNU tools and the ESP32 software development kit (SDK), and unzip them to the proper location. You should see a few new folders in the “tools” directory, including “sdk” and “xtensa-esp32-elf” once it’s done.

cd esp32/tools
python get.py

.Flashing your first Program

1. Open up Arduino.
2. Go to the tools menu, and setup your configuration as follows.


3. Select your port. We're assuming that you already know how to find out which one is connected to your esp32 (it should behave like an FTDI)
Example image:


4. Paste the following code in:
int ledPin = 5;

void setup()
{
    pinMode(ledPin, OUTPUT);
    Serial.begin(115200);
}

void loop()
{
    Serial.println("Hello, world!");
    digitalWrite(ledPin, HIGH);
    delay(500);
    digitalWrite(ledPin, LOW);
    delay(500);
}
5. Run the code :) Note: I had to hit the reset button after the IDE said "leaving..." in order to get the code to actually run.

.Part

Sparkfun esp32  Thing Item Number: esp32
Sparkfun esp32 Thing
Schematic

Schematic

Updated 11/15/2016 by jamesshawver1
Eagle Files

Eagle Files

Updated 11/30/2016 by jamesshawver1
Pinout

Pinout

Updated 11/15/2016 by jamesshawver1
  • Download Pinout
  • File Size:635.7kb
pinout image

pinout image

Updated 11/15/2016 by jamesshawver1
datasheet

datasheet

Updated 11/15/2016 by jamesshawver1
Espressif Getting Started Guide

Espressif Getting Started Guide

Updated 11/15/2016 by jamesshawver1
3D CAD (Sketchup)

3D CAD (Sketchup)

Updated 11/21/2016 by jamesshawver1
3D CAD (STL)

3D CAD (STL)

Updated 11/21/2016 by jamesshawver1
3D CAD (Blender)

3D CAD (Blender)

Updated 11/21/2016 by jamesshawver1
Technical Datasheet ( Register Descriptions )

Technical Datasheet ( Register Descriptions )

Updated 6/14/2017 by James

.Videos



.Links

Sparkfun Hookup Guide
Espressif Getting Started Guide
Instructables Guide
Hackaday Getting Started Guide

  Details Downloads Size Get it

Arduino IDE

Last updated on 11/30/2016

by jamesshawver1

323 -
Qty   Item Where to Find Est. Cost More Info
1 Sparkfun esp32  Thing Item Number: esp32

Sparkfun esp32 Thing

Item #: esp32

Dual-core Tensilica LX6 m

$20.00 10 files   5 links  
 
Schematic

Schematic

Updated 11/15/2016 by jamesshawver1
Eagle Files

Eagle Files

Updated 11/30/2016 by jamesshawver1
Pinout

Pinout

Updated 11/15/2016 by jamesshawver1
  • Download Pinout
  • File Size:635.7kb
pinout image

pinout image

Updated 11/15/2016 by jamesshawver1
datasheet

datasheet

Updated 11/15/2016 by jamesshawver1
Espressif Getting Started Guide

Espressif Getting Started Guide

Updated 11/15/2016 by jamesshawver1
3D CAD (Sketchup)

3D CAD (Sketchup)

Updated 11/21/2016 by jamesshawver1
3D CAD (STL)

3D CAD (STL)

Updated 11/21/2016 by jamesshawver1
3D CAD (Blender)

3D CAD (Blender)

Updated 11/21/2016 by jamesshawver1
Technical Datasheet ( Register Descriptions )

Technical Datasheet ( Register Descriptions )

Updated 6/14/2017 by James
1 Micro USB cable

Micro USB cable

$4.00
1 25C Lipo Battery 6oomAH Item Number: Upgraded Syma X5C X5 3.7V 600mAh 25C Lipo Battery

25C Lipo Battery 6oomAH

Item #: Upgraded Syma X5C X5 3.7V 600mAh 25C Lipo Battery

Specification: 3.7V 600mA

$6.65
1 Arduino Uno

Arduino Uno

$16.06 3 links  
1 12V 7.5A Power Supply with USB

12V 7.5A Power Supply with USB

$36