Download Firmware

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Foggy
Normal user
Posts: 8
Joined: 30 Aug 2015, 00:09

Download Firmware

#1 Post by Foggy » 30 Aug 2015, 13:09

Hi All,

Than you for the Domoticz Switch Tutorial.
However I am a bit confused how I download the firmware.
I have purchased a module similar to this.
http://www.ebay.co.uk/itm/LUA-ESP8266-N ... 3641.l6368

I assume that all I have to do is to attach this to my laptop USB port for power?

What software do you recommend for down loading your ESP Easy firmware?
Can you recommend any video or how-to's?
I have tried googling but I think I am getting confused between Firmware (Bin files) and Sketches (INO files).

Any assistance would be appreciated.

Best wishes.


James.

Martinus

Re: Download Firmware

#2 Post by Martinus » 30 Aug 2015, 13:45

Hello James,

We haven't got to the basic tutorials yet to get the firmware into your ESP.

(We also plan to have our own 'bin' loader for those that don't want to play around with Arduino)

But for now, follow instructions from https://github.com/esp8266/Arduino , more specifically the "Installing with Boards Manager" part.

Once you have Arduino running with the ESP board addon, follow this:

* Download ESP Easy firmware from sourceforge and unpack the zipfile
* Move the libraries into the Arduino libraries folder
* Copy the ESPEasy folder to some place of your own choice.
* Launch Arduino and open ESPEasy.ino sketch
* Select your board (NodeMCU 0.9 in your case) and the right comport
* Upload the sketch

Foggy
Normal user
Posts: 8
Joined: 30 Aug 2015, 00:09

Re: Download Firmware

#3 Post by Foggy » 30 Aug 2015, 21:32

Thank you for your clear instructions. However I am still having a problem in that I can't see the AP ESP_0 in my WiFi list to connect to.

I have downloaded the ESP Easy firmware. I am pretty sure that it has been downloaded correctly.
ESP easy upload.PNG
ESP easy upload.PNG (14.02 KiB) Viewed 7994 times
Also if i open up the Serial monitor I can see:
ESP easy Serial.PNG
ESP easy Serial.PNG (50.26 KiB) Viewed 7994 times
I fully expect this to be a user(me) problem, but would appreciate any comments.

Just for info The blue light flashes (by the Ant) whilst I am uploading the firmware. Once completed it goes off and no other lights come on.

Just in case it makes a difference the actual website I bought my device is
http://www.ebay.co.uk/itm/261992949508? ... b0988&cp=1


Best wishes

James

rtenklooster
Normal user
Posts: 320
Joined: 15 Apr 2015, 14:17

Re: Download Firmware

#4 Post by rtenklooster » 30 Aug 2015, 21:56

James,
Its true you should see a new wifi device starting with esp
If that's not the case try to fill in your wireless settings in the sketch, and if so - double check by using the serial command "settings"
You should be able to see the ssid and wpa key the esp module should connect to e.g. your home wifi settings.

Of course you can use the command "wifissid yourssid" and "wifikey your key" in the terminal to edit / load the wifi settings. If your device is not shown in your wifi networks, and it is not able to connect to your wifi homenetwork you can use the command "wifiscan".
That should show some networks, witch confirms your esp module is working properly, at least it's receiving. If that command returns nothing, you should check your antenna / power supply. I know some esp modules have mis places external antenna connectors, causing no signal.
Richard - Groningen (NL) - Image

Foggy
Normal user
Posts: 8
Joined: 30 Aug 2015, 00:09

Re: Download Firmware

#5 Post by Foggy » 31 Aug 2015, 02:23

Thank you.

Tried wifiscan in the terminal and can see my home network.
However tried wifissid abcde & wifikey 12345 and then settings. I see the correct settings in the returned details but the ip is all zero's

Not sure what to do now.

Best wishes.

James.

rtenklooster
Normal user
Posts: 320
Joined: 15 Apr 2015, 14:17

Re: Download Firmware

#6 Post by rtenklooster » 31 Aug 2015, 08:58

Ok, so what you should do, is fill in the ssid and key, then execute the command "wificonnect".

Can you show me the output of that command?
Richard - Groningen (NL) - Image

Foggy
Normal user
Posts: 8
Joined: 30 Aug 2015, 00:09

Re: Download Firmware

#7 Post by Foggy » 31 Aug 2015, 10:13

Oh Yes. That did it. Now connected and got an IP address.
Now I can start playing. :D Thank you for your help.
It would be good when you guys have time to have an area where these commands could be located.

Best wishes.

James.

rtenklooster
Normal user
Posts: 320
Joined: 15 Apr 2015, 14:17

Re: Download Firmware

#8 Post by rtenklooster » 31 Aug 2015, 10:24

Foggy wrote:Oh Yes. That did it. Now connected and got an IP address.
Now I can start playing. :D Thank you for your help.
It would be good when you guys have time to have an area where these commands could be located.

Best wishes.

James.
That's true. Will look into that asap. Good to hear it's working now :)
Richard - Groningen (NL) - Image

jimbob321
Normal user
Posts: 3
Joined: 28 Aug 2015, 23:13

Re: Download Firmware

#9 Post by jimbob321 » 31 Aug 2015, 12:59

Foggy wrote: It would be good when you guys have time to have an area where these commands could be located.
wow that was fast
good work
http://www.esp8266.nu/index.php/ESPEasy
Serial Commands

Unit Set the unit number. Unit 10 will set the unit number to 10.

Delay Set the update interval of your attached devices. "Delay 10" means new values are being sent to your controller every 10 seconds.

Debug Set the debug level. 1: Error 2: Info 3: Debug 4: Debug more. "Debug 4" sets the debug level to debug_more.

ControllerIp

ControllerPort

IP

IPocted

WifiSSID

WifiKey

WifiAPKey

WifiScan

WifiConnect

WifiDisConnect

Reboot

Reset

Save

Settings

Freemem

rtenklooster
Normal user
Posts: 320
Joined: 15 Apr 2015, 14:17

Re: Download Firmware

#10 Post by rtenklooster » 31 Aug 2015, 14:34

Yes, started but my baby woke up.
Will finish it later today.
Richard - Groningen (NL) - Image

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests