Monday, October 10, 2016

ESP32 develop with Arduino IDE



ESP32 Develop with Arduino IDE
I've just ESP32 Development Board call Nano32 from Gravitech / MakerAsia.
The new ESP32 WiFi chip from ESPressis System improve over ESP8266 WiFi Module.
see the spec.
http://microcontrollerkits.blogspot.com/2016/10/esp32-development-board-form-gavitech.html

Now ( Oct10 ,2016 ) announced Arduino Core for ESP32 WiFi Chip

https://github.com/espressif/arduino-esp32

The following was the setup environment for ESP32 with Arduino IDE



STEP 1  
Download Arduino core for ESP32.



Then Unzip and we will copy all this file to Arduino IDE directory or path later.



STEP 2
If Install Arduino IDE already. Find the path of Arduino IDE Installation directory.

Example
My Computer in C:/Program Files (x86)/Arduino


Make New folder name espressif in the hardware directory


and make subfolder in espressif  folder name esp32



Then copy all files from download into this directory. ( esp32 )



or Use Command Line 
cd hardware
mkdir espressif
cd espressif
git clone https://github.com/espressif/arduino-esp32.git esp32


STEP 3
Use Python 2.7 Command 
if you don't have it. download Python 2.7 https://www.python.org/downloads/



Then Use Command Line
cd esp32/tools
python get.py

My Example




STEP 4 Open Arduino IDE
Now, You will have Board ESP32 Dev Module and Select port





STEP 5 Test Compile and Upload Example Code

Test Blink in Example Code



Done Uploading.
Upload code faster than ESP8266 very much.

Reference ( Fixed some bugs ) Thank you for that.
http://www.ayarafun.com/2016/10/arduino-esp32-first-touch/

Nano32 Board
https://www.gravitechthai.com/product_detail.php?d=1470


My Website
email : info@softpowergroup.net   Tel .081-6452400 ( Thailand )



Sunday, October 9, 2016

ESP32 Development Board form Gravitech and MakerAsia



ESP32 Development Board ( Nano32 )

Nano32 is new ESP32 development board. It’s made by South East Asia based Gravitech, and combines ESP32 with an FTDI chip for USB to serial programming through the micro USB port. It also includes two buttons, and breadboard-friendly headers.


NANO32 Features

  • 40MHz Crystal for CPU, 32.768KHz Crystal for RTC and low power operation
  • 4MB Flash (32Mbit)
  • FTDI231 for USB to Serial
  • Auto-Reset for automatic flash
  • 3.3V 0.5A Regulator (tested for working up to 1A)
  • 2.5dBi Peak Gain, 0.5dBi Average Gain Chip Antenna
  • High quality PCB: design and manufacture in Thailand

Key Features    
  • Xtensa® Dual-Core 32-bit LX6 microprocessors, up to 600 DMIPS
  • Integrated 520 KB SRAM
  • Integrated 802.11BGN HT40 Wi-Fi transceiver, baseband, stack and LWIP
  • Integrated dual mode Bluetooth (classic and BLE)
  • 4 MByte flash (32Mbit)
  • 2.2V to 3.6V operating voltage
  • -40°C to +125°C operating temperature

Wi-Fi   
  • 802.11 b/g/n/e/i
  • 802.11 n (2.4 GHz), up to 150 Mbps
  • 802.11 e: QoS for wireless multimedia technology
  • WMM-PS, UAPSD
  • A-MPDU and A-MSDU aggregation
    Block ACK
  • Fragmentation and defragmentation
  • Automatic Beacon monitoring/scanning
  • 802.11 i security features: pre-authentication and TSN
  • Wi-Fi Protected Access (WPA)/WPA2/WPA2-Enterprise/Wi-Fi Protected Setup (WPS)
  • Infrastructure BSS Station mode/SoftAP mode
  • Wi-Fi Direct (P2P), P2P Discovery, P2P Group Owner mode and P2P
  • Power Management
  • UMA compliant and certified
  • Antenna diversity and selection

Bluetooth 
  • Compliant with Bluetooth v4.2 BR/EDR and BLE specification
  • Class-1, class-2 and class-3 transmitter without external power amplifier
  • Enhanced power control
  • +10 dBm transmitting power
  • NZIF receiver with -98 dBm sensitivity
  • Adaptive Frequency Hopping (AFH)
  • Standard HCI based on SDIO/SPI/UART
  • High speed UART HCI, up to 4 Mbps
  • BT 4.2 controller and host stack
  • Service Discover Protocol (SDP)
  • General Access Profile (GAP)
  • Security Manage Protocol (SMP)
  • Bluetooth Low Energy (BLE)
  • ATT/GATT
  • HID
  • All GATT-based profile supported
  • SPP-Like GATT-based profile
  • BLE Beacon
  • A2DP/AVRCP/SPP, HSP/HFP, RFCOMM
  • CVSD and SBC for audio codec
  • Bluetooth Piconet and Scatter-net

Sensors    
  • Ultra low noise analog amplifier
  • Hall sensor
  • 10x capacitive touch interface
  • 32 kHz crystal oscillator

32x GPIO    
  • 3 x UARTs, including hardware flow control
  • 3 x SPI
  • 2 x I2S
  • 12 x ADC input channels
  • 2 x DAC
  • 2 x I2C
  • PWM/timer input/output avalible on every GPIO pin
  • OpenOCD debug interface with 32 kB TRAX buffer
  • SDIO master/slave 50 MHz
  • Supports external SPI flash up to 16 MB
  • SD-card interface support

Security Related
  • IEEE 802.11 standard security features all supported, including WFA, WPA/WPA2 and WAPI
  • Secure boot
  • Flash encryption
  • 1024-bit OTP, up to 768-bit for customers
  • Cryptographic hardware acceleration:
    – AES
    – HASH (SHA-2) library
    – RSA
    – ECC
    – Random Number Generator (RNG)


Development Support



My Website
email : info@softpowergroup.net   Tel .081-6452400