A few weeks back I was introduced to ESP32's and Moongoose.

 

The guy running the presentation had been using ESP8266's and some custom code, but had been following Moongoose and its progress.

He felt it had matured and with the ESP32 device support it was time to venture in.

 

ESP32

It seems there are a huge variety of boards out there, but you do need to be sure it includes the ESP32 rather than the smaller ESP8266.

 

I purchased two different types

LOLIN32 Lite USD$4.90  https://www.aliexpress.com/item/WEMOS-LOLIN32-Lite-V1-0-0-wifi-bluetooth-board-based-ESP-32-esp32-Rev1-MicroPython-4MB/3…

 

LOLIN32 Pro USD$8.80 https://www.aliexpress.com/item/LOLIN32-Pro-V1-0-0-wifi-bluetooth-board-based-ESP-32-esp32-Rev1-ESP32-WROVER-MicroPython…

 

 

 

It seems that I forgot that I ordered them and I'm waiting on 4 of these to arrive.

ESP32 Development Dual-Mode USD$5.77 (plus shipping) https://www.ebay.com/itm/332362698929

 

 

The next thing to do is solder on the headers that came with the LOLIN32 Pro and then plug it into a breadboard, so I can try it.

 

 

Moongoose OS

You can download the OS from here https://mongoose-os.com/software.html

It comes in a variety of flavours, so there should be something to suit everyone.

 

It opens as a small command window, and apparently you can use it in commandline mode.

The GUI window opens and gives a fairly user friendly interface.

From what I read it pays to download the driver for the WEMOS which use the SiLabs CH210 on the Pro https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers or the CH340 on the Lite https://wiki.wemos.cc/_media/file:ch341ser_win.zip

You can check which Comm Port it has used by looking at device manager in Windows.

In this case it is Port 104.

 

Hit the drop-down on Mongoose and select COM104 (in my case)

Then click the link or chain box marked Select.

 

Mongoose will then ask you to choose the device ... in this case an ESP32, but you can see it does the older ESP8266 in various flash sizes.

 

The App is either demo-js or demo-c, and since I have very little experience with Javascript, I chose demo-c.

The Flash button is then pressed and hopefully the log at the bottom shows success (for some reason my Lite didn't flash correctly when I tried it ... it could be the correct driver wasn't loaded.)

About now the device is flashed but the WiFi is not enabled.

Enter your SSID and password (I have a special WiFi network configured for these devices, which has no security)

 

Once it connects you'll see the Device Status changes to online and green.

 

Clicking on the IP address on the top line opens another tab, and in this case presents you with.

While the demo-js flash gives you

 

Each time you flash it, the IP address is reset to the default, and you need to click on the set button to pickup the DHCP address your network assigns.

OR you can set the IP address manually.

 

Next Blog, I'll load something proper.

 

Mark

 

next Blog ESP32 and Mongoose OS - First Application