Chat freely about anything...

User avatar
By Jan Marius Evang
#10912 I found it!

http://www.extragsm.com/blog/2014/12/03 ... pberry-pi/

Summary:
1) Connect raspberry to use the esp as a "modem".
esp: Raspberry pi:
vcc and CH_PD -> Pin1 (3.3v)
GND -> Pin9 (GND)
TX -> Pin10 (GPIO 15)
RX -> Pin8 (GPIO14)

Disable serial port login (remove from /etc/inittab the line with ttyAMA0

Disable serial port bootup messages (remove from /boot/cmdline.txt all parameters with ttyAMA0

Reboot.

Connect with minicom -b 115200 -o -D /dev/ttyAMA0

2) Upload new firmware:

Get http://www.extragsm.com/blog/wp-content ... server.zip

Connect GPIO00 to GND. (!!!)

python esptool.py --port AMA0 write_flash 0x00000 firmware/0x00000.bin 0x40000 firmware/0x40000.bin 0x12000 webpages.espfs

Git Repository: https://github.com/dubaurazvan/esp8266- ... s-switcher

I'll try this when all the stuff I need arrives.

Marius
User avatar
By ciakapaka1
#56033 Hi Jan,

Sorry for off-top, but I was wonder if you manage to program your esp8266 via rpi.
Thank you in advance for your response.

Kind regards,
Marcin

Jan Marius Evang wrote:I found it!

http://www.extragsm.com/blog/2014/12/03 ... pberry-pi/

Summary:
1) Connect raspberry to use the esp as a "modem".
esp: Raspberry pi:
vcc and CH_PD -> Pin1 (3.3v)
GND -> Pin9 (GND)
TX -> Pin10 (GPIO 15)
RX -> Pin8 (GPIO14)

Disable serial port login (remove from /etc/inittab the line with ttyAMA0

Disable serial port bootup messages (remove from /boot/cmdline.txt all parameters with ttyAMA0

Reboot.

Connect with minicom -b 115200 -o -D /dev/ttyAMA0

2) Upload new firmware:

Get http://www.extragsm.com/blog/wp-content ... server.zip

Connect GPIO00 to GND. (!!!)

python esptool.py --port AMA0 write_flash 0x00000 firmware/0x00000.bin 0x40000 firmware/0x40000.bin 0x12000 webpages.espfs

Git Repository: https://github.com/dubaurazvan/esp8266- ... s-switcher

I'll try this when all the stuff I need arrives.

Marius
User avatar
By Carlini
#56194 Hi Marius

Can you help me ?

I installed the webserver

Now, I am trying to acess the GPIO02 directly of link using the comand below, but no sucess. Is it possible or i am comiting an error ?



http://192.168.1.4/gpio02.cgi value=1

Thanks

Carlini



Jan Marius Evang wrote:I found it!

http://www.extragsm.com/blog/2014/12/03 ... pberry-pi/

Summary:
1) Connect raspberry to use the esp as a "modem".
esp: Raspberry pi:
vcc and CH_PD -> Pin1 (3.3v)
GND -> Pin9 (GND)
TX -> Pin10 (GPIO 15)
RX -> Pin8 (GPIO14)

Disable serial port login (remove from /etc/inittab the line with ttyAMA0

Disable serial port bootup messages (remove from /boot/cmdline.txt all parameters with ttyAMA0

Reboot.

Connect with minicom -b 115200 -o -D /dev/ttyAMA0

2) Upload new firmware:

Get http://www.extragsm.com/blog/wp-content ... server.zip

Connect GPIO00 to GND. (!!!)

python esptool.py --port AMA0 write_flash 0x00000 firmware/0x00000.bin 0x40000 firmware/0x40000.bin 0x12000 webpages.espfs

Git Repository: https://github.com/dubaurazvan/esp8266- ... s-switcher

I'll try this when all the stuff I need arrives.

Marius