1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
* EPS-WROOM-02 [#p56d95a8]
** Arduino UNO ¤ò¥¢¥À¥×¥¿¤Ë¡¢¥·¥ê¥¢¥ë¥¢¥¯¥»¥¹ [#k40d26a4]
- http://mechanic.pilotz.jp/2016/02/writing-to-esp-wroom-02-using-arduino-as-ftdi/
-- Uno¤ÎATmega328p¥Á¥Ã¥×¤Ï³°¤»¤Ð¡¢ATMEGA16-U2-MU¤¬¥·¥ê¥¢¥ëÊÑ´¹¤ò¤ä¤Ã¤Æ¤¯¤ì¤ë
 
- http://www.mkbtm.jp/?p=640
-- instraction sheet: http://www.esp8266.com/wiki/doku.php?id=at_commands
 
###
AT+RST
 
 
OK
 
 ets Jan  8 2013,rst cause:1, boot mode:(3,0)
 
load 0x40100000, len 1456, room 16 
tail 0
chksum 0xa2
load 0x3ffe8000, len 776, room 8 
tail 0
chksum 0xc3
load 0x3ffe8310, len 552, room 8 
tail 0
chksum 0xb8
csum 0xb8
 
2nd boot version : 1.5
  SPI Speed      : 40MHz
  SPI Mode       : QIO
  SPI Flash Size & Map: 16Mbit(512KB+512KB)
jump to run user1 @ 1000
 
rl½âsl¸¡ã쎢�
ready
###
 
###
AT+UART_DEF=9600,8,1,0,0
 
 
OK
###
 
9600Hz
###
AT+RST
 
 
OK
X:cs&#65533;N4FŽÎ<&#65533;VŽ¸Ž½v­¯k
###
 
###
AT+GMR
 
AT version:0.52.0.0(Jan  7 2016 18:44:24)
SDK version:1.5.1(e67da894)
compile time:Jan  7 2016 19:03:11
OK
###
 
- http://tom2rd.sakura.ne.jp/wp/2016/06/19/post-1284/
- http://nonnoise.github.io/ESP-WROOM-02/ATcommand.html
-- AT command ¤Ç wifi Àܳ
--
 
 
###
#include <SoftwareSerial.h>
 
#define SRX 10
#define STX 11
SoftwareSerial Serial5(SRX, STX);
 
//#define SerialS Seria2
#define SerialS Serial5
 
void setup()
{
  // Open serial communications and wait for port to open:
  Serial.begin(9600);
  while (!Serial)     {;}
 
  pinMode(SRX,  INPUT);
  pinMode(STX, OUTPUT);
 
  Serial.println("Goodnight moon!");
 
  // set the data rate for the SoftwareSerial port
  SerialS.begin(9600);
  SerialS.println("AT");
}
 
void loop() // run over and over
{
  if (SerialS.available()) Serial .write(SerialS.read());
  if (Serial .available()) SerialS.write(Serial .read());
}
###
    µ»½Ñ °ìÍ÷ ¸¡º÷ ºÇ¿· ¥Ð¥Ã¥¯¥¢¥Ã¥× ¥ê¥ó¥¯¸µ   ¥Ø¥ë¥×   ºÇ½ª¹¹¿·¤ÎRSS