Noduino OpenPlug
来自Jack's Lab
(版本间的差异)
(→Serial) |
(→Serial) |
||
第60行: | 第60行: | ||
− | * | + | * USB2UART_GND ------> SmartNode_GPIO0 |
− | * | + | * USB2UAR_GND -----> SmartNode_GND |
− | * | + | * USB2UAR_RXD -----> SmartNode_TX |
− | * | + | * USB2UAR_TXD -----> SmartNode_RX |
− | Connect | + | Connect USB2UAR_VCC3.3 -----> SmartNode_VCC at last |
ESP8285 will be enter upload mode, we can upload the compiled firmware through serial using following commands: | ESP8285 will be enter upload mode, we can upload the compiled firmware through serial using following commands: |
2016年10月25日 (二) 00:49的版本
目录 |
1 Overview
- AC 85V - 250V Smart Plug
- ESP8285 inside
- 250V 10A relay
- Shell size 53mm x 53mm x 27mm
2 Quick Start
3 Open API
4 Hacking
4.1 Prepare firmware
Get noduino-sdk:
$ git clone --recursive git://github.com/icamgo/noduino-sdk.git noduino-sdk
Generate toolchain (you need Python 2.7):
$ cd noduino-sdk/toolchain $ ./gen.py
Compile Open Plug firmware:
$ cd ../sketch/open-plug $ make
4.2 Upload
4.2.1 Serial
- USB2UART_GND ------> SmartNode_GPIO0
- USB2UAR_GND -----> SmartNode_GND
- USB2UAR_RXD -----> SmartNode_TX
- USB2UAR_TXD -----> SmartNode_RX
Connect USB2UAR_VCC3.3 -----> SmartNode_VCC at last
ESP8285 will be enter upload mode, we can upload the compiled firmware through serial using following commands:
$ cd /path/to/noduino-sdk/sketch/open-plug $ make produce ESPPORT=/dev/ttyUSB1
4.2.2 Online
5 Hardware