beginner questions
Posted: Sun Oct 04, 2015 12:33 pm
I wanted for some time to be able to control the light switches in my house from a web interface and I discovered the wonderful esp8266 module. I recently bought 2 esp8266-01 from ebay and this is what I have been able to do so far:
I wired up the esp to a Raspberry Pi 2 following this excellent post:
http://www.extragsm.com/blog/2014/12/03 ... pberry-pi/
Then, using picocom I can talk to the esp module:
AT+GMR
AT version:0.25.0.0(Jun 5 2015 16:27:16)
SDK version:1.1.1
Ai-Thinker Technology Co. Ltd.
Jun 23 2015 23:23:50
OK
This version seems very recent and there is far less stuff on the web related to this particular firmware. Possibly more info about this chip:
AT+RST
OK
WIFI DISCONNECT
ets Jan 8 2013,rst cause:2, boot mode:(3,0)
load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0
2nd boot version : 1.4(b1)
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000
� �R��
i
�jj
�**�*))�H�ds�� �7�
Ai-Thinker Technology Co. Ltd.
ready
WIFI CONNECTED
WIFI GOT IP
My background is in math and computer science, no electrical engineering, so if someone could translate the important bits for me, I would appreciate it.
Next, using AT commands, I can connect the esp to my router and start the esp server. Also, from my pc I can connect to the esp AP (192.168.4.1) e.g. with telnet or a web browser and I can send data from the esp to my pc.
Now the questions.
First, the esp AP has no security by default. Can encryption be configured?
Second, is it possible to control the GPIO pins on the esp with the default firmware?
If I do have to flash the chip with custom firmware, how would I go about restoring the default 0.25.0.0, if need be?
Thanks!
I wired up the esp to a Raspberry Pi 2 following this excellent post:
http://www.extragsm.com/blog/2014/12/03 ... pberry-pi/
Then, using picocom I can talk to the esp module:
AT+GMR
AT version:0.25.0.0(Jun 5 2015 16:27:16)
SDK version:1.1.1
Ai-Thinker Technology Co. Ltd.
Jun 23 2015 23:23:50
OK
This version seems very recent and there is far less stuff on the web related to this particular firmware. Possibly more info about this chip:
AT+RST
OK
WIFI DISCONNECT
ets Jan 8 2013,rst cause:2, boot mode:(3,0)
load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0
2nd boot version : 1.4(b1)
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000
� �R��
i
�jj
�**�*))�H�ds�� �7�
Ai-Thinker Technology Co. Ltd.
ready
WIFI CONNECTED
WIFI GOT IP
My background is in math and computer science, no electrical engineering, so if someone could translate the important bits for me, I would appreciate it.
Next, using AT commands, I can connect the esp to my router and start the esp server. Also, from my pc I can connect to the esp AP (192.168.4.1) e.g. with telnet or a web browser and I can send data from the esp to my pc.
Now the questions.
First, the esp AP has no security by default. Can encryption be configured?
Second, is it possible to control the GPIO pins on the esp with the default firmware?
If I do have to flash the chip with custom firmware, how would I go about restoring the default 0.25.0.0, if need be?
Thanks!