ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By WhiteHare
#32247 More good news. :D I was able to install esp-link Release 2 RC1 on an ESP-13. Furthermore, when connected to an Arduino 3.3v 8mhz Pro Mini while in "esp-bridge" Wi-Fi mode, I'm able to transmit, receive, and reboot the Pro Mini. I did end up installing a pull-up resistor on the Rx pin of the ESP-13. Thanks for the tip!

Hopefully the next step will be to use the ESP-13 to do wireless OTA uploading of sketches to the Arduino. I'm really looking forward to when that goes operational. Anyone else here already doing it?
User avatar
By tve
#33679 I am starting to work on v2.1, currently I have v2.1.beta2 up at https://github.com/jeelabs/esp-link/rel ... v2.1.beta2

The main addition is the inclusion of the AVR/optiboot/stk500v1 programming protocol within esp-link so one can now HTTP POST the hex file of a sketch to esp-link and it will do the programming. This allows me to provide better error diagnostics than avrdude does and, more importantly, eliminate protocol issues caused by long latencies. The README has a section on the programming options near the end: https://github.com/jeelabs/esp-link#fla ... avrarduino

I expect to continue with more beta releases over the coming days and hopefully a release candidate in the not too distant future. If you have feedback or questions the best place is the gitter chat (see link at the top of the README). I'll update this thread when the first RC is cut.
User avatar
By Stoney
#35572 Small issue :)
I just installed the v2.1 beta5 binaries on an ESP01 and I get no access point either, it says it is opening one but my iPad cannot find anything but my usual router.
Thought maybe was a it was a dodgy ESP so tried a second one with the same result.
The first one was running on a breadboard off 3.3v, which works fine nearly all the time, the second one was using an onboard 3.3v reg and has never had a problem.
I cant find any info on what to do if no access point ..


87> ** esp-link v2.1.beta5 - 2015-11-16 00:02:10 - 4e100b0
87> Flash config restore *FAILED*
88> CONN led=0
90> Wifi init, mode=AP+STA
93> Wifi uses DHCP, hostname=esp-link
96> "ip": "0.0.0.0"
99> "netmask": "0.0.0.0"
101> "gateway": "0.0.0.0"
104> "hostname": "esp-link"
107> sleep enable,type: 2
109> Httpd init, conn=0x3fff295c
113> Serbridge pins: reset=12 isp=13 swap=0
125> Reset cause: 0=normal
125> exccause=0 epc1=0x0 epc2=0x0 epc3=0x0 excvaddr=0x0 depc=0x0
126> Flash map 512KB:256/256, manuf 0xC8 chip 0x4013
130> ** esp-link ready
133> MQTT_Init
134> mode : sta(18:fe:34:a4:c6:47) + softAP(1a:fe:34:a4:c6:47)
140> add if0
142> add if1
143> dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
151> bcn 100
11452> chg_A3:-180
15109> Wifi check: mode=AP+STA status=0
15109> Enabling/continuing uart log
21752> chg_A3:0
30110> Wifi check: mode=AP+STA status=0
30110> Enabling/continuing uart log
32052> chg_A3:-180
42352> chg_A3:0
45110> Wifi check: mode=AP+STA status=0
45110> Enabling/continuing uart log
52652> chg_A3:-180
60110> Wifi check: mode=AP+STA status=0
60110> Enabling/continuing uart log
62952> chg_A3:0
73252> chg_A3:-180
75111> Wifi check: mode=AP+STA status=0
75111> Enabling/continuing uart log
83552> chg_A3:0
90111> Wifi check: mode=AP+STA status=0
90111> Enabling/continuing uart log
93852> chg_A3:-180
104152> chg_A3:0
105111> Wifi check: mode=AP+STA status=0
105111> Enabling/continuing uart log

Ok, googling the chg_A3:0 it appears the SDK for this version is busted ?

http://bbs.espressif.com/viewtopic.php?t=1310

Reflashed with an older copy of esp-link 0.10.3 and that is working, AP straight away, though dropping a lot of characters off the serial with a quick test.. will do some more reading, I just have a micro in the shed I want to debug..

edit: nothing to do with esp-link, that worked great and i love it and will use it a lot !
It worked just fine .. telnetted to the shed and dumped about 20 minutes of data before the power supply in the prototype blew up :) client has fitted a 12-0-12 when i specified a 9-0-9 so yeh .. transformer died when one of the filter caps blew out..
User avatar
By iluvatar2k15
#36294 Hi folks,

I would like to know if there are prebuilt binaries.
Or will i have to compile it myself. I searched but didn't found it.
If they exist, can you tell me where I can download it, this Firmware seems
to be the solution for my Project.

regards
ilu