Noduino Quantum
目录 |
1 Overview
- CP2102 USB to UART Chip
- ESP32 Bluetooth and WiFi SoC
- 40MHz Crystal (±10ppm, ±10ppm)
- 16MB SPI Flash (25Q128xxx, QIO, 80MHz)
- 5V - 12V Power Supply
- UART Baud rate is 115200
2 Pin Map
We place the PIN map on the back of the board:
You guys can refer to this doc for more details: http://www.espressif.com/sites/default/files/documentation/esp32_chip_pin_list_en_0.pdf
3 Quick Start
3.1 USB2UART
Quantum use the CP2102 USB to UART chip, you need to install the driver firstly. Accessing following url to get your driver:
The default baud rate is 115200
3.2 Linux
Please refer to: https://github.com/icamgo/esp-idf/blob/master/docs/linux-setup.rst
3.3 MAC OS
Please refer to: https://github.com/icamgo/esp-idf/blob/master/docs/macos-setup.rst
3.4 Windows
Please refer to: https://github.com/icamgo/esp-idf/blob/master/docs/windows-setup.rst
You need to press the RST buttom after uploading the example into flash. If you guys do not like to do this please patch the /path/to/esp-idf/components/esptool_py/esptool/esptool.py :
diff --git a/esptool.py b/esptool.py index 755f4cb..ff92c91 100755 --- a/esptool.py +++ b/esptool.py @@ -197,6 +197,12 @@ class ESPLoader(object): + '\xc0' self._port.write(buf) + def reset_to_app(self): + self._port.setDTR(False) + self._port.setRTS(True) + time.sleep(0.05) + self._port.setRTS(True) + """ Calculate checksum of a blob, as it is defined by the ROM """ @staticmethod def checksum(data, state=ESP_CHECKSUM_MAGIC): @@ -1421,7 +1427,6 @@ def dump_mem(esp, args): sys.stdout.flush() print 'Done!' - def write_flash(esp, args): """Write data to flash """ @@ -1503,6 +1508,7 @@ def write_flash(esp, args): if args.verify: print 'Verifying just-written flash...' verify_flash(esp, args, header_block) + esp.reset_to_app() def image_info(args):
4 Turtorial
- ESP32 Smartconfig Support WeChat Airkiss by default
- ESP32 JTAG Using a FT2232H breakout board to debug the kernel/core through JTAG/OpenOCD/GDB
5 Peripherals
- ESP32 TSL2561 TSL2561 Digital Luminosity/Lux/Light Sensor
- ESP32 BH1750 BH1750 Digital Light Sensor
- ESP32 BMP180
- ESP32 BMP085 BMP085 Barometric Pressure/Temperature/Altitude Sensor
- ESP32 SHT2x SHT2X Digital Humidity & Temperature Sensor
- ESP32 DHT21 DHT21(AM2301) Digital Temperature & Humidity Sensor
- ESP32 DHT11 DHT11 Digital Humidity & Temperature Sensor
- ESP32 PT1000 Using a 18-bit ADC MCP3421
- ESP32 Partical Sharp GP2Y1010AU0F Particle Sensor support
- ESP32 PCF8563 PCF8563 I2C RTC Chip
- ESP32 SSD1306 OLED Screen
- ESP32 RFID
6 ESP32 Arch
ESP32 block diagram:
ESP32 use two LX6 core which ISA is xtensa.
- Xtensa LX6 Core: http://ip.cadence.com/uploads/533/Cadence_Tensillica_Xtensa_LX6_ds-pdf
- Xtensa Instruction Set Architecture: http://0x04.net/~mwk/doc/xtensa.pdf
We plan to write the document of the xtensa architecture like the MIPS or SPARC
The Xtensa instruction set is designed to meet the diverse requirements of dataplane processing.
This 32-bit architecture features a compact 16- and 24-bit instruction set with modeless switching for maximum power efficiency and performance.
The base instruction set has 80 RISC instructions and includes a 32-bit ALU, up to 64 general-purpose 32-bit registers, and six special-purpose registers.
Using this instruction set, you can expect significant code size reductions that result in higher code density and better power dissipation.
7 Hardware
8 Reference
- For more information please refer to